mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
新增 后管站点下拉列表查询方法
This commit is contained in:
@@ -10,6 +10,14 @@ export function listStation(query) {
|
||||
});
|
||||
}
|
||||
|
||||
export function getStationSelectList(query) {
|
||||
return request({
|
||||
url: "/pile/station/StationSelectList",
|
||||
method: "get",
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
// 查询充电站信息详细
|
||||
export function getStation(id) {
|
||||
return request({
|
||||
|
||||
@@ -167,7 +167,7 @@ import {
|
||||
totalData,
|
||||
} from "@/api/order/order";
|
||||
import Template from "@/views/billing/template";
|
||||
import { listStation } from "@/api/pile/station";
|
||||
import {getStationSelectList, listStation} from "@/api/pile/station";
|
||||
import { getDay } from "@/utils/common";
|
||||
|
||||
export default {
|
||||
@@ -523,10 +523,11 @@ export default {
|
||||
getStationList() {
|
||||
const queryStationParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 999,
|
||||
pageSize: 10,
|
||||
};
|
||||
listStation(queryStationParams).then((response) => {
|
||||
// console.log("订单列表页-查询站点列表", response)
|
||||
console.log("订单列表页-查询站点列表 param", queryStationParams)
|
||||
getStationSelectList(queryStationParams).then((response) => {
|
||||
console.log("订单列表页-查询站点列表", response)
|
||||
this.stationList = response.rows;
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user