|
|
@ -263,7 +263,6 @@ export default { |
|
|
|
//加载组织数据 |
|
|
|
async getProjectProcess() { |
|
|
|
const url = "/governance/icEvent/process"; |
|
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/gov/project/icEvent/process"; |
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|
icEventId: this.eventId, |
|
|
|
}); |
|
|
@ -326,7 +325,7 @@ export default { |
|
|
|
this.eventInfoData.categoryList = []; |
|
|
|
this.eventInfoData.categoryList.push(this.replayInfo.categoryId); |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else if (this.formData.operationType === "5") { |
|
|
|
this.project = {}; |
|
|
|
this.demand = {}; |
|
|
|
this.replayInfo = this.$refs.ref_process_form_designate.replayInfo; |
|
|
@ -337,6 +336,10 @@ export default { |
|
|
|
this.eventInfoData.categoryList = []; |
|
|
|
this.eventInfoData.categoryList.push(this.replayInfo.categoryId); |
|
|
|
} |
|
|
|
} else if (this.formData.operationType === '4') { |
|
|
|
this.project = {}; |
|
|
|
this.demand = {}; |
|
|
|
this.replayInfo = {}; |
|
|
|
} |
|
|
|
this.formData = { |
|
|
|
...this.eventInfoData, |
|
|
@ -348,7 +351,8 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async submit() { |
|
|
|
if (this.formData.operationType == 0 || this.formData.operationType == 5) { |
|
|
|
if (this.formData.operationType === 0 || this.formData.operationType === 5 |
|
|
|
|| this.formData.operationType === 6 || this.formData.operationType === '4') { |
|
|
|
const url = "/governance/icEvent/add"; |
|
|
|
const { formData } = this; |
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|