|
|
|
@ -414,7 +414,7 @@ export default { |
|
|
|
|
|
|
|
//加载组织数据 |
|
|
|
async getProjectProcess() { |
|
|
|
const url = "/governance/icEvent/process"; |
|
|
|
const url = "/governance/icEventOld/process"; |
|
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/gov/project/icEvent/process"; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|
@ -549,7 +549,7 @@ export default { |
|
|
|
(this.formData.operationType == 0 && this.eventInfoData.content) || |
|
|
|
this.formData.operationType == 4 |
|
|
|
) { |
|
|
|
const url = "/governance/icEvent/add"; |
|
|
|
const url = "/governance/icEventOld/add"; |
|
|
|
const { formData } = this; |
|
|
|
const { data, code, msg } = await requestPost(url, { |
|
|
|
...formData, |
|
|
|
@ -582,7 +582,7 @@ export default { |
|
|
|
this.replayInfo.icEventId = this.eventId; |
|
|
|
console.log("replayInfo", this.replayInfo); |
|
|
|
//回复属性赋值 |
|
|
|
let url = "/governance/icEvent/reply"; |
|
|
|
let url = "/governance/icEventOld/reply"; |
|
|
|
await this.submitDispose(url, this.replayInfo); |
|
|
|
} else if (this.formData.operationType === "1") { |
|
|
|
this.replayInfo = {}; |
|
|
|
@ -591,7 +591,7 @@ export default { |
|
|
|
//项目的属性同事件一样 |
|
|
|
this.project.icEventId = this.eventId; |
|
|
|
console.log("projectInfo", this.project); |
|
|
|
let url = "/governance/icEvent/icEventToProject"; |
|
|
|
let url = "/governance/icEventOld/icEventToProject"; |
|
|
|
await this.submitDispose(url, this.project); |
|
|
|
} else if (this.formData.operationType === "2") { |
|
|
|
this.replayInfo = {}; |
|
|
|
@ -600,7 +600,7 @@ export default { |
|
|
|
//需求的属性同事件一样 |
|
|
|
this.demand.icEventId = this.eventId; |
|
|
|
console.log("demond", this.demand); |
|
|
|
let url = "/governance/icEvent/icEventToDemand"; |
|
|
|
let url = "/governance/icEventOld/icEventToDemand"; |
|
|
|
await this.submitDispose(url, this.demand); |
|
|
|
} else if (this.formData.operationType === "3") { |
|
|
|
this.replayInfo = {}; |
|
|
|
@ -610,7 +610,7 @@ export default { |
|
|
|
//项目的属性同事件一样 |
|
|
|
|
|
|
|
console.log("issueInfo", this.issueInfo); |
|
|
|
let url = "/governance/icEvent/icEventToIssue"; |
|
|
|
let url = "/governance/icEventOld/icEventToIssue"; |
|
|
|
await this.submitDispose(url, this.issueInfo); |
|
|
|
} else { |
|
|
|
this.$message.info("请选择一种处理方式"); |
|
|
|
|