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 @@