From 8602b37a84aa2206621067c2e4295701def39276 Mon Sep 17 00:00:00 2001 From: 21819 Date: Sat, 2 Mar 2024 18:09:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E4=B8=BA=E4=BB=A3=E5=8A=9E=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/work/Query.vue | 2 +- .../work/components/MailTodoByChange.vue | 47 +++++++------------ 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/src/views/work/Query.vue b/src/views/work/Query.vue index 1968dc4..278e400 100644 --- a/src/views/work/Query.vue +++ b/src/views/work/Query.vue @@ -357,7 +357,7 @@ const handleTodoByChange = (mailId: any) => { activeMailId.value = mailId } const handleMailCategory = (row: any) => { - const allowChangeList = ['终止类'] + const allowChangeList = ['终止类', '无效类'] return allowChangeList.includes(row.mailCategory) } diff --git a/src/views/work/components/MailTodoByChange.vue b/src/views/work/components/MailTodoByChange.vue index 5f105b7..68da1b7 100644 --- a/src/views/work/components/MailTodoByChange.vue +++ b/src/views/work/components/MailTodoByChange.vue @@ -44,27 +44,32 @@ 信件来源 - {{ mail.mailSource }} + {{ mail.source }}
来信人信息
姓名 - {{ mail.name }} + {{ mail.contactName }} 性别 - {{ mail.sex }} + {{ mail.contactSex }} 证件号码 - {{ mail.idNumber }} + {{ mail.contactIdCard }} 联系电话 - {{ mail.tel }} + {{ mail.contactPhone }} + + + {{ mail.content }} + +
信件内容
@@ -73,19 +78,19 @@ 被投诉/涉及单位 - {{ mail.complaintUnit }} + {{ mail.involvedDeptName }}
附件
-
+
信件类型
信件分类 - {{ mail.mailType }} + {{ mail.mailCategory }}
@@ -119,35 +124,15 @@ const steps = ref([]); const activeStep = ref(0); const isFav = ref(false); const mail = ref({ - mailTime: '', - mailSource: '', - name: '', - sex: '', - idNumber: '', - tel: '', - caseNumber: '', - complaintUnit: '', - mailType: '', - reason: '', - id: '' }) interface Mail { - mailTime: string; - mailSource: string; - name: string; - sex: string; - idNumber: string; - tel: string; - caseNumber: string; - complaintUnit: string; - mailType: string; - reason: string; - id: string; + id: string, } onMounted(() => { mail.value.id = props.mailId; - getMailFlowDetail(props.mailId).then((res) => { + getMailFlowDetail(props.mailId).then((res: any) => { console.log(res) + mail.value = res.mail }) })