From 2abd31e3da82850d093a76b7d37877fd8b73791b Mon Sep 17 00:00:00 2001 From: myTest383
Date: Thu, 2 Jan 2025 14:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 310 +++++------ src/layout/components/Sidebar/index.vue | 22 +- src/router/index.js | 584 ++++++++++---------- src/views/network/index.vue | 444 ++++++++-------- src/views/network/indexAdd.vue | 380 ++++++------- src/views/order/allDistributionCount.vue | 569 ++++++++++---------- src/views/order/distributionCount.vue | 647 +++++++++++------------ src/views/order/index.vue | 632 +++++++++++----------- src/views/order/subBranch.vue | 599 +++++++++++---------- 9 files changed, 2093 insertions(+), 2094 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index dcb89b9..7448990 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,168 +1,172 @@ + + .footer { + position: fixed; + bottom: 0; + width: 100%; + line-height: 40px; + background: #E9F1F7; + text-align: center; + font-size: 14px; + color: #666; + } + \ No newline at end of file diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index ba39a09..a252128 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -174,16 +174,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: "network", + meta: { + icon: "el-icon-menu", + title: "区域管理", + }, + name: "/network/index", + path: "/network/index" + }, { alwaysShow: true, component: "commodity", @@ -229,7 +229,7 @@ component: "subBranch", meta: { icon: "el-icon-help", - title: "支行配货统计", + title: "区域配货统计", }, name: "/order/subBranch", path: "/order/subBranch", diff --git a/src/router/index.js b/src/router/index.js index 6dc0bcb..f4dc6a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -10,320 +10,320 @@ import Layout from '@/layout' import codemenu from './modules/codemenu' export const constantRoutes = [{ - path: '/', - redirect: 'login' - }, - { - path: '/login', - component: () => import('@/views/login/login.vue'), - name: 'login' + path: '/', + redirect: 'login' + }, + { + path: '/login', + component: () => import('@/views/login/login.vue'), + name: 'login' - }, + }, - // { - // path: '/', - // redirect: 'userInfo/index' - // }, - // { - // path: '/index', - // component: () => import('@/views/userInfo/index.vue'), - // name: 'index' + // { + // path: '/', + // redirect: 'userInfo/index' + // }, + // { + // path: '/index', + // component: () => import('@/views/userInfo/index.vue'), + // name: 'index' - // }, + // }, - { - path: '/index', - component: Layout, - redirect: '/index', - children: [{ - path: '/index', - component: () => - import('@/views/index.vue'), - name: 'index', - meta: { - title: '主页', - noCache: true, - affix: true - } - }] - }, + { + path: '/index', + component: Layout, + redirect: '/index', + children: [{ + path: '/index', + component: () => + import('@/views/index.vue'), + name: 'index', + meta: { + title: '主页', + noCache: true, + affix: true + } + }] + }, - { - path: '/userInfo', - component: Layout, - redirect: null, - meta: { - title: '用户信息' - }, - children: [{ - path: '/userInfo/index', - component: () => - import('@/views/userInfo/index.vue'), - name: 'index', - meta: { - title: '用户信息列表' - } - }, ] - }, { - path: '/marketingCard', - component: Layout, - redirect: '/marketingCard/applet', - children: [ + { + path: '/userInfo', + component: Layout, + redirect: null, + meta: { + title: '用户信息' + }, + children: [{ + path: '/userInfo/index', + component: () => + import('@/views/userInfo/index.vue'), + name: 'index', + meta: { + title: '用户信息列表' + } + }, ] + }, { + path: '/marketingCard', + component: Layout, + redirect: '/marketingCard/applet', + children: [ - { - path: '/marketingCard/applet', - component: () => import('@/views/marketingCard/applet.vue'), - name: 'applet', - meta: { - title: '小程序礼包设置', - noCache: true - } - }, { - path: '/marketingCard/index', - component: () => import('@/views/marketingCard/index.vue'), - name: 'index', - meta: { - title: '礼包设置', - noCache: true - } - }, + { + path: '/marketingCard/applet', + component: () => import('@/views/marketingCard/applet.vue'), + name: 'applet', + meta: { + title: '小程序礼包设置', + noCache: true + } + }, { + path: '/marketingCard/index', + component: () => import('@/views/marketingCard/index.vue'), + name: 'index', + meta: { + title: '礼包设置', + noCache: true + } + }, - { - path: '/marketingCard/pickupCardSet', - component: () => import('@/views/marketingCard/pickupCardSet.vue'), - name: 'pickupCardSet', - meta: { - title: '个人卡设置', - noCache: true - } - }, - { - path: '/marketingCard/corporateCardSet', - component: () => import('@/views/marketingCard/corporateCardSet.vue'), - name: 'corporateCardSet', - meta: { - title: '企业卡设置', - noCache: true - } - }, - // { - // path: '/marketingCard/grantRecords', - // component: () => import('@/views/marketingCard/grantRecords.vue'), - // name: 'grantRecords', - // meta: { - // title: '发放记录', - // noCache: true - // } - // }, - // { - // path: '/marketingCard/carList', - // component: () => import('@/views/marketingCard/carList.vue'), - // name: 'carList', - // meta: { - // title: '提货卡列表', - // noCache: true - // } - // }, - ] - }, { - path: '/cardManage', - component: Layout, - redirect: '/cardManage/person', - children: [{ - path: '/cardManage/person', - component: () => import('@/views/cardManage/person.vue'), - name: 'person', - meta: { - title: '个人卡统计', - noCache: true - } - }, + { + path: '/marketingCard/pickupCardSet', + component: () => import('@/views/marketingCard/pickupCardSet.vue'), + name: 'pickupCardSet', + meta: { + title: '个人卡设置', + noCache: true + } + }, + { + path: '/marketingCard/corporateCardSet', + component: () => import('@/views/marketingCard/corporateCardSet.vue'), + name: 'corporateCardSet', + meta: { + title: '企业卡设置', + noCache: true + } + }, + // { + // path: '/marketingCard/grantRecords', + // component: () => import('@/views/marketingCard/grantRecords.vue'), + // name: 'grantRecords', + // meta: { + // title: '发放记录', + // noCache: true + // } + // }, + // { + // path: '/marketingCard/carList', + // component: () => import('@/views/marketingCard/carList.vue'), + // name: 'carList', + // meta: { + // title: '提货卡列表', + // noCache: true + // } + // }, + ] + }, { + path: '/cardManage', + component: Layout, + redirect: '/cardManage/person', + children: [{ + path: '/cardManage/person', + component: () => import('@/views/cardManage/person.vue'), + name: 'person', + meta: { + title: '个人卡统计', + noCache: true + } + }, - { - path: '/cardManage/enterprise', - component: () => import('@/views/cardManage/enterprise.vue'), - name: 'enterprise', - meta: { - title: '企业卡统计', - noCache: true - } - }, - { - path: '/cardManage/giftCard', - component: () => import('@/views/cardManage/giftCard.vue'), - name: 'giftCard', - meta: { - title: '福利卡统计', - noCache: true - } - }, - ] - }, { - path: '/pickupPoint', - component: Layout, - redirect: '/pickupPoint/index', - children: [{ - path: '/pickupPoint/index', - component: () => - import('@/views/pickupPoint/index.vue'), - name: 'index', - meta: { - title: '提货点信息' - } - }, ] - }, - { - path: '/network', - component: Layout, - redirect: '/network/index', - children: [{ - path: '/network/index', - component: () => - import('@/views/network/index.vue'), - name: 'index', - meta: { - title: '支行管理' - } - }, ] - }, + { + path: '/cardManage/enterprise', + component: () => import('@/views/cardManage/enterprise.vue'), + name: 'enterprise', + meta: { + title: '企业卡统计', + noCache: true + } + }, + { + path: '/cardManage/giftCard', + component: () => import('@/views/cardManage/giftCard.vue'), + name: 'giftCard', + meta: { + title: '福利卡统计', + noCache: true + } + }, + ] + }, { + path: '/pickupPoint', + component: Layout, + redirect: '/pickupPoint/index', + children: [{ + path: '/pickupPoint/index', + component: () => + import('@/views/pickupPoint/index.vue'), + name: 'index', + meta: { + title: '提货点信息' + } + }, ] + }, + { + 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, - redirect: '/commodity/index', - children: [{ - path: '/commodity/index', - component: () => - import('@/views/commodity/index.vue'), - name: 'index', - meta: { - title: '商品信息' - } - }, ] - }, - { - path: '/order', - component: Layout, - redirect: '/order/index', - children: [{ - path: '/order/index', - component: () => - import('@/views/order/index.vue'), - name: 'index', - meta: { - title: '订单统计' - } - }, { - path: '/order/distributionCount', - component: () => - import('@/views/order/distributionCount.vue'), - name: 'distributionCount', - meta: { - title: '网点配货统计' - } - }, { - path: '/order/subBranch', - component: () => - import('@/views/order/subBranch.vue'), - name: 'subBranch', - meta: { - title: '支行配货统计' - } - }, - { - path: '/order/allDistributionCount', - component: () => - import('@/views/order/allDistributionCount.vue'), - name: 'allDistributionCount', - meta: { - title: '总配货统计' - } - } - ] - }, { - path: '/statisticalReport', - component: Layout, - redirect: '/statisticalReport/index', - children: [{ - path: '/statisticalReport/index', - component: () => import('@/views/statisticalReport/index.vue'), - name: 'index', - meta: { - title: '提货卡汇总', - noCache: true - } - }, - { - path: '/statisticalReport/collectionSummary', - component: () => import('@/views/statisticalReport/collectionSummary.vue'), - name: 'collectionSummary', - meta: { - title: '提货汇总', - noCache: true - } - }, - { - path: '/statisticalReport/deliveryDetails', - component: () => import('@/views/statisticalReport/deliveryDetails.vue'), - name: 'deliveryDetails', - meta: { - title: '客户提货明细', - noCache: true - } - } - ] - }, - { - path: '/print', - component: Layout, - redirect: '/print/index', - children: [{ - path: '/print/index', - component: () => - import('@/views/print/index.vue'), - name: 'index', - meta: { - title: '打印电子卡' - } - }, { - path: '/print/enterpriseCrad', - component: () => - import('@/views/print/enterpriseCrad.vue'), - name: 'enterpriseCrad', - meta: { - title: '打印企业卡' - } - },] - }, + { + path: '/commodity', + component: Layout, + redirect: '/commodity/index', + children: [{ + path: '/commodity/index', + component: () => + import('@/views/commodity/index.vue'), + name: 'index', + meta: { + title: '商品信息' + } + }, ] + }, + { + path: '/order', + component: Layout, + redirect: '/order/index', + children: [{ + path: '/order/index', + component: () => + import('@/views/order/index.vue'), + name: 'index', + meta: { + title: '订单统计' + } + }, { + path: '/order/distributionCount', + component: () => + import('@/views/order/distributionCount.vue'), + name: 'distributionCount', + meta: { + title: '网点配货统计' + } + }, { + path: '/order/subBranch', + component: () => + import('@/views/order/subBranch.vue'), + name: 'subBranch', + meta: { + title: '区域配货统计' + } + }, + { + path: '/order/allDistributionCount', + component: () => + import('@/views/order/allDistributionCount.vue'), + name: 'allDistributionCount', + meta: { + title: '总配货统计' + } + } + ] + }, { + path: '/statisticalReport', + component: Layout, + redirect: '/statisticalReport/index', + children: [{ + path: '/statisticalReport/index', + component: () => import('@/views/statisticalReport/index.vue'), + name: 'index', + meta: { + title: '提货卡汇总', + noCache: true + } + }, + { + path: '/statisticalReport/collectionSummary', + component: () => import('@/views/statisticalReport/collectionSummary.vue'), + name: 'collectionSummary', + meta: { + title: '提货汇总', + noCache: true + } + }, + { + path: '/statisticalReport/deliveryDetails', + component: () => import('@/views/statisticalReport/deliveryDetails.vue'), + name: 'deliveryDetails', + meta: { + title: '客户提货明细', + noCache: true + } + } + ] + }, + { + path: '/print', + component: Layout, + redirect: '/print/index', + children: [{ + path: '/print/index', + component: () => + import('@/views/print/index.vue'), + name: 'index', + meta: { + title: '打印电子卡' + } + }, { + path: '/print/enterpriseCrad', + component: () => + import('@/views/print/enterpriseCrad.vue'), + name: 'enterpriseCrad', + meta: { + title: '打印企业卡' + } + }, ] + }, - ...codemenu, - { - path: '/404', - component: () => - import('@/views/404'), - hidden: true - } - // 404 page must be placed at the end !!! - // { path: '*', redirect: '/404', hidden: true } + ...codemenu, + { + path: '/404', + component: () => + import('@/views/404'), + hidden: true + } + // 404 page must be placed at the end !!! + // { path: '*', redirect: '/404', hidden: true } ] const createRouter = () => new Router({ - // mode: 'history', // require service support - scrollBehavior: () => ({ - y: 0 - }), - routes: constantRoutes + // mode: 'history', // require service support + scrollBehavior: () => ({ + y: 0 + }), + routes: constantRoutes }) const router = createRouter() // Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465 export function resetRouter() { - const newRouter = createRouter() - router.matcher = newRouter.matcher // reset router + const newRouter = createRouter() + router.matcher = newRouter.matcher // reset router } export default router \ No newline at end of file diff --git a/src/views/network/index.vue b/src/views/network/index.vue index 1f10c11..0b885a0 100644 --- a/src/views/network/index.vue +++ b/src/views/network/index.vue @@ -1,230 +1,230 @@ \ No newline at end of file diff --git a/src/views/network/indexAdd.vue b/src/views/network/indexAdd.vue index d0b505a..2cbc841 100644 --- a/src/views/network/indexAdd.vue +++ b/src/views/network/indexAdd.vue @@ -1,197 +1,197 @@ \ No newline at end of file diff --git a/src/views/order/allDistributionCount.vue b/src/views/order/allDistributionCount.vue index c76d0e9..4cedc11 100644 --- a/src/views/order/allDistributionCount.vue +++ b/src/views/order/allDistributionCount.vue @@ -1,316 +1,315 @@ \ No newline at end of file diff --git a/src/views/order/distributionCount.vue b/src/views/order/distributionCount.vue index 36766c8..414ec4d 100644 --- a/src/views/order/distributionCount.vue +++ b/src/views/order/distributionCount.vue @@ -1,89 +1,88 @@ \ No newline at end of file diff --git a/src/views/order/index.vue b/src/views/order/index.vue index f67d115..e3c9bc0 100644 --- a/src/views/order/index.vue +++ b/src/views/order/index.vue @@ -1,342 +1,340 @@ \ No newline at end of file diff --git a/src/views/order/subBranch.vue b/src/views/order/subBranch.vue index 79ca59c..fbab494 100644 --- a/src/views/order/subBranch.vue +++ b/src/views/order/subBranch.vue @@ -1,335 +1,334 @@ \ No newline at end of file