fix 发起节点草稿位置调取接口的判断
This commit is contained in:
@@ -1148,7 +1148,7 @@ export default {
|
||||
}
|
||||
this.loading = true
|
||||
let func
|
||||
if (!this.currentNode || (this.currentNode.indexOf(ConsultationProcess.initiate.value) === 0 && !this.$route.query.processInstanceId)) {
|
||||
if (!this.currentNode || (this.currentNode.indexOf(ConsultationProcess.initiate.value) === 0 && (!this.$route.query.processInstanceId || this.$route.query.draftId))) {
|
||||
func = initiateConsultationProcess
|
||||
const saveForm = this.dealFormData(true)
|
||||
if (saveForm) {
|
||||
|
||||
@@ -991,7 +991,7 @@ export default {
|
||||
return
|
||||
}
|
||||
let submitFunc
|
||||
if (this.currentNode === FGEntryChangeProcessNode.initiate.value && !this.$route.query.processInstanceId) {
|
||||
if (this.currentNode === FGEntryChangeProcessNode.initiate.value && (!this.$route.query.processInstanceId || this.$route.query.draftId)) {
|
||||
submitFunc = initiateStandardECProcess
|
||||
const saveForm = this.dealSaveJsonData()
|
||||
if (saveForm) {
|
||||
|
||||
@@ -498,7 +498,7 @@ export default {
|
||||
return
|
||||
}
|
||||
let submitFunc
|
||||
if (this.currentNode === ProcurementProcessNodes.initiate.value && !this.$route.query.processInstanceId) {
|
||||
if (this.currentNode === ProcurementProcessNodes.initiate.value && (!this.$route.query.processInstanceId || this.$route.query.draftId)) {
|
||||
submitFunc = initProcurementProcess
|
||||
const saveForm = this.dealFormData(true)
|
||||
if (saveForm) {
|
||||
|
||||
Reference in New Issue
Block a user