From 1fc12b319e2c0375a6f48a6af64419ce277c7f82 Mon Sep 17 00:00:00 2001 From: 21819 Date: Tue, 12 Mar 2024 19:46:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A1=E6=89=B9=E3=80=81?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=B1=BB=E7=BB=84=E4=BB=B6=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9B=E4=BF=AE=E5=A4=8D=E4=B8=89=E7=BA=A7?= =?UTF-8?q?=E6=9C=BA=E6=9E=84=E7=AB=8B=E5=8D=B3=E5=A4=84=E7=90=86=E7=9A=84?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E7=BC=93=E5=AD=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../work/components/ConfirmedCompletion.vue | 1 + src/views/work/components/ReviewComments.vue | 30 +- .../components/templates/MailTypeForm.vue | 125 +++------ .../components/templates/ThreeHandling.vue | 263 +++++------------- 4 files changed, 125 insertions(+), 294 deletions(-) diff --git a/src/views/work/components/ConfirmedCompletion.vue b/src/views/work/components/ConfirmedCompletion.vue index 0634a94..98af01d 100644 --- a/src/views/work/components/ConfirmedCompletion.vue +++ b/src/views/work/components/ConfirmedCompletion.vue @@ -211,6 +211,7 @@ function submit() { emits("update:data", data); emits("submit", "confirmedCompletion"); visible.value = false; + mail.verifyFollowupPolice.name = '' } }); } diff --git a/src/views/work/components/ReviewComments.vue b/src/views/work/components/ReviewComments.vue index 5cbebc5..3ee963b 100644 --- a/src/views/work/components/ReviewComments.vue +++ b/src/views/work/components/ReviewComments.vue @@ -1,28 +1,15 @@ @@ -57,9 +44,15 @@ const props = defineProps({ }, }); watch(() => props.mail.id, () => { + resetFormData() formRef.value?.resetFields(); }) +const resetFormData = () => { + form.leaderEmpNo = '' + form.approvalComment = '' +} + const selectLeaderVisible = ref(false) const leaderType = ref('all') watch(() => props.mail.flowKey, (val) => { @@ -97,5 +90,4 @@ function submit() { }); } - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/work/components/templates/MailTypeForm.vue b/src/views/work/components/templates/MailTypeForm.vue index 176374e..9511c2a 100644 --- a/src/views/work/components/templates/MailTypeForm.vue +++ b/src/views/work/components/templates/MailTypeForm.vue @@ -5,107 +5,49 @@
- +
- - - + + +
- +
- 正常流程 + 正常流程

正常流程,包含接访群众步骤

- 简易流程 + 简易流程

简化流程,不包含接访群众步骤

- - + + - +
- - + + - - + +
@@ -132,12 +74,24 @@ let form = reactive({}); watch( () => props.mailId, (val) => { - form.mailFirstCategory = null; - form.mailSecondCategory = null; - form.mailThreeCategory = null; + resetFormData() } ); +const resetFormData = () => { + form.mailCategory = '' + form.mailLevel = '' + form.simpleFlowFlag = '' + form.invalidationReason = '' + form.secondDeptId = '' + form.threeDeptId = '' + form.mailFirstCategory = null + form.mailSecondCategory = null + form.mailThreeCategory = null + + formRef.value?.resetFields(); +}; + const formRef = ref(); const rules = { @@ -232,6 +186,7 @@ defineExpose({ .el-form { color: #333; } + .radio-tips { font-size: 14px; color: #666; diff --git a/src/views/work/components/templates/ThreeHandling.vue b/src/views/work/components/templates/ThreeHandling.vue index a70d981..8aaed2b 100644 --- a/src/views/work/components/templates/ThreeHandling.vue +++ b/src/views/work/components/templates/ThreeHandling.vue @@ -1,32 +1,18 @@