update 后管向高德发送上线/下线消息接口

This commit is contained in:
Lemon
2024-07-02 13:31:24 +08:00
parent d2d7e495ab
commit 9ee5257450
5 changed files with 49 additions and 4 deletions

View File

@@ -293,7 +293,7 @@ import {
delStation,
addStation,
updateStation,
fastCreateStation, updateAmapFlag,
fastCreateStation, updateAmapFlag, pushAMapStationStatus,
} from "@/api/pile/station";
import {getMerchantList} from "@/api/pile/merchant";
import {regionData, CodeToText} from "element-china-area-data";
@@ -434,12 +434,19 @@ export default {
// this.open = false;
// this.getList();
// });
// 修改数据库标识
updateAmapFlag(params).then((response) => {
console.log("response", response)
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
// 向高德发送上线/下线消息
pushAMapStationStatus(params).then((response) => {
console.log("response", response)
});
},
getCodeToText(codeStr, codeArray) {
if (null === codeStr && null === codeArray) {