diff --git a/src/views/modules/communityParty/heart/heartForm.vue b/src/views/modules/communityParty/heart/heartForm.vue index 03b84a36..edcb283a 100644 --- a/src/views/modules/communityParty/heart/heartForm.vue +++ b/src/views/modules/communityParty/heart/heartForm.vue @@ -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"