更改编辑围栏
parent
34beab231d
commit
08d50400d2
|
@ -134,7 +134,6 @@ export default {
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
updialog(data) {
|
updialog(data) {
|
||||||
this.updateFences.fenceLocation=""
|
|
||||||
this.dialogVisible=true
|
this.dialogVisible=true
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.initMap();},
|
this.initMap();},
|
||||||
|
@ -214,14 +213,13 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
updateFence() {
|
updateFence() {
|
||||||
this.updateFences.fenceLocation = ""
|
this.updateFences.fenceLocation = this.mapAddr
|
||||||
this.updateFences.fenceLocation = this.mapAddr
|
|
||||||
console.log(this.updateFences)
|
console.log(this.updateFences)
|
||||||
updateFenceMapAddr(this.updateFences).then(res =>{
|
updateFenceMapAddr(this.updateFences).then(res =>{
|
||||||
|
|
||||||
this.dialogVisible=false
|
this.dialogVisible=false
|
||||||
this.$router.push("/car/fence")
|
this.getFenceList()
|
||||||
})
|
})
|
||||||
|
this.updateFences.fenceLocation = ""
|
||||||
},
|
},
|
||||||
//删除
|
//删除
|
||||||
deleteFence(id) {
|
deleteFence(id) {
|
||||||
|
|
Loading…
Reference in New Issue