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 96823a1..a6547d4 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -1,5 +1,14 @@ @@ -314,12 +336,21 @@ function getPercent(pictureid: string) { />
-
+
- + 批量审批
- +
@@ -328,11 +359,14 @@ function getPercent(pictureid: string) { 返回 -
+
-
+
@@ -340,13 +374,27 @@ function getPercent(pictureid: string) {
- +
@@ -363,10 +411,18 @@ function getPercent(pictureid: string) {
- +
- +
@@ -376,7 +432,7 @@ function getPercent(pictureid: string) { - {{ mark }} + {{ mark }} 审批状态 @@ -385,7 +441,9 @@ function getPercent(pictureid: string) { - {{ totalCount }} + {{ + totalCount + }} 相似匹配 @@ -394,8 +452,12 @@ function getPercent(pictureid: string) { {{ formatToDateHMS(taskDetailInfo.createdate || 0) }}
-
- +
+
@@ -403,13 +465,22 @@ function getPercent(pictureid: string) {
相似图片({{ totalCount }})
-
-
+
+
-
- 填报信息 -
+
填报信息
@@ -442,7 +511,7 @@ function getPercent(pictureid: string) {
- + @@ -450,7 +519,11 @@ function getPercent(pictureid: string) { - +
@@ -508,7 +581,7 @@ function getPercent(pictureid: string) { display: flex; align-items: center; justify-content: center; - color: #FFF; + color: #fff; margin-right: 6px; cursor: pointer; } @@ -578,7 +651,7 @@ function getPercent(pictureid: string) { background: rgba(216, 216, 216, 0.4); border-radius: 7px; padding: 10px; - color: #FFF; + color: #fff; } .time { @@ -586,7 +659,7 @@ function getPercent(pictureid: string) { z-index: 3; left: 2%; bottom: 2%; - color: #FFF; + color: #fff; display: flex; align-items: center; } @@ -600,7 +673,7 @@ function getPercent(pictureid: string) { display: flex; align-items: left; flex-direction: column; - justify-content: center + justify-content: center; } .check{ diff --git a/src/views/task/modal/CustomSettingModal.vue b/src/views/task/modal/CustomSettingModal.vue index a0fcf60..fd30069 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) }); @@ -108,6 +109,9 @@ async function handleSumbit(e: MouseEvent) { savefield(props.reviewType, userInfo.id, userField); e.preventDefault(); closeModal(); + setTimeout(()=>{ + window.location.reload(); + },3000) } defineExpose({ 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);