|
|
@ -314,7 +314,7 @@ export default { |
|
|
|
this.$refs.ref_processinfo_add.getProcessInfo(); |
|
|
|
this.formData.operationType = this.$refs.ref_processinfo_add.operationType; |
|
|
|
this.eventInfoData.operationType = this.$refs.ref_processinfo_add.operationType; |
|
|
|
if (this.formData.operationType === "0" || this.formData.operationType === "6") { |
|
|
|
if (this.formData.operationType === '0' || this.formData.operationType === '6') { |
|
|
|
this.project = {}; |
|
|
|
this.demand = {}; |
|
|
|
this.replayInfo = this.$refs.ref_processinfo_add.replayInfo; |
|
|
@ -325,9 +325,10 @@ export default { |
|
|
|
this.eventInfoData.categoryList = []; |
|
|
|
this.eventInfoData.categoryList.push(this.replayInfo.categoryId); |
|
|
|
} |
|
|
|
} else if (this.formData.operationType === "5") { |
|
|
|
} else if (this.formData.operationType === '5') { |
|
|
|
this.project = {}; |
|
|
|
this.demand = {}; |
|
|
|
console.log(this.$refs.ref_process_form_designate.replayInfo); |
|
|
|
this.replayInfo = this.$refs.ref_process_form_designate.replayInfo; |
|
|
|
//回复属性赋值 |
|
|
|
this.eventInfoData.content = this.replayInfo.content; |
|
|
@ -351,8 +352,8 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async submit() { |
|
|
|
if (this.formData.operationType === 0 || this.formData.operationType === 5 |
|
|
|
|| this.formData.operationType === 6 || this.formData.operationType === '4') { |
|
|
|
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, { |
|
|
|