Commit bb826719 by zhaochengxiang

bug fix

parent 0e162f2c
...@@ -575,4 +575,4 @@ export function processDetail(payload) { ...@@ -575,4 +575,4 @@ export function processDetail(payload) {
export function auditProcess(payload) { export function auditProcess(payload) {
return PostJSON("/dataassetmanager/flowApi/auditProcess", payload) return PostJSON("/dataassetmanager/flowApi/auditProcess", payload)
} }
\ No newline at end of file
...@@ -199,10 +199,11 @@ const FC = (props) => { ...@@ -199,10 +199,11 @@ const FC = (props) => {
width: 120, width: 120,
fixed: 'right', fixed: 'right',
render: (text, record) => { render: (text, record) => {
if (text === 0) return '待提交' const index = (draftStates??[]).findIndex(item => item.id === text)
if (text === 1) return '处理中'
if (text === 2) return '已完成' if (index !== -1) {
if (text === 3) return '已发布' return draftStates[index].desc
}
return '' return ''
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment