diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index 1f614c0..fd77b4f 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -275,7 +275,7 @@ function immersionHandler() { function showAction() { const item = taskDetailInfo.value; - if (item.states === 2 || item.states === 3) { + if (item.historyStates === 2 || item.historyStates === 3) { return } if (batch.value === false) overTask.value = item; @@ -367,6 +367,7 @@ function doAudit(param: any) { const { code } = res setBatch(false) if (code === 'OK') { + message.info(res.message) emitter.emit('refresh') refreshHandler() } @@ -439,8 +440,8 @@ function reloadList() {
- - +
@@ -452,7 +453,7 @@ function reloadList() { - {{ TASK_STATUS_OBJ[taskDetailInfo.states] }} + {{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }} 审批状态 @@ -487,15 +488,15 @@ function reloadList() { 任务ID:{{ taskDetailInfo.taskname }}
-
{{ TASK_STATUS_OBJ[taskDetailInfo.states] +
{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}
-
{{ - TASK_STATUS_OBJ[taskDetailInfo.states] }}
-
{{ - TASK_STATUS_OBJ[taskDetailInfo.states] +
{{ + TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}
+
{{ + TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}
-
{{ - TASK_STATUS_OBJ[taskDetailInfo.states] }}
+
{{ + TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}