update 征求意见流程
This commit is contained in:
@@ -792,10 +792,13 @@ export default {
|
|||||||
initProcessDetailData () {
|
initProcessDetailData () {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const params = {
|
const params = {
|
||||||
processInstanceId: this.$route.query.processInstanceId,
|
|
||||||
draftId: this.$route.query.draftId,
|
|
||||||
taskId: this.$route.query.taskId
|
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 => {
|
queryConsultationProcessDetail(params).then(async res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
const { result } = res
|
const { result } = res
|
||||||
@@ -825,7 +828,7 @@ export default {
|
|||||||
this.dispatchInfoForm.setFieldsValue(this.dispatchInfo)
|
this.dispatchInfoForm.setFieldsValue(this.dispatchInfo)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$messagee.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user