mirror of
https://gitee.com/vben/vben-web.git
synced 2026-10-06 14:13:10 +08:00
~
This commit is contained in:
@@ -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
@@ -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('已取消删除'));
|
||||
|
||||
Reference in New Issue
Block a user