Compare commits

...

2 Commits

Author SHA1 Message Date
刘妍 d17ed1ffae Merge branch 'main' of http://123.132.248.154:10000/gitY/LinYeFangHuo 2025-05-06 16:51:14 +08:00
刘妍 faeef4c318 优化图层管理 2025-05-06 16:50:57 +08:00
3 changed files with 8 additions and 2 deletions

View File

@ -111,6 +111,7 @@
if (!selectItem.value) {
return createMessage.warning('请选择要编辑的数据');
}
fetch();
emit('edit', selectItem);
};
function createIcon({ level }) {

View File

@ -64,7 +64,7 @@ export const formSchema: FormSchema[] = [
},
},
{
field: 'serverId',
field: 'tableName',
component: 'ApiSelect',
label: '空间数据表',
required: true,

View File

@ -310,7 +310,7 @@
};
const handleSelect = (record) => {
tableName.value = record.serverId;
tableName.value = record.tableName;
applicationName.value = record.applicationName;
tableVisible.value = true;
keyWord.value = null;
@ -468,6 +468,11 @@
getList();
};
const getList = () => {
if (!tableName.value) {
tableVisible.value = false;
message.warning('当前图层没有关联空间数据表');
return;
}
const querys = {
...searchData,
tablename: tableName.value,