From d66d87731e88588de5c66f2189d6fd8252f0c7ae Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Thu, 28 Mar 2024 00:10:46 +0800 Subject: [PATCH 01/11] =?UTF-8?q?feat:=20=E6=97=A5=E6=9C=9F=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index 139614f..fe175fd 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -456,11 +456,14 @@ function previewHandler(event: MouseEvent) {
@@ -586,12 +589,14 @@ function previewHandler(event: MouseEvent) {
- {{ item.photoDateTimestamp ? formatToDateHMS(Number(item.photoDateTimestamp) || 0) : '-' + {{ item.photoDateTimestamp ? formatToDateHMS(Number(item.photoDateTimestamp) || + 0) : '-' }}
- {{ item.submitDateTimestamp ? formatToDateHMS(Number(item.submitDateTimestamp) || 0) : '-' + {{ item.submitDateTimestamp ? formatToDateHMS(Number(item.submitDateTimestamp) + || 0) : '-' }}
@@ -1067,5 +1072,4 @@ function previewHandler(event: MouseEvent) { ::v-deep(.n-divider:not(.n-divider--vertical)) { margin-top: 12px; margin-bottom: 12px; -} - +} From 3c0666e06632fd1e5e460c7b327fb92e69666ddf Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Thu, 28 Mar 2024 00:38:11 +0800 Subject: [PATCH 02/11] =?UTF-8?q?feat:=20=E6=8E=92=E5=BA=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/active-sort.svg | 12 ++++++++++++ src/views/worksheet/content/Content.vue | 21 +++++++++++++-------- 2 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 src/assets/icons/active-sort.svg diff --git a/src/assets/icons/active-sort.svg b/src/assets/icons/active-sort.svg new file mode 100644 index 0000000..b9b32df --- /dev/null +++ b/src/assets/icons/active-sort.svg @@ -0,0 +1,12 @@ + + + 排序 + + + + + + + + + \ No newline at end of file diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index fe175fd..af9755d 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -68,7 +68,7 @@ const imageRef = ref(); const listData = ref([]); const loading = ref(false); const el = ref(null); - +const selectedSortName = ref(''); let canloadMore = true; let processItems: any[] = []; @@ -312,7 +312,7 @@ async function handleSelect(item: any) { } async function sortHandler(orderby: "similarityScore" | "createdate") { - + selectedSortName.value = orderby; sortBy.orderName = orderby; sortBy.orderType = sortBy.orderType === "asc" ? "desc" : "asc"; refreshHandler(); @@ -462,7 +462,8 @@ function previewHandler(event: MouseEvent) {
{{ - taskDetailInfo?.photoDateTimestamp ? format(taskDetailInfo?.photoDateTimestamp, 'yyyy-MM-dd HH:mm:ss') : '-' + taskDetailInfo?.photoDateTimestamp ? format(taskDetailInfo?.photoDateTimestamp, 'yyyy-MM-dd HH:mm:ss') : + '-' }}
@@ -564,20 +565,23 @@ function previewHandler(event: MouseEvent) { -
+
任务包图片
-
+
时间排序 - + +
相似度排序 - + +
@@ -1072,4 +1076,5 @@ function previewHandler(event: MouseEvent) { ::v-deep(.n-divider:not(.n-divider--vertical)) { margin-top: 12px; margin-bottom: 12px; -} +} + From b79c6e3ed72099d8c382403b8058056854b58782 Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Thu, 28 Mar 2024 00:58:35 +0800 Subject: [PATCH 03/11] =?UTF-8?q?feat:=20=E6=9B=B4=E6=94=B9=E9=81=AE?= =?UTF-8?q?=E7=BD=A9=E5=B1=82=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/worksheet/content/Content.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index af9755d..2dc3ffb 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -631,7 +631,7 @@ function previewHandler(event: MouseEvent) {
-->
- +
@@ -804,7 +804,7 @@ function previewHandler(event: MouseEvent) { border-radius: 8px; align-items: center; justify-content: center; - background-color: rgba(102, 102, 102, 0.5); + background-color: rgba(0,0,0,0.48); } .info { @@ -1064,8 +1064,8 @@ function previewHandler(event: MouseEvent) { display: flex; border-radius: 8px; align-items: center; - justify-content: space-around; - background-color: #666666; + justify-content: center; + background-color: rgba(0,0,0,0.48); } From 8b5433bc6e28c4f00fa62614052702049fd8877d Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Thu, 28 Mar 2024 10:19:38 +0800 Subject: [PATCH 04/11] =?UTF-8?q?feat:=20=E7=9B=91=E5=90=AC=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E4=BA=8B=E4=BB=B6=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patches/naive-ui+2.38.1.patch | 1 + src/views/final/aside/Aside.vue | 4 +++- src/views/home/aside/Aside.vue | 4 +++- src/views/task/aside/Aside.vue | 5 +++-- src/views/worksheet/aside/Aside.vue | 4 +++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/patches/naive-ui+2.38.1.patch b/patches/naive-ui+2.38.1.patch index 8748dc4..07fa2ff 100644 --- a/patches/naive-ui+2.38.1.patch +++ b/patches/naive-ui+2.38.1.patch @@ -161,3 +161,4 @@ index 4f47aad..6dae078 100644 }); } }))) : null)); + \ No newline at end of file diff --git a/src/views/final/aside/Aside.vue b/src/views/final/aside/Aside.vue index 3d3778c..f98bf3e 100644 --- a/src/views/final/aside/Aside.vue +++ b/src/views/final/aside/Aside.vue @@ -1,5 +1,5 @@