From 05030a31dd7f1af181d92c73efccb3ee63ba24c4 Mon Sep 17 00:00:00 2001 From: 21819 Date: Tue, 19 Mar 2024 18:22:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E4=BB=B6=E5=AF=BC=E5=87=BA=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=8F=B0=E8=B4=A6=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/work/Query.vue | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/src/views/work/Query.vue b/src/views/work/Query.vue index 1c4e341..427e297 100644 --- a/src/views/work/Query.vue +++ b/src/views/work/Query.vue @@ -110,7 +110,11 @@
信件核对 信件导出 - + + +
查询 @@ -184,8 +188,6 @@ 标签 转为待办 - 删除 @@ -232,8 +234,6 @@ import { getToken } from '@/utils/auth' import axios from 'axios' import { useRouterParamsStore } from "@/stores/modules/routerParams"; import { useRoute } from "vue-router"; -import feedback from "@/utils/feedback"; -import {deleteMail} from "@/api/mail"; const rowKey = "id"; const loading = ref(false) @@ -511,31 +511,12 @@ const handleTodoByChange = (mailId: any) => { showTodoByChange.value = true activeMailId.value = mailId } - - -const handleDelete = async (mailId: any) => { - if(mailId == ""||mailId == null){ - return; - } - await feedback.confirm("确定要删除?"); - await deleteMail({id:mailId}); - feedback.msgSuccess("删除成功"); - getList() -}; - - - const handleMailCategory = (row: any) => { const allowChangeList = ['终止类', '无效类'] return allowChangeList.includes(row.mailCategory) } -const IsdeleteMail = (row: any) => { - const allowChangeList = ['first_sign', 'first_distribute'] - return allowChangeList.includes(row.flowKey) -} - getList()