diff --git a/src/api/pickupPoint/pickupPoint.js b/src/api/pickupPoint/pickupPoint.js index 5977d08..f3243eb 100644 --- a/src/api/pickupPoint/pickupPoint.js +++ b/src/api/pickupPoint/pickupPoint.js @@ -1,6 +1,14 @@ import request from '@/utils/request' export default { + + // 获取支行选择列表 + bankSelect: function(data) { + return request({ + url: '/lpkbank/listAll', + method: 'get' + }); + }, // 获取提货点列表 storeListPage: function(data) { @@ -42,6 +50,6 @@ export default { }); }, - + } diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 6436afa..f15d906 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -122,6 +122,16 @@ name: "/pickupPoint/index", path: "/pickupPoint/index" }, + { + alwaysShow: true, + component: "network", + meta: { + icon: "el-icon-menu", + title: "支行管理", + }, + name: "/network/index", + path: "/network/index" + }, { alwaysShow: true, component: "commodity", @@ -157,7 +167,27 @@ component: "distributionCount", meta: { icon: "el-icon-help", - title: "配货统计", + title: "网点配货统计", + }, + name: "/order/distributionCount", + path: "/order/distributionCount", + }, + { + alwaysShow: true, + component: "distributionCount", + meta: { + icon: "el-icon-help", + title: "支行配货统计", + }, + name: "/order/distributionCount", + path: "/order/distributionCount", + }, + { + alwaysShow: true, + component: "distributionCount", + meta: { + icon: "el-icon-help", + title: "总配货统计", }, name: "/order/distributionCount", path: "/order/distributionCount", @@ -186,16 +216,7 @@ name: "/print/index", path: "/print/index" } - // { - // alwaysShow: true, - // component: "network", - // meta: { - // icon: "el-icon-menu", - // title: "网点管理", - // }, - // name: "/network/index", - // path: "/network/index" - // }, + // { // alwaysShow: true, // component: "statisticalReport", diff --git a/src/router/index.js b/src/router/index.js index 4d2f596..c4e7a6d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -133,6 +133,21 @@ export const constantRoutes = [ } },] }, + { + path: '/network', + component: Layout, + redirect: '/network/index', + children: [{ + path: '/network/index', + component: () => + import('@/views/network/index.vue'), + name: 'index', + meta: { + title: '支行管理' + } + },] + }, + { path: '/commodity', component: Layout, @@ -165,9 +180,26 @@ export const constantRoutes = [ import('@/views/order/distributionCount.vue'), name: 'distributionCount', meta: { - title: '配货统计' + title: '网点配货统计' } - },] + },{ + path: '/order/distributionCount', + component: () => + import('@/views/order/distributionCount.vue'), + name: 'distributionCount', + meta: { + title: '支行配货统计' + } + }, + { + path: '/order/distributionCount', + component: () => + import('@/views/order/distributionCount.vue'), + name: 'distributionCount', + meta: { + title: '总配货统计' + } + }] },{ path: '/statisticalReport', component: Layout, @@ -215,21 +247,7 @@ export const constantRoutes = [ },] }, - // { - // path: '/network', - // component: Layout, - // redirect: '/network/index', - // children: [{ - // path: '/network/index', - // component: () => - // import('@/views/network/index.vue'), - // name: 'index', - // meta: { - // title: '网点管理' - // } - // },] - // }, - + ...codemenu, { path: '/404', diff --git a/src/views/marketingCard/index.vue b/src/views/marketingCard/index.vue index cac3751..b5a0544 100644 --- a/src/views/marketingCard/index.vue +++ b/src/views/marketingCard/index.vue @@ -36,10 +36,23 @@ + + + +