|
@ -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); |
|
|