From 1d2862c40532fc57a3c9579387f6eaa34fbd0bfc Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Mon, 1 Apr 2024 09:36:48 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=9B=B8=E4=BC=BC?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=9F=A5=E8=AF=A2id=E4=B8=BA=E4=B8=BB?= =?UTF-8?q?=E5=9B=BEid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index fd77b4f..a4065f5 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -136,7 +136,7 @@ async function featchList() { try { taskpagination.pageNo += 1; const { data, total, pageCount } = await getTaskDetailPictureList( - { ...taskpagination, ...sortBy, checkDuplicateId: workStore.activeId, pictureId: taskDetailInfo.value.pictureid } + { ...taskpagination, ...sortBy, checkDuplicateId: workStore.activeId, pictureId: taskDetailInfo.value.id } ); totalCount.value = total; From 75c4fcc396363426301fb4734a5409f1bf87e25e Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Mon, 1 Apr 2024 09:41:41 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index a4065f5..c292b2c 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -239,7 +239,7 @@ async function handleSelect(item: any) { async function sortHandler(orderby: "similarityScore" | "createdate") { selectedSortName.value = orderby; sortBy.orderName = orderby; - sortBy.orderType = sortBy.orderType === "desc" ? "desc" : "asc"; + sortBy.orderType = sortBy.orderType === "asc" ? "desc" : "asc"; refreshHandler(); } From baab33cd3125de3a765990db645f21d280902a4b Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Mon, 1 Apr 2024 09:44:14 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E5=B7=B2=E5=AE=A1=E6=89=B9=20?= =?UTF-8?q?=E9=80=9A=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 36 +++++++++++++++---------- 1 file changed, 22 insertions(+), 14 deletions(-) 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; }