From 02850b6039d8b2b840d216d86c793f12e4397d10 Mon Sep 17 00:00:00 2001 From: hanchaobo Date: Mon, 5 Feb 2024 09:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=87=8D=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../caseManagement/components/addCase.vue | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/views/caseManagement/components/addCase.vue b/src/views/caseManagement/components/addCase.vue index 5acb42c..558b423 100644 --- a/src/views/caseManagement/components/addCase.vue +++ b/src/views/caseManagement/components/addCase.vue @@ -115,11 +115,11 @@ - - 自然人 - 机构 - - + + 自然人 + 机构 + + - - + @@ -497,17 +497,18 @@ export default { } else if (val == 3) { this.title = "修改案件"; this.modelFlag = true; - this.caseApplicationSelectByIdFn(this.caseData.id); } else if (val == 2) { this.title = "案件详情"; this.modelFlag = true; - this.caseApplicationSelectByIdFn(this.caseData.id); } }, addVisable(val) { if (val) { this.activeName = "first"; this.getTemplateFn(); + if (this.addModifyData != 1) { + this.caseApplicationSelectByIdFn(this.caseData.id); + } } }, }, @@ -610,7 +611,7 @@ export default { } }); }, - clearValidate(){ + clearValidate() { this.$refs["ruleForm"].clearValidate() }, cancel() {