This commit is contained in:
zsvg
2022-07-02 11:45:04 +08:00
parent 43500ea2a7
commit b1b2a6b70e
2 changed files with 9 additions and 17 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<el-dialog v-model='dialogVisible' title='地址选择' draggable width='90%' >
<div style="height: 700px;overflow: hidden">
<iframe :src="state.amapSrc" frameborder="0" height="100%" width="100%"></iframe>
<!-- <iframe :src="http://localhost:8888/ass/amap.html?adcoo=&adreg=&addet=&adzoo=&v=" frameborder="0" height="100%" width="100%"></iframe>-->
<!-- <iframe :src="http://localhost:868/ass/amap.html?adcoo=&adreg=&addet=&adzoo=&v=" frameborder="0" height="100%" width="100%"></iframe>-->
</div>
<!-- <template #footer>-->
<!-- <span class='dialog-footer'>-->
+8 -16
View File
@@ -32,10 +32,8 @@ export async function listDelete(state: any) {
type: 'warning',
})
.then(async () => {
await request({
url: state.url + '/' + delIds,
method: 'delete',
});
// ElMessage.warning('演示模式,禁用了删除');
await request({url: state.url + '/' + delIds, method: 'delete',});
await listQuery(state);
})
.catch(() => ElMessage.info('已取消删除'));
@@ -48,10 +46,8 @@ export const listItemDelete = async (state: any, id: string) => {
type: 'warning',
})
.then(async () => {
await request({
url: state.url + '/' + id,
method: 'delete',
});
// ElMessage.warning('演示模式,禁用了删除');
await request({url: state.url + '/' + id, method: 'delete',});
await listQuery(state);
})
.catch(() => ElMessage.info('已取消删除'));
@@ -85,10 +81,8 @@ export async function treeDelete(state: any) {
type: 'warning',
})
.then(async () => {
await request({
url: state.url + '/' + delIds,
method: 'delete',
});
// ElMessage.warning('演示模式,禁用了删除');
await request({url: state.url + '/' + delIds, method: 'delete',});
await treeQuery(state);
})
.catch(() => ElMessage.info('已取消删除'));
@@ -101,10 +95,8 @@ export const treeItemDelete = async (state: any, id: string) => {
type: 'warning',
})
.then(async () => {
await request({
url: state.url + '/' + id,
method: 'delete',
});
// ElMessage.warning('演示模式,禁用了删除');
await request({url: state.url + '/' + id, method: 'delete',});
await treeQuery(state);
})
.catch(() => ElMessage.info('已取消删除'));