Commit ad03d207 authored by wanglianghe's avatar wanglianghe

线路价格

parent ee04fca9
......@@ -80,3 +80,12 @@ export function exportRegionExcel(query) {
params: query
})
}
//获取城市列表
export function getCityList(query) {
return request({
url: '/ecw/region/getCityList',
method: 'get',
params: query
})
}
......@@ -53,6 +53,7 @@ export function exportWarehouseExcel(query) {
})
}
/**所有线路列表 */
export function routerList(data) {
return request({
url: '/ecw/warehouse/routerList',
......@@ -61,6 +62,7 @@ export function routerList(data) {
})
}
/**修改线路开通状态 */
export function changeRouteStatus(data) {
return request({
url: '/ecw/warehouse/changeRouteStatus',
......@@ -69,4 +71,13 @@ export function changeRouteStatus(data) {
})
}
/**查看已开通线路列表 */
export function openedRouterList(data) {
return request({
url: '/ecw/warehouse/openedRouterList',
method: 'post',
data: data
})
}
......@@ -127,7 +127,8 @@
<script>
import { createProductPrice, updateProductPrice, deleteProductPrice, getProductPrice, getProductPricePage, exportProductPriceExcel } from "@/api/ecw/productPrice";
import { openedRouterList } from "@/api/ecw/warehouse";
import { getCityList } from "@/api/ecw/region";
export default {
name: "ProductPrice",
components: {
......@@ -174,6 +175,14 @@ export default {
},
created() {
this.getList();
openedRouterList({}).then(response => {
})
getCityList({}).then(response => {
})
},
methods: {
/** 查询列表 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment