Files
gjt_mini/api/map.js
2025-12-30 09:44:46 +08:00

49 lines
1.4 KiB
JavaScript

import axios from "@/utils/request";
export default {
getHydrogenList(params) {
return axios.get(`/WechatLiteApp/Station/search`, params);
},
getVehicleMarkers(params) {
return axios.post(`/WechatLiteApp/Truck/list`, params);
},
getHydrogenStationMarkers(params) {
return axios.post(`/WechatLiteApp/Station/list`, params);
},
//车辆详情
getVehicleDetail(params) {
return axios.get(`/WechatLiteApp/Truck/info`, params);
},
//氢站详情
getHydrogenDetail(params) {
return axios.get(`/WechatLiteApp/Station/info`, params);
},
//获取下拉查询车牌号列表
getAllplateNumbere(params) {
return axios.get(`/WechatLiteApp/Truck/search`, params);
},
getAddress(params) {
return axios.post(`/baidumap/getAddress`, params);
},
getTruckInfoTree(params) {
return axios.get(`/WechatLiteApp/Truck/infoTree`, params);
},
getStationInfoTree() {
return axios.get(`/WechatLiteApp/Station/infoTree`);
},
getOrgsList() {
return axios.get(`/org/queryListByPid`);
},
getPlateAreaDic() {
return axios.get(`/dic/queryByDicType`, { dicType: "dic_plateArea" }); // 付款状态
},
getOwnDepartDic() {
return axios.get(`/dic/queryByDicType`, { dicType: "businessDepartment" }); // 业务部门
},
getHydrogenCoopDic() {
return axios.get(`/dic/queryByDicType`, {
dicType: "weappMap_cooperation",
}); // 合作状态
},
};