main
校文 3 years ago
parent 877bd428a5
commit d75780b9fe

@ -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 []

@ -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",

@ -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 []

@ -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 []

@ -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 []

@ -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 []

@ -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: '我的设置'}
}
]
Loading…
Cancel
Save