From 1241105a41a03a2a512a8a79adc507f8cd60b1fb Mon Sep 17 00:00:00 2001 From: luyan Date: Fri, 21 Jul 2023 16:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A4=BE=E5=8C=BA=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E5=9B=9E=E6=98=BE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/custom/gridforceinfo-add-or-update.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/modules/custom/gridforceinfo-add-or-update.vue b/src/views/modules/custom/gridforceinfo-add-or-update.vue index 29975b00..a23b1c9b 100755 --- a/src/views/modules/custom/gridforceinfo-add-or-update.vue +++ b/src/views/modules/custom/gridforceinfo-add-or-update.vue @@ -17,13 +17,13 @@ @@ -79,7 +79,8 @@ export default { dutyCategoryId: '', remark: '', deptId: '', - allDeptIds: [] + allDeptIds: [], + selectedDeptIds: [] }, loading: false, options: [], @@ -131,6 +132,9 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.getInfo() + } else { + this.dataForm.allDeptIds = [] + this.dataForm.deptId = '' } }) },