Commit 516f4fd4 authored by 耿迪迪's avatar 耿迪迪

坐标拾取关闭按钮 gengdidi

parent 7e82206c
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
<el-dialog <el-dialog
title="拾取坐标" title="拾取坐标"
:visible.sync="dialogTableVisible" :visible.sync="dialogTableVisible"
:show-close="false" :before-close="handleClose"
:close-on-click-modal="false"
> >
<el-row class="lt"> <el-row class="lt">
...@@ -112,6 +111,9 @@ ...@@ -112,6 +111,9 @@
//同Marker的Option设置 //同Marker的Option设置
}); });
}, },
handleClose(){
this.$emit('dialogcancelFun');
},
search(){ search(){
this.placeSearch.search(this.keyWorld); //关键字查询查询 this.placeSearch.search(this.keyWorld); //关键字查询查询
} }
......
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
<el-dialog <el-dialog
title="拾取坐标" title="拾取坐标"
:visible.sync="dialogTableVisible" :visible.sync="dialogTableVisible"
:show-close="false" :before-close="handleClose"
:close-on-click-modal="false"
> >
<div style="postion:relative"> <div style="postion:relative">
<el-row :span="8" class="button"> <el-row :span="8" class="button">
...@@ -89,6 +88,9 @@ ...@@ -89,6 +88,9 @@
search(){ search(){
this.placeSearch.search(this.keyWorld); //关键字查询查询 this.placeSearch.search(this.keyWorld); //关键字查询查询
}, },
handleClose(){
this.$emit('dialogcancelFun');
},
barClose() { barClose() {
console.log("window"); console.log("window");
this.deviceType = false; this.deviceType = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment