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