From d02ba50429b264491b849829b0115d891293b200 Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Wed, 27 Mar 2024 12:45:22 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=E5=9B=BE=E7=89=87=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index bcc339e..698c88c 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -443,6 +443,7 @@ function previewHandler(event: MouseEvent) { +
@@ -549,7 +550,7 @@ function previewHandler(event: MouseEvent) { >图片大小 {{ (taskDetailInfo?.pictureInfo?.imgSize /1000).toFixed(2) }}KB{{ taskDetailInfo?.pictureInfo && (taskDetailInfo?.pictureInfo?.imgSize /1000).toFixed(2) }}KB
@@ -557,7 +558,7 @@ function previewHandler(event: MouseEvent) { >图片格式 {{ taskDetailInfo?.pictureInfo?.imgSpace }}{{ taskDetailInfo?.pictureInfo?.imgFormat }}
@@ -573,7 +574,7 @@ function previewHandler(event: MouseEvent) { >色彩空间 {{ taskDetailInfo?.pictureInfo?.imgMeasure }}{{ taskDetailInfo?.pictureInfo?.imgSpace }}
From b63abd93f4bc9624b707bbd352ad1dc1df49c2aa Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Wed, 27 Mar 2024 13:07:15 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E7=BC=A9=E7=95=A5=E5=9B=BE=20?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E7=9B=B8=E4=BC=BC=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/work/work.ts | 3 ++- src/views/worksheet/content/Content.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/work/work.ts b/src/api/work/work.ts index 981987a..d62846e 100644 --- a/src/api/work/work.ts +++ b/src/api/work/work.ts @@ -102,7 +102,8 @@ export async function getTaskDetailPictureList(params: PageParam & PictureSortPa taskname: item.fromtaskname, assignee: item.assignee, pictureid: item.pictureid, - imgurl: item.imgUrl, + imgurl: item.serverThumbnailUrl, + maxSimilarity: item.maxSimilarity, thumburl: item.ocrPicture?.serverThumbnailUrl || item.ocrPicture?.imgurl, iztrueorfalse: item.iztrueorfalse, states: item.states, diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index 698c88c..2136987 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -654,7 +654,7 @@ function previewHandler(event: MouseEvent) {
- {{ getPercent(item.pictureid) }} + {{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0) }}%
From 12a8dd587878ba2667c932e2cfaef8083e7301aa Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Wed, 27 Mar 2024 13:19:24 +0800 Subject: [PATCH 3/4] =?UTF-8?q?feat:=20=E7=9B=B8=E4=BC=BC=E5=BA=A6?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=80=82=E9=85=8D=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=AF=8F=E8=A1=8C=E6=98=BE=E7=A4=BA=E6=95=B0=E9=87=8F?= 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 2136987..494707b 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -893,7 +893,7 @@ function previewHandler(event: MouseEvent) { .grid-item { box-sizing: border-box; border-radius: 8px; - padding: 9px 10px; + padding: 9px 5px; position: relative; .img-wrapper { From dba698848e87bb931531a97c6fbab278c424efbd Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Wed, 27 Mar 2024 13:20:11 +0800 Subject: [PATCH 4/4] refactor: component --- components.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components.d.ts b/components.d.ts index 3b65693..1cbde43 100644 --- a/components.d.ts +++ b/components.d.ts @@ -23,6 +23,7 @@ declare module 'vue' { NDropdown: typeof import('naive-ui')['NDropdown'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] + NGi: typeof import('naive-ui')['NGi'] NGrid: typeof import('naive-ui')['NGrid'] NGridItem: typeof import('naive-ui')['NGridItem'] NImage: typeof import('naive-ui')['NImage']