|
|
@ -549,7 +549,7 @@ export default { |
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
debugger |
|
|
|
|
|
|
|
this.formData = JSON.parse(JSON.stringify(data)); |
|
|
|
this.agencyIdArray = this.formData.sponsorPath.split(',') |
|
|
|
if (this.formData.actContent && this.formData.actContent.length > 0) { |
|
|
@ -606,6 +606,12 @@ export default { |
|
|
|
this.formData.customerId = this.customerId |
|
|
|
|
|
|
|
let url = "/heart/work/act/publishV2" |
|
|
|
if (this.actId) { |
|
|
|
url = '/heart/work/act/republishV2' |
|
|
|
} else { |
|
|
|
url = "/heart/work/act/publishV2" |
|
|
|
} |
|
|
|
|
|
|
|
// let url = "http://yapi.elinkservice.cn/mock/245/gov/org/placepatrolrecord/add" |
|
|
|
|
|
|
|
|
|
|
|