From e34aa22e05d13a09a7d506e81545beb0100a05c0 Mon Sep 17 00:00:00 2001 From: luyan Date: Mon, 18 Sep 2023 16:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E6=B4=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/shequzhili/event/cpts/event-info.vue | 9 +++++---- src/views/modules/shequzhili/event/cpts/myCascader.vue | 2 +- .../shequzhili/event/cpts/process-form-designate.vue | 8 +++++--- src/views/modules/shequzhili/event/eventList.vue | 1 + 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue index 77a0ab5d2..2fa926ec4 100644 --- a/src/views/modules/shequzhili/event/cpts/event-info.vue +++ b/src/views/modules/shequzhili/event/cpts/event-info.vue @@ -314,7 +314,7 @@ export default { this.$refs.ref_processinfo_add.getProcessInfo(); this.formData.operationType = this.$refs.ref_processinfo_add.operationType; this.eventInfoData.operationType = this.$refs.ref_processinfo_add.operationType; - if (this.formData.operationType === "0" || this.formData.operationType === "6") { + if (this.formData.operationType === '0' || this.formData.operationType === '6') { this.project = {}; this.demand = {}; this.replayInfo = this.$refs.ref_processinfo_add.replayInfo; @@ -325,9 +325,10 @@ export default { this.eventInfoData.categoryList = []; this.eventInfoData.categoryList.push(this.replayInfo.categoryId); } - } else if (this.formData.operationType === "5") { + } else if (this.formData.operationType === '5') { this.project = {}; this.demand = {}; + console.log(this.$refs.ref_process_form_designate.replayInfo); this.replayInfo = this.$refs.ref_process_form_designate.replayInfo; //回复属性赋值 this.eventInfoData.content = this.replayInfo.content; @@ -351,8 +352,8 @@ export default { }, async submit() { - if (this.formData.operationType === 0 || this.formData.operationType === 5 - || this.formData.operationType === 6 || this.formData.operationType === '4') { + if (this.formData.operationType === '0' || this.formData.operationType === '5' + || this.formData.operationType === '6' || this.formData.operationType === '4') { const url = "/governance/icEvent/add"; const { formData } = this; const { data, code, msg } = await requestPost(url, { diff --git a/src/views/modules/shequzhili/event/cpts/myCascader.vue b/src/views/modules/shequzhili/event/cpts/myCascader.vue index e5e34a7bc..278d6a138 100644 --- a/src/views/modules/shequzhili/event/cpts/myCascader.vue +++ b/src/views/modules/shequzhili/event/cpts/myCascader.vue @@ -51,4 +51,4 @@ export default { watch: {}, }; -> \ No newline at end of file + \ No newline at end of file diff --git a/src/views/modules/shequzhili/event/cpts/process-form-designate.vue b/src/views/modules/shequzhili/event/cpts/process-form-designate.vue index 33b644c93..a89ee33e7 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-designate.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-designate.vue @@ -8,7 +8,7 @@ -->