更改编辑围栏2
parent
08d50400d2
commit
bd7ff2e6d1
|
@ -140,6 +140,8 @@ export default {
|
||||||
500
|
500
|
||||||
)
|
)
|
||||||
this.updateFences = data
|
this.updateFences = data
|
||||||
|
|
||||||
|
this.updateFences.fenceLocation = ""
|
||||||
},
|
},
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
this.dis = val;
|
this.dis = val;
|
||||||
|
@ -213,13 +215,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.getFenceList()
|
this.getFenceList()
|
||||||
})
|
})
|
||||||
this.updateFences.fenceLocation = ""
|
|
||||||
},
|
},
|
||||||
//删除
|
//删除
|
||||||
deleteFence(id) {
|
deleteFence(id) {
|
||||||
|
|
Loading…
Reference in New Issue