@@ -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 aedb35c..4aaccbf 100644
--- a/src/views/task/modal/CustomFieldModal.vue
+++ b/src/views/task/modal/CustomFieldModal.vue
@@ -163,11 +163,12 @@ function onCheckAllChange(value) {
function onCheckChange(checked: any, item: any) {
const index = selectIds.value.indexOf(item.id);
- if (index == -1 && selectIds.value.length >= 6) {
- item.checked = false;
- message.error("自定义任务卡片字段一共勾选数量不能超过6个");
- return;
- }
+ // TODO 禁止选中六个以上字段代码 提示逻辑
+ // if (index == -1 && selectIds.value.length >= 6) {
+ // item.checked = false;
+ // message.error("自定义任务卡片字段一共勾选数量不能超过6个");
+ // return;
+ // }
item.checked = checked;
const currentIndex = offList.value.findIndex((v) => v.id == item.id);
offList.value[currentIndex].checked = checked;
@@ -355,6 +356,10 @@ function queryData(value, type) {
}
}
}
+
+const moreThanSix = computed(() => {
+ return selectIds.value.length >= 6;
+});
@@ -411,7 +416,7 @@ function queryData(value, type) {
diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue
index 6aba9dc..0d531b2 100644
--- a/src/views/worksheet/content/Content.vue
+++ b/src/views/worksheet/content/Content.vue
@@ -905,7 +905,7 @@ defineExpose({
.left {
flex: 0.6;
- background-size: 632px 346px;
+ background-size: auto 346px;
background-position: center;
background-repeat: no-repeat;