fix 标准入库/变更、标准征求意见、法规采购流程保存
This commit is contained in:
@@ -1164,6 +1164,7 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.basicTaskInfoDTO.commitFlag = 1 // 同意就传1,驳回传2,其他都为空
|
||||||
this.loading = true
|
this.loading = true
|
||||||
agreeConsultationProcess(formData).then(res => {
|
agreeConsultationProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
@@ -1185,6 +1186,7 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.basicTaskInfoDTO.commitFlag = 2 // 同意就传1,驳回传2,其他都为空
|
||||||
this.loading = true
|
this.loading = true
|
||||||
rejectConsultationProcess(formData).then(res => {
|
rejectConsultationProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
@@ -907,7 +907,7 @@ export default {
|
|||||||
formData.businessId = this.businessId
|
formData.businessId = this.businessId
|
||||||
formData.draftId = this.$route.query.draftId
|
formData.draftId = this.$route.query.draftId
|
||||||
// saveSource:从待办进入保存--1;发起/草稿页面--2
|
// saveSource:从待办进入保存--1;发起/草稿页面--2
|
||||||
if (this.currentNode !== FGEntryChangeProcessNode.initiate.value || this.$route.query.processInstanceId) {
|
if (this.$route.query.processInstanceId) {
|
||||||
formData.saveSource = 1
|
formData.saveSource = 1
|
||||||
} else {
|
} else {
|
||||||
formData.saveSource = 2
|
formData.saveSource = 2
|
||||||
@@ -962,6 +962,7 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.basicTaskInfoDTO.commitFlag = 1 // 同意就传1,驳回传2,其他都为空
|
||||||
this.loading = true
|
this.loading = true
|
||||||
agreeStandardECProcess(formData).then(res => {
|
agreeStandardECProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
@@ -983,6 +984,7 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.basicTaskInfoDTO.commitFlag = 2 // 同意就传1,驳回传2,其他都为空
|
||||||
this.loading = true
|
this.loading = true
|
||||||
rejectStandardECProcess(formData).then(res => {
|
rejectStandardECProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
@@ -523,6 +523,7 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.basicTaskInfoDTO.commitFlag = 1 // 同意就传1,驳回传2,其他都为空
|
||||||
this.loading = true
|
this.loading = true
|
||||||
agreeProcurementProcess(formData).then(res => {
|
agreeProcurementProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
@@ -544,6 +545,7 @@ export default {
|
|||||||
if (!formData) {
|
if (!formData) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
formData.basicTaskInfoDTO.commitFlag = 2 // 同意就传1,驳回传2,其他都为空
|
||||||
this.loading = true
|
this.loading = true
|
||||||
rejectProcurementProcess(formData).then(res => {
|
rejectProcurementProcess(formData).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user