update 法规采购流程
This commit is contained in:
@@ -148,6 +148,10 @@ export default {
|
|||||||
case '2':
|
case '2':
|
||||||
path = '/workCenter/StandardConsultationProcess'
|
path = '/workCenter/StandardConsultationProcess'
|
||||||
break
|
break
|
||||||
|
// 法规采购流程
|
||||||
|
case '6':
|
||||||
|
path = '/workCenter/StandardProcurementProcess'
|
||||||
|
break
|
||||||
// 企标立项、变更计划
|
// 企标立项、变更计划
|
||||||
case '7':
|
case '7':
|
||||||
path = '/workCenter/enterpriseStandardInitChange/planApprovalChangeFlow'
|
path = '/workCenter/enterpriseStandardInitChange/planApprovalChangeFlow'
|
||||||
|
|||||||
@@ -244,6 +244,7 @@ export default {
|
|||||||
created () {
|
created () {
|
||||||
if (this.$route.query.processInstanceId || this.$route.query.draftId) {
|
if (this.$route.query.processInstanceId || this.$route.query.draftId) {
|
||||||
this.currentNode = this.$route.query.nodeId
|
this.currentNode = this.$route.query.nodeId
|
||||||
|
this.initProcessInfo()
|
||||||
} else {
|
} else {
|
||||||
this.currentNode = ProcurementProcessNodes.initiate.value
|
this.currentNode = ProcurementProcessNodes.initiate.value
|
||||||
}
|
}
|
||||||
@@ -289,6 +290,26 @@ export default {
|
|||||||
this.dataSource.push(record)
|
this.dataSource.push(record)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
initProcessInfo () {
|
||||||
|
this.loading = true
|
||||||
|
const params = {
|
||||||
|
processInstanceId: this.$route.query.processInstanceId,
|
||||||
|
draftId: this.$route.query.draftId,
|
||||||
|
taskId: this.$route.query.taskId
|
||||||
|
}
|
||||||
|
initProcurementProcess(params).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
const { result } = res
|
||||||
|
this.processInfo = Object.assign({}, result.basicProcessInfoDTO || {})
|
||||||
|
this.dataSource = result.businessInfoDTO || []
|
||||||
|
this.approvalInfo = Object.assign({}, result.basicTaskInfoDTO || {})
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.processInfoForm.setFieldsValue(this.processInfo)
|
||||||
|
this.approvalInfoForm.setFieldsValue(this.approvalInfo)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
dealFormData (isSave) {
|
dealFormData (isSave) {
|
||||||
let flag = true, formData = {}, processInfo = {}, approvalInfo = {}, businessInfo = [], userInfoMap = {}
|
let flag = true, formData = {}, processInfo = {}, approvalInfo = {}, businessInfo = [], userInfoMap = {}
|
||||||
if (isSave) {
|
if (isSave) {
|
||||||
|
|||||||
Reference in New Issue
Block a user