@@ -766,11 +759,25 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
:style="
isFullScreen
? {
- height: '596px',
- }
+ height: '596px',
+ }
: {}
"
>
+
@@ -795,18 +802,19 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
isFullScreen
? imgbigshow
? {
- 'position': 'relative',
- 'flex': 2,
- 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
- }
+ position: 'relative',
+ flex: 0.75,
+ 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
+ }
: {
- 'height': '92vh',
- 'flex': 2,
+ height: '92vh',
+ flex: 1,
+
+ 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
+ }
+ : {
'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
}
- : {
- 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
- }
"
@mouseover="overTaskHandle"
@mouseleave="leaveTaskHandler"
@@ -847,13 +855,13 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
class="img-status"
src="@/assets/images/task/pass.png"
alt=""
- >
+ />

+ />
+ />
@@ -896,11 +904,12 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
class="icon-status"
src="@/assets/images/task/similarity.png"
alt=""
- >
+ />
- {{ totalCount }}张
+ {{ totalCount }}张
相似匹配
@@ -930,8 +939,8 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
{{
taskDetailInfo?.ocrPicture?.submitDateTimestamp
? formatToDateHMS(
- Number(taskDetailInfo.ocrPicture.submitDateTimestamp),
- )
+ Number(taskDetailInfo.ocrPicture.submitDateTimestamp)
+ )
: "-"
}}
@@ -951,10 +960,11 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
:style="
isFullScreen
? {
- width: '320px',
- borderLeft: '2px solid #507AFD',
- position: 'relative',
- }
+ flex: '0.25',
+ borderLeft: '2px solid #507AFD',
+ position: 'relative',
+ borderRadius: 0,
+ }
: {}
"
>
@@ -1019,13 +1029,13 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
class="tag-status"
src="@/assets/images/task/tag-pass.png"
alt=""
- >
+ />

+ />
-
+
{{ taskDetailInfo.fromtaskname }}
@@ -1075,8 +1087,8 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
@@ -1096,11 +1108,15 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
-
-
+
+
@@ -1181,7 +1204,8 @@ function sortHandler(orderby: 'similarityScore' | 'createdate') {
color: #333333;
font-family: PingFang SC, PingFang SC-Medium;
"
- >相似图片({{ totalCount }})
+ >相似图片({{ totalCount }})
+ />

+ />
-->
import { ref, watch } from "vue";
-import * as XLSX from 'xlsx';
+import * as XLSX from "xlsx";
defineProps({
data: {
@@ -12,13 +12,13 @@ defineProps({
default: () => [[]],
},
});
-const emit = defineEmits(["showModal","getrowValue"]);
+const emit = defineEmits(["showModal", "getrowValue"]);
function showActionsModal() {
emit("showModal");
}
-function getrowvalue(row){
- emit("getrowValue",row);
+function getrowvalue(row) {
+ emit("getrowValue", row);
}
@@ -37,13 +37,27 @@ function getrowvalue(row){
{{ item[0].label }}
|
-
+ |
+
+
{{ item[0].value }}
|
{{ item[1].label }}
|
-
+ |
+
+
+
{{ item[1].value }}
|
diff --git a/src/views/task/index.vue b/src/views/task/index.vue
index 9eb6e38..da75ee2 100644
--- a/src/views/task/index.vue
+++ b/src/views/task/index.vue
@@ -32,6 +32,9 @@ function setAsideItemName(text) {
:deep(.wrapper){
top:0
}
+:deep(.ip_box){
+ z-index: 105;
+}
.main {
display: flex;
flex-direction: row;
diff --git a/src/views/task/modal/CustomFieldModal.vue b/src/views/task/modal/CustomFieldModal.vue
index c50b804..aedb35c 100644
--- a/src/views/task/modal/CustomFieldModal.vue
+++ b/src/views/task/modal/CustomFieldModal.vue
@@ -1,10 +1,12 @@
@@ -544,23 +552,28 @@ defineExpose({
- {{
- taskDetailInfo?.submitDateTimestamp
- ? format(taskDetailInfo?.submitDateTimestamp, "yyyy-MM-dd HH:mm:ss")
- : "-"
- }}
+ {{
+ taskDetailInfo?.submitDateTimestamp
+ ? format(taskDetailInfo?.submitDateTimestamp, "yyyy-MM-dd HH:mm:ss")
+ : "-"
+ }}

+ />

+ />
@@ -571,7 +584,7 @@ defineExpose({
class="icon-status"
src="@/assets/images/task/status.png"
alt=""
- >
+ />
@@ -586,11 +599,12 @@ defineExpose({
class="icon-status"
src="@/assets/images/task/similarity.png"
alt=""
- >
+ />
- {{ totalCount }}张
+ {{ totalCount }}张
相似匹配
@@ -609,145 +623,181 @@ defineExpose({
/>
-
-
+
+
+ 任务包图片
+
+
-
- 时间排序
-
-
-
-
- 相似度排序
-
-
-
+ >
+
+ 时间排序
+
+
-
-
-
相似度排序
+
-
-
-
- {{
- item.photoDateTimestamp
- ? formatToDateHMS(Number(item.photoDateTimestamp) || 0)
- : "-"
- }}
-
-
-
- {{
- item.submitDateTimestamp
- ? formatToDateHMS(Number(item.submitDateTimestamp) || 0)
- : "-"
- }}
-
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.photoDateTimestamp
+ ? formatToDateHMS(Number(item.photoDateTimestamp) || 0)
+ : "-"
+ }}
-
-
+
+
+ {{
+ item.submitDateTimestamp
+ ? formatToDateHMS(Number(item.submitDateTimestamp) || 0)
+ : "-"
+ }}
-
-
-
- {{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0)
- }}%
-
+
+
+
+
+
+
+
+ {{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0)
+ }}%
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
- 回到顶部
-
-
+
+
+ 回到顶部
+
+
@@ -855,11 +905,14 @@ defineExpose({
.left {
flex: 0.6;
- background-size: cover;
+ background-size: 632px 346px;
+
background-position: center;
background-repeat: no-repeat;
border-radius: 8px;
position: relative;
+ width: 632px;
+ height: 346px;
.preview {
position: absolute;
@@ -1189,20 +1242,20 @@ defineExpose({
font-size: 14px;
.val {
position: absolute;
- left: 0;
- top: 0;
- display: block;
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 12px;
- font-family: PingFang SC, PingFang SC-Semibold;
- font-weight: Semibold;
- text-align: left;
- color: #ffffff;
- line-height: 24px;
+ left: 0;
+ top: 0;
+ display: block;
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 12px;
+ font-family: PingFang SC, PingFang SC-Semibold;
+ font-weight: Semibold;
+ text-align: left;
+ color: #ffffff;
+ line-height: 24px;
}
}