From db4104bfc0f1e4e8a8c264dadcf298b6ad5d9009 Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Sun, 31 Mar 2024 17:56:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=ADhistoryStates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) 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] }}