查询字段可以用备注中文修改
parent
46204fb3ad
commit
e643b35891
|
|
@ -293,7 +293,7 @@
|
||||||
const headData = ref();
|
const headData = ref();
|
||||||
const [
|
const [
|
||||||
registerTable,
|
registerTable,
|
||||||
{ reload, getSelectRows, clearSelectedRowKeys, setTableData, setColumns, setPagination },
|
{ reload, getSelectRows, clearSelectedRowKeys, setTableData, setColumns, setPagination, getColumns },
|
||||||
] = useTable({
|
] = useTable({
|
||||||
// 表格名称
|
// 表格名称
|
||||||
title: '数据列表',
|
title: '数据列表',
|
||||||
|
|
@ -605,10 +605,11 @@
|
||||||
message.warning('当前图层没有关联空间数据表');
|
message.warning('当前图层没有关联空间数据表');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
let realUseKeyWord = getColumns().find(item => item.dataIndex == keyWord.value || item.title == keyWord.value)
|
||||||
const querys = {
|
const querys = {
|
||||||
...searchData,
|
...searchData,
|
||||||
tablename: tableName.value,
|
tablename: tableName.value,
|
||||||
keyword: keyWord.value,
|
keyword: realUseKeyWord? realUseKeyWord.dataIndex: '',
|
||||||
keyvalue: keyValue.value,
|
keyvalue: keyValue.value,
|
||||||
};
|
};
|
||||||
tableDataByTableName(querys).then((res) => {
|
tableDataByTableName(querys).then((res) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue