@@ -165,23 +181,40 @@ const inputChange = (keyword)=>{
-
+
@@ -193,7 +226,7 @@ const inputChange = (keyword)=>{
display: flex;
position: relative;
flex-direction: column;
- background: #FFF;
+ background: #fff;
border: 1px solid #efeff5;
border-radius: 3px;
box-sizing: border-box;
@@ -230,11 +263,17 @@ const inputChange = (keyword)=>{
right: -20px;
}
- ::v-deep(.n-collapse .n-collapse-item.n-collapse-item--right-arrow-placement .n-collapse-item__header .n-collapse-item-arrow) {
+ ::v-deep(.n-collapse
+ .n-collapse-item.n-collapse-item--right-arrow-placement
+ .n-collapse-item__header
+ .n-collapse-item-arrow) {
margin-left: 8px;
}
- ::v-deep(.n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main) {
+ ::v-deep(.n-collapse
+ .n-collapse-item
+ .n-collapse-item__header
+ .n-collapse-item__header-main) {
font-weight: bold;
justify-content: space-between;
}
@@ -247,11 +286,18 @@ const inputChange = (keyword)=>{
border-top: 0px;
}
- ::v-deep(.n-collapse .n-collapse-item .n-collapse-item__content-wrapper .n-collapse-item__content-inner) {
+ ::v-deep(.n-collapse
+ .n-collapse-item
+ .n-collapse-item__content-wrapper
+ .n-collapse-item__content-inner) {
padding-top: 10px;
}
- ::v-deep(.n-scrollbar > .n-scrollbar-rail.n-scrollbar-rail--vertical > .n-scrollbar-rail__scrollbar, .n-scrollbar + .n-scrollbar-rail.n-scrollbar-rail--vertical > .n-scrollbar-rail__scrollbar) {
+ ::v-deep(.n-scrollbar
+ > .n-scrollbar-rail.n-scrollbar-rail--vertical
+ > .n-scrollbar-rail__scrollbar, .n-scrollbar
+ + .n-scrollbar-rail.n-scrollbar-rail--vertical
+ > .n-scrollbar-rail__scrollbar) {
width: 0px;
}
}
diff --git a/src/views/final/content/Content.vue b/src/views/final/content/Content.vue
index a28a943..72c6b4c 100644
--- a/src/views/final/content/Content.vue
+++ b/src/views/final/content/Content.vue
@@ -1,6 +1,6 @@
@@ -761,14 +758,27 @@ async function refreshHandler(searchId?: any) {
-
-
- 小结查重
-
+
+
小结查重
-
+
-
-
+
+
@@ -491,6 +480,7 @@ function refreshHandler(){
+
@@ -502,11 +492,9 @@ function refreshHandler(){
user-select: none;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
-
- /* Standard syntax */
}
-.remove{
+.remove {
cursor: pointer;
}
@@ -538,7 +526,7 @@ function refreshHandler(){
}
}
-.img{
+.img {
border-radius: 8px;
}
@@ -553,7 +541,7 @@ function refreshHandler(){
padding: 24px 0px 12px 0px;
}
- &-m32{
+ &-m32 {
margin-left: 32px;
}
@@ -636,21 +624,23 @@ function refreshHandler(){
}
}
-.wrapper-content-form-button{
+.wrapper-content-form-button {
cursor: pointer;
}
.img-fit {
- width: 100%;
- overflow: hidden;
- }
- .img-full {
- width: 100%;
- overflow: hidden;
- ::v-deep(img) {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
+ width: 100%;
+ overflow: hidden;
+}
+
+.img-full {
+ width: 100%;
+ overflow: hidden;
+
+ ::v-deep(img) {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+}
diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue
index 305ac53..8d7e2e7 100644
--- a/src/views/worksheet/content/Content.vue
+++ b/src/views/worksheet/content/Content.vue
@@ -607,11 +607,6 @@ function reloadList() {
-
From ef1bfb679cb5cc21e0e8297e10d72d493970127c Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Mon, 1 Apr 2024 22:11:07 +0800
Subject: [PATCH 3/8] =?UTF-8?q?feat:=20=E8=87=AA=E5=AE=9A=E4=B9=89?=
=?UTF-8?q?=E7=AD=9B=E9=80=89=E5=88=97=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=EF=BC=8C=E5=9B=BE=E5=AE=A1=E5=BC=B9=E7=AA=97=E9=80=BB=E8=BE=91?=
=?UTF-8?q?=E8=A1=A5=E5=85=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/home/aside/comp/AdvanceFilter.vue | 12 ++++++--
src/views/task/modal/CustomSettingModal.vue | 8 +++---
src/views/worksheet/modal/ApprovalModal.vue | 31 ++++++++++++++-------
3 files changed, 35 insertions(+), 16 deletions(-)
diff --git a/src/views/home/aside/comp/AdvanceFilter.vue b/src/views/home/aside/comp/AdvanceFilter.vue
index 95a4234..44574fa 100644
--- a/src/views/home/aside/comp/AdvanceFilter.vue
+++ b/src/views/home/aside/comp/AdvanceFilter.vue
@@ -257,7 +257,12 @@ const moveEnd = () => {
{{
currentlySelectedAdvanced
}}
-
+
@@ -265,7 +270,7 @@ const moveEnd = () => {
{
align-items: center;
}
}
+::v-deep(.wrapper-left-popover .n-form-item){
+ display: block !important;
+}
diff --git a/src/views/task/modal/CustomSettingModal.vue b/src/views/task/modal/CustomSettingModal.vue
index 8fb0c1c..8f0e590 100644
--- a/src/views/task/modal/CustomSettingModal.vue
+++ b/src/views/task/modal/CustomSettingModal.vue
@@ -40,6 +40,9 @@ onMounted(async () => {
Boolean(userFieldUnFixed?.find((v2) => v2 == v.name)),
};
offList.value.push(item);
+ if(item.checked){
+ selectIds.value.push(item.id);
+ }
});
});
@@ -131,21 +134,18 @@ function onCheckAllChange(value) {
ids.push(item.id);
}
}
-
selectIds.value = value ? ids : [];
}
function onCheckChange(checked: any, item: any) {
const index = selectIds.value.indexOf(item.id);
-
item.checked = checked;
-
if (index === -1 && checked) selectIds.value.push(item.id);
else selectIds.value.splice(index, 1);
}
const indeterminate = computed(() => {
- return offList.value.length > 0 && offList.value.length > selectIds.value.length;
+ return selectIds.value.length > 0 && offList.value.length > selectIds.value.length;
});
diff --git a/src/views/worksheet/modal/ApprovalModal.vue b/src/views/worksheet/modal/ApprovalModal.vue
index 806ae27..28d04bb 100644
--- a/src/views/worksheet/modal/ApprovalModal.vue
+++ b/src/views/worksheet/modal/ApprovalModal.vue
@@ -11,6 +11,7 @@ const emit = defineEmits<{
(e: "reject", params: any);
(e: "notPass", params: any);
}>();
+const message = useMessage()
const dialog = useDialog();
@@ -33,25 +34,35 @@ function showModal(id) {
}
async function getDetail(id) {
- console.log('getDetail',id)
// const userInfo = storage.get(CURRENT_USER);
// const nodeType = userInfo.nodeType;
// id = "264626184091111068";
const res = await aiApprovaltools({ taskid: id });
if (res.code === "OK") {
state.detail = res.data;
- show.value = true;
+ if(Number(res.data.similarComplete) > 0){
+ show.value = true;
+ }
}
}
const handleReject = async () => {
- const res = await audit()
- // const res = await setTF({
- // taskchildpictureids: state.detail.taskIdList.join(","),
- // packageid: state.packageid,
- // iztrueorfalse: 0,
- // });
- // console.log(res, "handleReject");
+ const param = {
+ result: false,
+ comment: '',
+ disposeType: '',
+ disposeTypeId: '',
+ failCauseId: '',
+ failCauseName: '',
+ flowTaskInfoList: state.detail.flowTaskInfoList,
+ }
+ const res = await audit(param)
+ if(res.code == 'OK'){
+ message.success(res.message)
+ }else{
+ message.error(res.message)
+ }
+ closeModal();
};
async function clearMark() {
@@ -138,7 +149,7 @@ defineExpose({
任务包生成时间:
- {{ format(detail?.createtime || 0, "yyyy-MM-dd HH:mm:ss") }}
+ {{ format(detail?.createTime || 0, "yyyy-MM-dd HH:mm:ss") }}
From ee6f52c1864c84bf7662e5b89881a7cbeddb8eca Mon Sep 17 00:00:00 2001
From: lizijiee <562949697@qq.com>
Date: Mon, 1 Apr 2024 22:25:39 +0800
Subject: [PATCH 4/8] =?UTF-8?q?feat:=20=E5=88=97=E8=A1=A8=E8=BF=94?=
=?UTF-8?q?=E5=9B=9E=E5=89=8D=E7=AB=AF=E5=A2=9E=E5=8A=A0=20checkDuplicateI?=
=?UTF-8?q?d?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/work/work.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/api/work/work.ts b/src/api/work/work.ts
index bbef956..f7e1259 100644
--- a/src/api/work/work.ts
+++ b/src/api/work/work.ts
@@ -83,7 +83,7 @@ export async function getTaskDetailInfo(checkDuplicateId: string) {
* @param params
* @returns
*/
-export async function getTaskDetailPictureList(params: PageParam & PictureSortParam & SimilarityPictureSortParam) {
+export async function getPictureSimilarityList(params: PageParam & PictureSortParam & SimilarityPictureSortParam) {
const res = await http.request({
url: `/backstage/jifen/ocrtaskchildpicture/getPictureSimilarityList`,
@@ -97,6 +97,7 @@ export async function getTaskDetailPictureList(params: PageParam & PictureSortPa
const list = records.map((item,index) => {
return {
id: item.id,
+ checkDuplicateId: item.checkDuplicateId,
taskId: item.taskId,
taskname: item.fromTaskName,
assignee: item.assignee,
From 15dd6ce13bbbed47cb83efffedbbe3ee025ea3bb Mon Sep 17 00:00:00 2001
From: liushilong <2224574157@qq.com>
Date: Mon, 1 Apr 2024 22:27:40 +0800
Subject: [PATCH 5/8] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=9B=BE?=
=?UTF-8?q?=E5=AE=A1=E5=BC=B9=E7=AA=97=E5=B1=95=E7=A4=BA=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/worksheet/modal/ApprovalModal.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/worksheet/modal/ApprovalModal.vue b/src/views/worksheet/modal/ApprovalModal.vue
index 28d04bb..b0ad148 100644
--- a/src/views/worksheet/modal/ApprovalModal.vue
+++ b/src/views/worksheet/modal/ApprovalModal.vue
@@ -40,7 +40,7 @@ async function getDetail(id) {
const res = await aiApprovaltools({ taskid: id });
if (res.code === "OK") {
state.detail = res.data;
- if(Number(res.data.similarComplete) > 0){
+ if(Number(res.data.pendingApprovaCount) > 0){
show.value = true;
}
}
From 85ae4ead310774c29f1800d63a02a803b0471c4a Mon Sep 17 00:00:00 2001
From: lizijiee <562949697@qq.com>
Date: Mon, 1 Apr 2024 22:28:05 +0800
Subject: [PATCH 6/8] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?=
=?UTF-8?q?=E5=90=8D=E7=A7=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/worksheet/content/Content.vue | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue
index 8d7e2e7..825192f 100644
--- a/src/views/worksheet/content/Content.vue
+++ b/src/views/worksheet/content/Content.vue
@@ -1,8 +1,7 @@
+
+
+
+
+ 任务ID:{{ taskDetailInfo.taskname }}
+
+
+
+ 图片大小
+ {{ taskDetailInfo?.pictureInfo?.imgSize && (taskDetailInfo.pictureInfo.imgSize / 1000).toFixed(2) }}KB
+
+
+ 图片格式
+ {{ taskDetailInfo?.pictureInfo?.imgFormat }}
+
+
+ 图片尺寸
+ {{ taskDetailInfo?.pictureInfo?.imgMeasure }}
+
+
+ 色彩空间
+ {{ taskDetailInfo?.pictureInfo?.imgSpace }}
+
+
+ 提报人
+ {{ taskDetailInfo?.upname || "-" }}
+
+
+ 创建时间
+ {{ taskDetailInfo?.pictureInfo?.createTime }}
+
+
+ 提报时间
+ {{ taskDetailInfo?.submitDateTimestamp && format(taskDetailInfo.submitDateTimestamp, 'yyyy-MM-dd HH:mm:ss') || '-' }}
+
+
+ {{ fieldMap[key] }}
+ {{ value }}
+
+
+
+
+
+
diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue
index 825192f..aa732d6 100644
--- a/src/views/worksheet/content/Content.vue
+++ b/src/views/worksheet/content/Content.vue
@@ -4,7 +4,6 @@ import {
getPictureSimilarityList, getTaskDetailInfo
} from "@/api/work/work";
import NotPassed from '@/components/Approval/NotPassed.vue';
-import { fieldMap } from "@/config/workorder";
import { TASK_STATUS_OBJ } from '@/enums/index';
import { useWorkOrder } from "@/store/modules/workOrder";
import { isEmpty } from "@/utils";
@@ -17,6 +16,7 @@ import imagesloaded from "imagesloaded";
import { clone, debounce, pickBy } from "lodash-es";
import { useDialog, useMessage } from "naive-ui";
import { computed, onUnmounted, onUpdated, reactive, ref, unref, watch } from "vue";
+import PictureInfo from "../components/PictureInfo.vue";
import ConfrimModal from "../modal/ConfrimModal.vue";
import type { ApprovalParam, SimilarityPictureSortParam } from "/#/api";
@@ -486,18 +486,10 @@ function reloadList() {