点位取消

lijinlong
吕天方 1 year ago
parent 624b96ceb7
commit 215fdd3dcc

@ -397,7 +397,7 @@
<!-- <video-wall ref="videoWall"></video-wall> --> <!-- <video-wall ref="videoWall"></video-wall> -->
<alone-video ref="aloneVideo"></alone-video> <alone-video ref="aloneVideo"></alone-video>
<shop ref="shop" width="50%" title="商铺详情查看" /> <shop ref="shop" width="50%" title="商铺详情查看" />
<new-event ref="newEvent"></new-event> <new-event ref="newEvent" @cancel="cancel"></new-event>
<!-- 强制观摩弹框 --> <!-- 强制观摩弹框 -->
<el-dialog <el-dialog
:visible.sync="showVideo" :visible.sync="showVideo"
@ -827,7 +827,7 @@ export default {
// console.log(addressName,'this.addressName'); // console.log(addressName,'this.addressName');
if(this.layers.layer4) { if(this.layers.layer4) {
// e.target.getExtData().name; e.target.getExtData()extDataname // e.target.getExtData().name; e.target.getExtData()extDataname
this.$refs.newEvent.open({lnglat:e.lnglat,address:addressName,meshOccurs:e.target.getExtData().name}); this.$refs.newEvent.open({lnglat:e.lnglat,address:addressName,meshOccurs:e.target.getExtData().name,marker:marker});
this.isPositioning = false; this.isPositioning = false;
} }
}) })
@ -1822,7 +1822,7 @@ export default {
// console.log(addressName,'this.addressName'); // console.log(addressName,'this.addressName');
if(this.layers.layer4) { if(this.layers.layer4) {
// e.target.getExtData().name; e.target.getExtData()extDataname // e.target.getExtData().name; e.target.getExtData()extDataname
this.$refs.newEvent.open({lnglat:latlng,address:addressName,meshOccurs:name}); this.$refs.newEvent.open({lnglat:latlng,address:addressName,meshOccurs:name,marker:marker});
this.isPositioning = false; this.isPositioning = false;
} }
}) })
@ -2737,6 +2737,10 @@ export default {
this.isPositioning = true; this.isPositioning = true;
// this.$refs.videoWall.open(); // this.$refs.videoWall.open();
}, },
//
cancel(marker){
this.layers.layer4.removeOverlay(marker)
},
// //
changeMap(id) { changeMap(id) {
this.actionMap = id; this.actionMap = id;

@ -1427,6 +1427,7 @@ export default {
] ]
}, },
], ],
marker:null,
} }
}, },
methods:{ methods:{
@ -1434,7 +1435,8 @@ export default {
// console.log(obj,'obj'); // console.log(obj,'obj');
this.$refs.dialog5.open('3'); this.$refs.dialog5.open('3');
this.$nextTick(()=>{ this.$nextTick(()=>{
this.formInline.reportEventObj.address = obj?.address this.formInline.reportEventObj.address = obj?.address;
this.marker = obj?.marker;
}) })
}, },
Close() { Close() {
@ -1445,6 +1447,9 @@ export default {
cancel(refForm){ cancel(refForm){
this.$refs[refForm].resetFields(); this.$refs[refForm].resetFields();
this.$refs.dialog5.Close(); this.$refs.dialog5.Close();
if(this.marker) {
this.$emit('cancel',this.marker)
}
}, },
// //
confirm(formName){ confirm(formName){

Loading…
Cancel
Save