From 7677963d3aadca0d729571b991e9b5faebb5cc4c Mon Sep 17 00:00:00 2001 From: lihui_ocr Date: Wed, 10 Apr 2024 00:30:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=B8=83=E5=B1=80=E5=B9=B3=E9=93=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/content/Content.vue | 441 ++++++++++++++++++++++++++++- 1 file changed, 433 insertions(+), 8 deletions(-) diff --git a/src/views/task/content/Content.vue b/src/views/task/content/Content.vue index f7c2738..f75eca3 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -36,8 +36,9 @@ import { hideDownload } from "@/utils/image"; const emit = defineEmits(["setAsideItemName"]); const router = useRouter(); - +const loading = ref(false); const batch = ref(false); +const batchtwo = ref(false); const selectItems = ref([]); const message = useMessage(); const dialog = useDialog(); @@ -74,6 +75,7 @@ const taskpagination = reactive({ }); const taskStore = useTask(); const overTask = ref(null); +const overTasktwo = ref(null); const taskDetailInfo = ref({}); const taskDetailPictureList = ref([]); const userStore = useUser(); @@ -407,6 +409,15 @@ function getrowValue(e) { ); } } +function overTaskHandelr(item: any) { + if (item?.historyStates === 2 || item?.historyStates == 3) { + overTasktwo.value = null; + return; + } + + if (validate([item]) == null && batchtwo.value === false) + overTasktwo.value = item; +}