From 30b4ded5b2fddddae588c17a7aa6f2c9404c1031 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 24 May 2024 08:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=8F=82=E7=BD=AE=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shequzhili/eventOld/cpts/event-info.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue index 35279cf92..c93c7bcd9 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue @@ -504,7 +504,12 @@ export default { this.formData.agencyId = ""; this.formData.gridId = ""; } - this.formData.openFlag = this.formData.operationType == "7"?1:0 + if(this.formData.operationType == "7"){ + this.formData.openFlag = 1 + this.formData.operationType = "" + }else{ + this.formData.openFlag = 0 + } const url = "/governance/icEventOld/add"; const { data, code, msg } = await requestPost(url, { ...this.formData, @@ -540,7 +545,7 @@ export default { this.replayInfo.icEventId = this.eventId; if(this.formData.operationType === '7'){ this.replayInfo.openFlag = 1 - this.replayInfo.operationType = '7'//不可以openFlag为true时去掉校验吗? + this.replayInfo.operationType = ''//不可以openFlag为true时去掉校验吗? this.replayInfo.content = '1111'//不可以openFlag为true时去掉校验吗? }else{ this.replayInfo.openFlag = 0