Compare commits
2 Commits
489b0bc051
...
d17ed1ffae
| Author | SHA1 | Date |
|---|---|---|
|
|
d17ed1ffae | |
|
|
faeef4c318 |
|
|
@ -111,6 +111,7 @@
|
|||
if (!selectItem.value) {
|
||||
return createMessage.warning('请选择要编辑的数据');
|
||||
}
|
||||
fetch();
|
||||
emit('edit', selectItem);
|
||||
};
|
||||
function createIcon({ level }) {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ export const formSchema: FormSchema[] = [
|
|||
},
|
||||
},
|
||||
{
|
||||
field: 'serverId',
|
||||
field: 'tableName',
|
||||
component: 'ApiSelect',
|
||||
label: '空间数据表',
|
||||
required: true,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue