diff --git a/src/views/task/content/Content.vue b/src/views/task/content/Content.vue index c58ef34..3644816 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -148,12 +148,16 @@ function handleKeydown(event) { // 清除已经设置的定时器(如果有的话) clearTimeout(keyPressTimer); const item = taskDetailInfo.value; - if (item?.userapprove?.statshis === 2 || item?.userapprove?.statshis == 3) { + if ( + item?.userapprove?.statshis === 2 || + item?.userapprove?.statshis == 3 + ) { overTask.value = null; return; } - if (validate([item]) == null && batch.value === false) overTask.value = item; + if (validate([item]) == null && batch.value === false) + overTask.value = item; // 执行想要的操作 approvalHandler(); @@ -179,12 +183,16 @@ function handleKeydown(event) { // 清除已经设置的定时器(如果有的话) clearTimeout(keyPressTimer); const item = taskDetailInfo.value; - if (item?.userapprove?.statshis === 2 || item?.userapprove?.statshis == 3) { + if ( + item?.userapprove?.statshis === 2 || + item?.userapprove?.statshis == 3 + ) { overTask.value = null; return; } - if (validate([item]) == null && batch.value === false) overTask.value = item; + if (validate([item]) == null && batch.value === false) + overTask.value = item; // 执行想要的操作 const modal = unref(notPassModalRef)! as any; modal.showModal([taskDetailInfo.value]); @@ -257,7 +265,8 @@ function approvalHandler(items?: any) { processItems = [cloneItem]; } - if (items !== undefined && !(items instanceof PointerEvent)) processItems = items; + if (items !== undefined && !(items instanceof PointerEvent)) + processItems = items; const msg = validate(processItems); @@ -511,7 +520,9 @@ function notPassSuccess(param) { function reloadList(param, text) { // 修改左侧状态 const id = currentTaskId(); - const hasCurrentId = param.flowTaskInfoList.find((item) => item.formId === id); + const hasCurrentId = param.flowTaskInfoList.find( + (item) => item.formId === id + ); finalStore.setListKey(); if (hasCurrentId) emit("setAsideItemName", text); @@ -545,7 +556,8 @@ function overTaskHandelr(item: any) { return; } - if (validate([item]) == null && batchtwo.value === false) overTasktwo.value = item; + if (validate([item]) == null && batchtwo.value === false) + overTasktwo.value = item; } function closePassno() { console.log(notPassModalRef.value); @@ -579,7 +591,8 @@ function checkBottom() { const scrollTop = window.pageYOffset || document.documentElement.scrollTop; // 获取视口的内部高度 - const clientHeight = window.innerHeight || document.documentElement.clientHeight; + const clientHeight = + window.innerHeight || document.documentElement.clientHeight; // 获取整个文档的高度 const scrollHeight = document.documentElement.scrollHeight; @@ -648,8 +661,18 @@ function sortHandler(orderby: "similarityScore" | "createdate") {
任务ID:{{ taskDetailInfo.fromtaskname }}
@@ -785,7 +808,7 @@ function sortHandler(orderby: "similarityScore" | "createdate") { } : { height: '92vh', - //flex: 1, + flex: 1, 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`, } @@ -842,13 +865,25 @@ function sortHandler(orderby: "similarityScore" | "createdate") { />
- +
- +
- +
@@ -858,7 +893,11 @@ function sortHandler(orderby: "similarityScore" | "createdate") { - t + @@ -877,23 +916,39 @@ function sortHandler(orderby: "similarityScore" | "createdate") { - {{ totalCount }} + {{ totalCount }} + 相似匹配
- + - {{ taskDetailInfo?.ocrPicture?.photoDateTimestamp ?? "-" }} + {{ + taskDetailInfo?.ocrPicture?.photoDateTimestamp ?? "-" + }}
- + {{ taskDetailInfo?.ocrPicture?.submitDateTimestamp - ? formatToDateHMS(Number(taskDetailInfo.ocrPicture.submitDateTimestamp)) + ? formatToDateHMS( + Number(taskDetailInfo.ocrPicture.submitDateTimestamp) + ) : "-" }}
@@ -994,7 +1049,12 @@ function sortHandler(orderby: "similarityScore" | "createdate") { />
- + {{ item.photoDateTimestamp ? formatToDateHMS(Number(item.photoDateTimestamp)) @@ -1002,7 +1062,12 @@ function sortHandler(orderby: "similarityScore" | "createdate") { }}
- + {{ item.submitDateTimestamp ? formatToDateHMS(Number(item.submitDateTimestamp)) @@ -1019,8 +1084,18 @@ function sortHandler(orderby: "similarityScore" | "createdate") {
-
- {{ taskDetailInfo.fromtaskname }} +
+ {{ taskDetailInfo.fromtaskname }}
-
+
{{ item[0].label }}
-
+
{{ item[0].value }}
时间排序 - - + +
相似度排序 - - + +
@@ -1226,7 +1331,12 @@ function sortHandler(orderby: "similarityScore" | "createdate") { />
- + {{ item.photoDateTimestamp ? formatToDateHMS(Number(item.photoDateTimestamp)) @@ -1234,7 +1344,12 @@ function sortHandler(orderby: "similarityScore" | "createdate") { }}
- + {{ item.submitDateTimestamp ? formatToDateHMS(Number(item.submitDateTimestamp)) @@ -1242,7 +1357,10 @@ function sortHandler(orderby: "similarityScore" | "createdate") { }}
-
+
{{ item.similarityScore }}%
@@ -1329,8 +1447,16 @@ function sortHandler(orderby: "similarityScore" | "createdate") {
-->
- - + +
@@ -2039,7 +2165,11 @@ function sortHandler(orderby: "similarityScore" | "createdate") { .small-mark { width: 100%; height: 53px; - background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.44) 88%); + background: linear-gradient( + 180deg, + rgba(0, 0, 0, 0.01), + rgba(0, 0, 0, 0.44) 88% + ); border-radius: 0px 8px 8px 8px; position: absolute; left: 0;