From d75780b9fe6c6563f1c4d20ae6ac4d07fc7e54f2 Mon Sep 17 00:00:00 2001 From: xiaowen <372193233@qq.com> Date: Wed, 24 Nov 2021 14:55:58 +0800 Subject: [PATCH] no message --- src/router/basic.js | 9 ++++++ src/router/index.js | 61 +++++++---------------------------------- src/router/operation.js | 9 ++++++ src/router/payment.js | 9 ++++++ src/router/set.js | 9 ++++++ src/router/smartMall.js | 9 ++++++ src/router/test.js | 58 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 113 insertions(+), 51 deletions(-) create mode 100644 src/router/basic.js create mode 100644 src/router/operation.js create mode 100644 src/router/payment.js create mode 100644 src/router/set.js create mode 100644 src/router/smartMall.js create mode 100644 src/router/test.js diff --git a/src/router/basic.js b/src/router/basic.js new file mode 100644 index 0000000..64a1c9e --- /dev/null +++ b/src/router/basic.js @@ -0,0 +1,9 @@ +/* + * @Author: your name + * @Date: 2021-11-24 14:45:04 + * @LastEditTime: 2021-11-24 14:47:16 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /LittleBeeSaas/src/router/basic.js + */ +export default [] \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 5f1837a..3c5075d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-11-18 17:30:38 - * @LastEditTime: 2021-11-23 18:03:43 + * @LastEditTime: 2021-11-24 14:55:28 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: /ansu-business/src/router/index.js @@ -16,63 +16,22 @@ Router.prototype.push = function push(location) { Vue.use(Router); import Layout from "@/views/Layout" +// import test from "./test" +import basic from "./basic" // 基础功能 +// import payment from "./payment" // 缴费管理 +// import smartMall from "./smartMall" // 智慧商城 +// import operation from "./operation" // 运营管理 +// import set from "./set" // 设置 + const router = [ { path: "/", name: "Layout", title: "外框", component: Layout, - redirect: '/forecastShipping', + // redirect: '/forecastShipping', meta: {title: '首页'}, - children: [ - { - path: '/forecastShipping', - name: "ForecastShipping", - title: "预报寄件", - hide: false, - icon: 'container', - component: resolve => require(['@/views/ForecastShipping'], resolve), - meta: {title: '预报寄件'} - }, - { - path: '/waybill', - name: "Waybill", - title: "运单管理", - icon: 'database', - hide: false, - component: resolve => require(['@/views/Waybill'], resolve), - meta: {title: '运单管理'} - }, - { - path: '/billing', - name: "Billing", - title: "账单管理", - icon: 'profile', - hide: false, - component: resolve => require(['@/views/Billing'], resolve), - meta: {title: '账单管理'}, - children: [ - { - path: '/billing/_details', - name: "Billing_details", - title: "账单管理-详情", - icon: 'profile', - hide: true, - component: resolve => require(['@/views/Billing/_details'], resolve), - meta: {title: '账单管理-详情'}, - } - ] - }, - { - path: '/mySettings', - name: "MySettings", - title: "我的设置", - hide: false, - icon: 'setting', - component: resolve => require(['@/views/MySettings'], resolve), - meta: {title: '我的设置'} - } - ] + children: [...basic] }, { path: "/login", diff --git a/src/router/operation.js b/src/router/operation.js new file mode 100644 index 0000000..51413c0 --- /dev/null +++ b/src/router/operation.js @@ -0,0 +1,9 @@ +/* + * @Author: your name + * @Date: 2021-11-24 14:52:24 + * @LastEditTime: 2021-11-24 14:52:24 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /LittleBeeSaas/src/router/operation.js + */ +export default [] \ No newline at end of file diff --git a/src/router/payment.js b/src/router/payment.js new file mode 100644 index 0000000..232ab70 --- /dev/null +++ b/src/router/payment.js @@ -0,0 +1,9 @@ +/* + * @Author: your name + * @Date: 2021-11-24 14:48:01 + * @LastEditTime: 2021-11-24 14:48:02 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /LittleBeeSaas/src/router/payment.js + */ +export default [] \ No newline at end of file diff --git a/src/router/set.js b/src/router/set.js new file mode 100644 index 0000000..3555ba6 --- /dev/null +++ b/src/router/set.js @@ -0,0 +1,9 @@ +/* + * @Author: your name + * @Date: 2021-11-24 14:55:05 + * @LastEditTime: 2021-11-24 14:55:06 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /LittleBeeSaas/src/router/set.js + */ +export default [] \ No newline at end of file diff --git a/src/router/smartMall.js b/src/router/smartMall.js new file mode 100644 index 0000000..ba6146b --- /dev/null +++ b/src/router/smartMall.js @@ -0,0 +1,9 @@ +/* + * @Author: your name + * @Date: 2021-11-24 14:50:31 + * @LastEditTime: 2021-11-24 14:50:31 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /LittleBeeSaas/src/router/smartMall.js + */ +export default [] \ No newline at end of file diff --git a/src/router/test.js b/src/router/test.js new file mode 100644 index 0000000..d69b0e5 --- /dev/null +++ b/src/router/test.js @@ -0,0 +1,58 @@ +/* + * @Author: your name + * @Date: 2021-11-24 14:43:24 + * @LastEditTime: 2021-11-24 14:43:25 + * @LastEditors: Please set LastEditors + * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + * @FilePath: /LittleBeeSaas/src/router/test.js + */ + +export default [ + { + path: '/forecastShipping', + name: "ForecastShipping", + title: "预报寄件", + hide: false, + icon: 'container', + component: resolve => require(['@/views/ForecastShipping'], resolve), + meta: {title: '预报寄件'} + }, + { + path: '/waybill', + name: "Waybill", + title: "运单管理", + icon: 'database', + hide: false, + component: resolve => require(['@/views/Waybill'], resolve), + meta: {title: '运单管理'} + }, + { + path: '/billing', + name: "Billing", + title: "账单管理", + icon: 'profile', + hide: false, + component: resolve => require(['@/views/Billing'], resolve), + meta: {title: '账单管理'}, + children: [ + { + path: '/billing/_details', + name: "Billing_details", + title: "账单管理-详情", + icon: 'profile', + hide: true, + component: resolve => require(['@/views/Billing/_details'], resolve), + meta: {title: '账单管理-详情'}, + } + ] + }, + { + path: '/mySettings', + name: "MySettings", + title: "我的设置", + hide: false, + icon: 'setting', + component: resolve => require(['@/views/MySettings'], resolve), + meta: {title: '我的设置'} + } +]