mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-04 01:50:17 +08:00
update 后管向高德发送上线/下线消息接口
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user