查询字段可以用备注中文修改

main
zhufu 2025-05-16 11:24:12 +08:00
parent 46204fb3ad
commit e643b35891
1 changed files with 3 additions and 2 deletions

View File

@ -293,7 +293,7 @@
const headData = ref();
const [
registerTable,
{ reload, getSelectRows, clearSelectedRowKeys, setTableData, setColumns, setPagination },
{ reload, getSelectRows, clearSelectedRowKeys, setTableData, setColumns, setPagination, getColumns },
] = useTable({
//
title: '数据列表',
@ -605,10 +605,11 @@
message.warning('当前图层没有关联空间数据表');
return;
}
let realUseKeyWord = getColumns().find(item => item.dataIndex == keyWord.value || item.title == keyWord.value)
const querys = {
...searchData,
tablename: tableName.value,
keyword: keyWord.value,
keyword: realUseKeyWord? realUseKeyWord.dataIndex: '',
keyvalue: keyValue.value,
};
tableDataByTableName(querys).then((res) => {