From f138e7e26f49384a0be4fd287e3e2c980f1afefc Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Mon, 18 Mar 2024 22:58:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=82=E9=85=8D=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/final/comp/CustomTabelModal.vue | 2 +- src/views/task/content/Content.vue | 402 ++++++++++-------- src/views/task/modal/CustomSettingModal.vue | 3 +- .../worksheet/modal/CustomFieldModal.vue | 2 +- 4 files changed, 237 insertions(+), 172 deletions(-) diff --git a/src/views/final/comp/CustomTabelModal.vue b/src/views/final/comp/CustomTabelModal.vue index 4448f41..d647ee4 100644 --- a/src/views/final/comp/CustomTabelModal.vue +++ b/src/views/final/comp/CustomTabelModal.vue @@ -45,7 +45,7 @@ onMounted(async()=>{ fix: v.isrequired == 2, checked: v.isrequired == 2 || - Boolean(useList.userField?.toLowerCase().indexOf(v.name)>-1), + Boolean(useList.userFieldFixed?.toLowerCase().indexOf(v.name)>-1) || Boolean(useList.userFieldUnFixed?.toLowerCase().indexOf(v.name)>-1), }; offList.value.push(item) }); diff --git a/src/views/task/content/Content.vue b/src/views/task/content/Content.vue index f8d0504..cb36942 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -1,79 +1,75 @@ @@ -315,12 +328,21 @@ function getPercent(pictureid: string) { />
-
+
- + 批量审批
- +
@@ -329,11 +351,14 @@ function getPercent(pictureid: string) { 返回 -
+
-
+
@@ -341,21 +366,43 @@ function getPercent(pictureid: string) {
- +
- +
- +
@@ -365,7 +412,7 @@ function getPercent(pictureid: string) { - {{ mark }} + {{ mark }} 审批状态 @@ -374,7 +421,9 @@ function getPercent(pictureid: string) { - {{ totalCount }} + {{ + totalCount + }} 相似匹配 @@ -383,8 +432,12 @@ function getPercent(pictureid: string) { 2023-09-17 13:09:10
-
- +
+
@@ -392,13 +445,22 @@ function getPercent(pictureid: string) {
相似图片({{ totalCount }})
-
-
+
+
-
- 填报信息 -
+
填报信息
@@ -431,7 +491,7 @@ function getPercent(pictureid: string) {
- + @@ -439,7 +499,11 @@ function getPercent(pictureid: string) { - +
@@ -497,7 +561,7 @@ function getPercent(pictureid: string) { display: flex; align-items: center; justify-content: center; - color: #FFF; + color: #fff; margin-right: 6px; cursor: pointer; } @@ -567,7 +631,7 @@ function getPercent(pictureid: string) { background: rgba(216, 216, 216, 0.4); border-radius: 7px; padding: 10px; - color: #FFF; + color: #fff; } .time { @@ -575,7 +639,7 @@ function getPercent(pictureid: string) { z-index: 3; left: 2%; bottom: 2%; - color: #FFF; + color: #fff; display: flex; align-items: center; } @@ -589,7 +653,7 @@ function getPercent(pictureid: string) { display: flex; align-items: left; flex-direction: column; - justify-content: center + justify-content: center; } } diff --git a/src/views/task/modal/CustomSettingModal.vue b/src/views/task/modal/CustomSettingModal.vue index a0fcf60..9230a88 100644 --- a/src/views/task/modal/CustomSettingModal.vue +++ b/src/views/task/modal/CustomSettingModal.vue @@ -33,7 +33,8 @@ onMounted(async () => { fix: v.isrequired == 2, checked: v.isrequired == 2 || - Boolean(useList.userField?.toLowerCase().indexOf(v.name)>-1), + Boolean(useList.userFieldFixed?.toLowerCase().indexOf(v.name)>-1) || Boolean(useList.userFieldUnFixed?.toLowerCase().indexOf(v.name)>-1), + }; offList.value.push(item) }); diff --git a/src/views/worksheet/modal/CustomFieldModal.vue b/src/views/worksheet/modal/CustomFieldModal.vue index 0676f17..3dbbcb6 100644 --- a/src/views/worksheet/modal/CustomFieldModal.vue +++ b/src/views/worksheet/modal/CustomFieldModal.vue @@ -239,7 +239,7 @@ onMounted(async () => { fix: v.isrequired == 2, checked: v.isrequired == 2 || - Boolean(useList.userField?.toLowerCase().indexOf(v.name)>-1), + Boolean(useList.userFieldFixed?.toLowerCase().indexOf(v.name)>-1) || Boolean(useList.userFieldUnFixed?.toLowerCase().indexOf(v.name)>-1), }; if (item.checked) { onList.value.push(item);