更换列表上标绘接口

This commit is contained in:
aixianling
2022-08-18 17:36:39 +08:00
parent 392ffee1ea
commit 097b434712
2 changed files with 2 additions and 2 deletions

View File

@@ -300,7 +300,7 @@ export default {
}, },
//map搜索 //map搜索
confirm(row, points) { confirm(row, points) {
this.instance.post(`/app/appgirdinfo/addOrUpdate`, {...row, points}).then((res) => { this.instance.post(`/app/appgirdinfo/updateCoordinate`, {...row, points}).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.getList(); this.getList();

View File

@@ -327,7 +327,7 @@ export default {
}, },
//map搜索 //map搜索
confirm(row, points) { confirm(row, points) {
this.instance.post(`/app/appgirdinfo/addOrUpdate`, {...row, points}).then((res) => { this.instance.post(`/app/appgirdinfo/updateCoordinate`, {...row, points}).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.getList(); this.getList();