diff --git a/src/views/modules/shequzhili/event/cpts/event-info.vue b/src/views/modules/shequzhili/event/cpts/event-info.vue index 97191c1b4..d93b18d47 100644 --- a/src/views/modules/shequzhili/event/cpts/event-info.vue +++ b/src/views/modules/shequzhili/event/cpts/event-info.vue @@ -443,7 +443,6 @@ changeName(val) { }, async handelDispose() { - console.log("handelDispose......",this.pageTypeCopy); this.$refs.ref_processinfo_dispose.getProcessInfo(); if (this.$refs.ref_processinfo_dispose.okflag) { this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType; @@ -465,6 +464,7 @@ changeName(val) { } await this.submitDispose(url, this.replayInfo); } else { + return false; } }, diff --git a/src/views/modules/shequzhili/event/cpts/process-form-complete.vue b/src/views/modules/shequzhili/event/cpts/process-form-complete.vue index 6af0c8620..2b98d4251 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-complete.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-complete.vue @@ -727,7 +727,6 @@ showHotline:false, attachmentType: file.raw.type, attachmentUrl: res.data.url, }); - console.log(this.docList); } else { this.$message.error(res.msg); } @@ -738,7 +737,7 @@ showHotline:false, (item) => item.url == file.response.data.url ); this.docList.splice(index, 1); - console.log(this.docList); + }, async getReplayInfo() { if (this.required&& this.audioList.length==0) { @@ -746,6 +745,7 @@ showHotline:false, return } this.okflag = false; + this.$refs["ref_form"].validate((valid, messageObj) => { if (!valid) { app.util.validateRule(messageObj); diff --git a/src/views/modules/shequzhili/event/cpts/process-form.vue b/src/views/modules/shequzhili/event/cpts/process-form.vue index 1aab25a16..43127e72c 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form.vue @@ -193,7 +193,9 @@ export default { this.replayInfo.files = [...this.$refs.ref_process_form_complete.imgList,...this.$refs.ref_process_form_complete.audioList,...this.$refs.ref_process_form_complete.docList] if(this.pageType === 'check'){ this.replayInfo.operationType = '12'; - this.replayInfo.files = [...this.$refs.ref_process_form_complete.examineImgList] + if (this.$refs.ref_process_form_complete.examineImgList) { + this.replayInfo.files = [...this.$refs.ref_process_form_complete.examineImgList] + } } if (this.$refs.ref_process_form_complete.okflag) { this.replayInfo = this.$refs.ref_process_form_complete.formData