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
de9391bf
Commit
de9391bf
authored
Mar 18, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
草稿中加状态
parent
f30ab4ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
AssetAction.jsx
src/view/Manage/AssetManage/Component/AssetAction.jsx
+22
-2
AssetDetailPage.jsx
src/view/Manage/AssetManage/Component/AssetDetailPage.jsx
+1
-1
No files found.
src/view/Manage/AssetManage/Component/AssetAction.jsx
View file @
de9391bf
...
...
@@ -1286,10 +1286,11 @@ const AssetAction = (props) => {
{
(action!=='add' && (id||'')!=='') && <div>
<div className='mb-3'>
<Descriptions column={1}>
<Descriptions column={
(reference===AssetDraftReference)?4:
1}>
<Descriptions.Item
label=
{<div className='title-text' style={{ textAlign: 'right', width: 90 }}>资产目录路径</div>}
label=
'资产目录路径'
style={{ paddingBottom: 0 }}
span={2}
>
<span>
{
...
...
@@ -1305,6 +1306,25 @@ const AssetAction = (props) => {
}
</span>
</Descriptions.Item>
{
(reference===AssetDraftReference) && <>
<Descriptions.Item
label='修改类型'
style={{ paddingBottom: 0 }}
>
{ assets?.operation==='release' && '新增'}
{ assets?.operation==='change' && '修改'}
{ assets?.operation==='offline' && '停用'}
</Descriptions.Item>
<Descriptions.Item
label='状态'
style={{ paddingBottom: 0 }}
>
{ assets?.state==='draft' && '待提交'}
{ assets?.operation==='auditing' && '审批中'}
</Descriptions.Item>
</>
}
</Descriptions>
</div>
</div>
...
...
src/view/Manage/AssetManage/Component/AssetDetailPage.jsx
View file @
de9391bf
...
...
@@ -70,7 +70,7 @@ const AssetDetailPage = (props)=>{
return
(
<
div
className=
'asset-detail position-relative'
>
<
div
className=
'detail-header'
>
<
span
style=
{
{
fontSize
:
16
,
fontWeight
:
'bold'
,
color
:
'#000'
}
}
>
{
(
isDraft
===
'true'
)?
'资产目录草稿详情'
:
'资产目录详情'
}
</
span
>
<
span
style=
{
{
fontSize
:
16
,
fontWeight
:
'bold'
,
color
:
'#000'
}
}
>
资产目录详情
</
span
>
</
div
>
<
Spin
spinning=
{
loading
}
>
<
div
className=
'detail-container'
>
...
...
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