diff --git a/src/views/modules/shequzhili/analysis/index.vue b/src/views/modules/shequzhili/analysis/index.vue index 7d1f6d783..3e61da04b 100644 --- a/src/views/modules/shequzhili/analysis/index.vue +++ b/src/views/modules/shequzhili/analysis/index.vue @@ -169,6 +169,9 @@ prop="proportion" label="同级占比" > +
diff --git a/src/views/modules/shequzhili/event/cpts/process-form-assign.vue b/src/views/modules/shequzhili/event/cpts/process-form-assign.vue index 53b035b41..03810e14f 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-assign.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-assign.vue @@ -88,7 +88,7 @@ export default { isCascaderDisabled:false, customerId: localStorage.getItem("customerId"), formData: { - videoNeedFlag:"",//是否需要录音。是为1不是为0 + videoNeedFlag:"1",//是否需要录音。是为1不是为0 operationType: "5", //处理方式[0:已回复 5、指派 6、完成并回复] handlingReq:'',//办理要求 transferAdvice:'',//转办意见 @@ -215,10 +215,12 @@ export default { this.formData.handlingReq = this.eventDetailCopy.handlingReq; this.formData.transferAdvice = this.eventDetailCopy.transferAdvice; - let dateTime = new Date(new Date(this.eventDetailCopy.timeLimit).getTime()- (1000 * 60 * 60 * 24)) - let yesterday = `${dateTime.getFullYear()}-${(dateTime.getMonth() +1)}-${dateTime.getDate()}` - console.log('yesterday',yesterday) - this.formData.timeLimit = yesterday + ' ' + '16:00:00' + if (this.eventDetailCopy.timeLimit) { + let dateTime = new Date(new Date(this.eventDetailCopy.timeLimit).getTime() - (1000 * 60 * 60 * 24)) + let yesterday = `${dateTime.getFullYear()}-${(dateTime.getMonth() + 1)}-${dateTime.getDate()}` + console.log('yesterday', yesterday) + this.formData.timeLimit = yesterday + ' ' + '16:00:00' + } this.formData.contactTime = this.$dayjs(new Date(new Date().getTime() + (1000 * 60 * 60))).format('YYYY-MM-DD HH:mm:ss') } }, 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 941ad8c59..9c492d591 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-complete.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-complete.vue @@ -9,7 +9,7 @@
- + item.attachmentType==='image') + this.audioList = this.formData.internalFile.filter(item=>item.attachmentType==='voice') + this.docList = this.formData.internalFile.filter(item=>item.attachmentType == 'doc') + } + } + }, }, created() { }, mounted() { + console.log(this.formData,"formData,formDataformData"); + console.log(this.eventDetailData,"alallalalalalalal"); if (this.eventDetailData.videoNeedFlag=="1") { this.required=true @@ -516,6 +517,7 @@ export default { attachmentType: file.raw.type, attachmentUrl: res.data.url, }); + this.formData.files.push(this.audioList) console.log(this.formData.files); } else { this.$message.error(res.msg);