Browse Source

选择所属网格加agencyId入参

feature
mk 2 years ago
parent
commit
84d2bd5689
  1. 8
      src/views/modules/communityService/labelConfig/addForm.vue

8
src/views/modules/communityService/labelConfig/addForm.vue

@ -437,7 +437,6 @@ export default {
}, },
// //
async handleChangeFieldsName(row, index, type, state) { async handleChangeFieldsName(row, index, type, state) {
console.log(row);
if (!state) { if (!state) {
this.changeFormState = true; this.changeFormState = true;
} }
@ -455,8 +454,6 @@ export default {
// this.tableData[index].colVal = '' // this.tableData[index].colVal = ''
// this.tableData[index].queryType = '' // this.tableData[index].queryType = ''
} else if ((row.dataSource == "resi"||row.dataSource == "house") && row.itemId != "") { } else if ((row.dataSource == "resi"||row.dataSource == "house") && row.itemId != "") {
console.log(row);
arr = row.itemIdOpction.filter((item) => item.itemId == row.itemId); arr = row.itemIdOpction.filter((item) => item.itemId == row.itemId);
this.tableData[index].tableName = arr[0].tableName; this.tableData[index].tableName = arr[0].tableName;
this.tableData[index].colKey = arr[0].columnName; this.tableData[index].colKey = arr[0].columnName;
@ -478,6 +475,11 @@ export default {
params = JSON.parse(arr[0].optionSourceParam); params = JSON.parse(arr[0].optionSourceParam);
} else { } else {
url = arr[0].optionSourceValue; url = arr[0].optionSourceValue;
if(url == '/gov/org/customergrid/gridoption'){
params = {
agencyId: this.$store.state.user.agencyId ,
}
}
} }
const { data, code, msg } = await requestPost(url, params); const { data, code, msg } = await requestPost(url, params);

Loading…
Cancel
Save