update 征求意见流程

This commit is contained in:
赵霄
2023-11-28 17:59:13 +08:00
parent d770645a23
commit bf2bd7bafe
@@ -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