Browse Source

Revert "政策找人新增接口字段联调"

This reverts commit d5ba85a3e9.
V1.0
mk 3 years ago
parent
commit
5d6e6919d5
  1. 1
      src/views/modules/communityService/gxxq/addForm.vue
  2. 18
      src/views/modules/communityService/policy/addPolicy.vue

1
src/views/modules/communityService/gxxq/addForm.vue

@ -731,6 +731,7 @@ export default {
isOk = true;
}else{
isOk = false;
console.log( this.newArr,'没有清空?');
this.$message.error("请选择正确的网格,社区,楼栋!");
return
}

18
src/views/modules/communityService/policy/addPolicy.vue

@ -797,27 +797,17 @@ export default {
async addFuwu() {
//
await this.operationOption();
console.log( this.fileList);
let arr = []
this.fileList.forEach(item=>{
arr.push({
name: item.attachmentName,
type: item.attachmentFormat,
duration :0,
url: item.attachmentUrl,
format:item.attachmentType,
})
})
this.formData.attachmentList = arr
console.log( this.formData.attachmentList );
this.formData.attachmentList = [...this.fileList];
this.formData.assignInfo = this.newFormData;
let url = "/governance/policy/addPolicy";
if (this.formType === "add" || this.formType === "copy") {
url = "/governance/policy/addPolicy";
this.formData.policyId = "";
} else {
url = "/heart/policy/update";
this.formData.policyId = this.policyId;
}
// const url = 'http://yapi.elinkservice.cn/mock/245/heart/icServiceProject/service/initiate'

Loading…
Cancel
Save