Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
d3a7e5fc
Commit
d3a7e5fc
authored
Dec 20, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
浏览加申请
parent
17dd8bcd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
index.js
src/util/index.js
+1
-1
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+10
-3
StartFlow.jsx
src/view/Manage/AssetManage/Component/StartFlow.jsx
+4
-4
No files found.
src/util/index.js
View file @
d3a7e5fc
...
@@ -13,7 +13,7 @@ import { DataModelerRoleAdmin, DataModelerRoleUser, DataModelerRoleReader } from
...
@@ -13,7 +13,7 @@ import { DataModelerRoleAdmin, DataModelerRoleUser, DataModelerRoleReader } from
//元曜公网环境 isSzseEnv false
//元曜公网环境 isSzseEnv false
export
const
isSzseEnv
=
false
;
export
const
isSzseEnv
=
false
;
export
const
inputWidth
=
isSzseEnv
?
180
:
24
0
;
export
const
inputWidth
=
18
0
;
export
const
ContextPath
=
'/data-govern'
;
export
const
ContextPath
=
'/data-govern'
;
...
...
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
d3a7e5fc
...
@@ -818,7 +818,7 @@ const AssetTable = (props) => {
...
@@ -818,7 +818,7 @@ const AssetTable = (props) => {
(
reference
===
AssetManageReference
)
&&
(
reference
===
AssetManageReference
)
&&
<
Menu
.
Item
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
<
Menu
.
Item
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
<
div
className=
'text-center'
onClick=
{
onStartFlowClick
}
>
<
div
className=
'text-center'
onClick=
{
onStartFlowClick
}
>
送审
申请
</
div
>
</
div
>
</
Menu
.
Item
>
</
Menu
.
Item
>
}
}
...
@@ -905,13 +905,20 @@ const AssetTable = (props) => {
...
@@ -905,13 +905,20 @@ const AssetTable = (props) => {
}
}
{
{
(
compact
&&
reference
===
AssetManageReference
)
?
<
Dropdown
overlay=
{
moreMenu
}
placement=
"bottomCenter"
>
(
reference
===
AssetBrowseReference
||
reference
===
ResourceBrowseReference
)
&&
<
Tooltip
title=
{
(
checkedKeys
||
[]).
length
===
0
?
'请先选择资产'
:
''
}
>
<
Button
onClick=
{
onStartFlowClick
}
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
申请
</
Button
>
</
Tooltip
>
}
{
(
compact
&&
reference
!==
AssetRecycleReference
)
?
<
Dropdown
overlay=
{
moreMenu
}
placement=
"bottomCenter"
>
<
Button
>
其他操作
</
Button
>
<
Button
>
其他操作
</
Button
>
</
Dropdown
>
:
<
React
.
Fragment
>
</
Dropdown
>
:
<
React
.
Fragment
>
{
{
(
reference
===
AssetManageReference
)
&&
(
reference
===
AssetManageReference
)
&&
<
Tooltip
title=
{
(
checkedKeys
||
[]).
length
===
0
?
'请先选择资产'
:
''
}
>
<
Tooltip
title=
{
(
checkedKeys
||
[]).
length
===
0
?
'请先选择资产'
:
''
}
>
<
Button
onClick=
{
onStartFlowClick
}
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
送审
</
Button
>
<
Button
onClick=
{
onStartFlowClick
}
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
申请
</
Button
>
</
Tooltip
>
</
Tooltip
>
}
}
...
...
src/view/Manage/AssetManage/Component/StartFlow.jsx
View file @
d3a7e5fc
...
@@ -44,7 +44,7 @@ const StartFlowModal = (props) => {
...
@@ -44,7 +44,7 @@ const StartFlowModal = (props) => {
reset
();
reset
();
if
((
data
||
''
)
!==
''
)
{
if
((
data
||
''
)
!==
''
)
{
showNotifaction
(
'
送审
提示'
,
data
,
5
);
showNotifaction
(
'
申请
提示'
,
data
,
5
);
}
}
onCancel
&&
onCancel
(
true
);
onCancel
&&
onCancel
(
true
);
...
@@ -68,7 +68,7 @@ const StartFlowModal = (props) => {
...
@@ -68,7 +68,7 @@ const StartFlowModal = (props) => {
<
Modal
<
Modal
forceRender
forceRender
visible=
{
visible
}
visible=
{
visible
}
title=
'资产
送审
'
title=
'资产
申请
'
width=
{
520
}
width=
{
520
}
confirmLoading=
{
confirmLoading
}
confirmLoading=
{
confirmLoading
}
onCancel=
{
()
=>
{
onCancel=
{
()
=>
{
...
@@ -82,9 +82,9 @@ const StartFlowModal = (props) => {
...
@@ -82,9 +82,9 @@ const StartFlowModal = (props) => {
form=
{
form
}
form=
{
form
}
>
>
<
Form
.
Item
<
Form
.
Item
label=
"
送审内容
"
label=
"
申请原因
"
name=
"desc"
name=
"desc"
rules=
{
[{
required
:
true
,
message
:
'请填写
送审内容
'
}]
}
rules=
{
[{
required
:
true
,
message
:
'请填写
申请原因
'
}]
}
>
>
<
Input
.
TextArea
rows=
{
6
}
/>
<
Input
.
TextArea
rows=
{
6
}
/>
</
Form
.
Item
>
</
Form
.
Item
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment