mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
Merge branch 'dev-zza' into dev
This commit is contained in:
@@ -140,13 +140,13 @@ export function updateSettingByStationId(data) {
|
||||
// }
|
||||
|
||||
// 推送充电站信息到联联平台
|
||||
export function pushStationInfo(data) {
|
||||
return request({
|
||||
url: "/pile/station/pushStationInfo",
|
||||
method: "post",
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
// export function pushStationInfo(data) {
|
||||
// return request({
|
||||
// url: "/pile/station/pushStationInfo",
|
||||
// method: "post",
|
||||
// data: data,
|
||||
// })
|
||||
// }
|
||||
|
||||
// 绑定停车平台
|
||||
export function bindParkingPlatform(data) {
|
||||
|
||||
@@ -256,7 +256,6 @@ import {
|
||||
getStationInfo,
|
||||
updateStationQRCodePrefix,
|
||||
updateSettingByStationId,
|
||||
pushStationInfo,
|
||||
getParkingInfoList,
|
||||
bindParkingPlatform,
|
||||
getRelationByStationId,
|
||||
@@ -455,19 +454,19 @@ export default {
|
||||
});
|
||||
},
|
||||
// 推送站点
|
||||
pushStation() {
|
||||
let exchange = "";
|
||||
const param = {
|
||||
stationId: this.stationId,
|
||||
thirdPartyTypes: this.exchange,
|
||||
};
|
||||
console.log("param", param);
|
||||
pushStationInfo(param).then((response) => {
|
||||
console.log("response", response);
|
||||
this.$modal.msg(response.obj);
|
||||
this.disableFlag = true;
|
||||
});
|
||||
},
|
||||
// pushStation() {
|
||||
// let exchange = "";
|
||||
// const param = {
|
||||
// stationId: this.stationId,
|
||||
// thirdPartyTypes: this.exchange,
|
||||
// };
|
||||
// console.log("param", param);
|
||||
// pushStationInfo(param).then((response) => {
|
||||
// console.log("response", response);
|
||||
// this.$modal.msg(response.obj);
|
||||
// this.disableFlag = true;
|
||||
// });
|
||||
// },
|
||||
|
||||
// 保存站点与第三方平台关系
|
||||
saveStationThirdParty() {
|
||||
|
||||
Reference in New Issue
Block a user