diff --git a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue index e48b5e6b..383815e6 100644 --- a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue +++ b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue @@ -792,10 +792,13 @@ export default { initProcessDetailData () { this.loading = true const params = { - processInstanceId: this.$route.query.processInstanceId, - draftId: this.$route.query.draftId, taskId: this.$route.query.taskId } + if (this.$route.query.draftId) { + params.draftId = this.$route.query.draftId + } else { + params.processInstanceId = this.$route.query.processInstanceId + } queryConsultationProcessDetail(params).then(async res => { if (res.success) { const { result } = res @@ -825,7 +828,7 @@ export default { this.dispatchInfoForm.setFieldsValue(this.dispatchInfo) }) } else { - this.$messagee.warning(res.message) + this.$message.warning(res.message) } }).finally(() => { this.loading = false