diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index c292b2c..2f2d2ed 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -223,10 +223,8 @@ async function queryDetail(checkDuplicateId: any) { refreshHandler(); } async function handleSelect(item: any) { - taskDetailInfo.value = await getTaskDetailInfo(workStore.activeId); - + taskDetailInfo.value = await getTaskDetailInfo(item.id) const packageid = workStore.getActiveId; - if (isEmpty(packageid)) { listData.value.length = 0; totalCount.value = 0; @@ -488,15 +486,21 @@ function reloadList() { 任务ID:{{ taskDetailInfo.taskname }}
-
{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] + +
待审批
+
已审批
+
{{ TASK_STATUS_OBJ[taskDetailInfo.historyStates] }}
+
{{ + TASK_STATUS_OBJ[taskDetailInfo.historyStates] + }}
@@ -909,17 +913,21 @@ function reloadList() { line-height: 16px; } + .tag-submited { + color: #507AFD; + border: 1px solid #507AFD; + } .tag-submiting { - color: #feaf2d; - border: 1px solid #feaf2d; + color: #FFB800; + border: 1px solid #FFB800; } - .tag-approve { - color: #398ade; - border: 1px solid #398ade; + .tag-passed { + color: #02C984; + border: 1px solid #02C984; } - .tag-passed { + .tag-not-passed { color: #ff7575; border: 1px solid #ff7575; }