12.31开源admin代码更新

This commit is contained in:
hejinfu1026
2021-12-31 15:58:40 +08:00
parent 6c0981748b
commit 004def5763
545 changed files with 9743 additions and 139371 deletions

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Vue from 'vue'
import Router from 'vue-router'
@@ -46,7 +56,9 @@ import mobileRouter from './modules/mobile'
* constantRoutes
* a base page that does not have permission requirements
* all roles can be accessed
*
*/
export const constantRoutes = [
// 商品
storeRouter,
@@ -70,39 +82,7 @@ export const constantRoutes = [
maintainRouter,
//移动端管理
mobileRouter,
// 数据
{
path: '/datas',
component: Layout,
redirect: '/datas',
name: 'Datas',
meta: {
title: '数据',
icon: 'clipboard'
},
children: [
{
path: 'transaction',
component: () => import('@/views/datas/transaction/index'),
name: 'Transaction',
meta: { title: '交易数据', icon: '' },
children: [
{
path: 'transactionorder',
component: () => import('@/views/datas/transaction/order/index'),
name: 'transactionOrder',
meta: { title: '订单统计', icon: '' }
},
{
path: 'transactiongoods',
component: () => import('@/views/datas/transaction/goods/index'),
name: 'transactionGoods',
meta: { title: '商品统计', icon: '' }
}
]
}
]
},
{
path: '/404',
component: () => import('@/views/error-page/404'),
@@ -149,7 +129,7 @@ export const constantRoutes = [
component: () => import('@/views/dashboard/index'),
name: 'Dashboard',
meta: { title: '主页', icon: 'dashboard', affix: true }
}
},
]
},
{

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const appSettingRouter = {
@@ -63,52 +73,8 @@ const appSettingRouter = {
}
]
},
{
path: 'template/:type?',
component: () => import('@/views/appSetting/wxAccount/wxTemplate'),
name: 'wxTemplate',
meta: { title: '微信模板消息', icon: '' }
}
]
},
{
path: 'publicRoutine',
name: 'PublicRoutine',
component: () => import('@/views/appSetting/routine'),
meta: {
title: '小程序',
icon: 'clipboard',
roles: ['admin'],
hidden: true
},
children: [
{
path: 'template/:type?',
component: () => import('@/views/appSetting/wxAccount/wxTemplate'),
name: 'RoutineTemplate',
meta: { title: '小程序订阅消息', icon: '' }
},
{
path: 'routineTemplate',
component: () => import('@/views/appSetting/routine/myTemplate'),
name: 'RoutineTemplate',
meta: { title: '我的模板', icon: '' }
},
{
path: 'publicRoutineTemplate',
component: () => import('@/views/appSetting/routine/publicTemplate/index.vue'),
name: 'PublicRoutineTemplate',
meta: { title: '公共模板', icon: '' }
},
{
path: 'creatPublicTemplate/:tid/:id/:myId?',
component: () => import('@/views/appSetting/routine/publicTemplate/creatPublicTemplate.vue'),
name: 'CreatPublicTemplate',
meta: { title: '添加公共模板', icon: '', activeMenu: `/appSetting/publicRoutine/publicRoutineTemplate` },
hidden: true
}
]
}
]
}

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const contentRouter = {

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const distributionRouter = {

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const financialRouter = {

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
/** When your routing table is too long, you can split it into small modules **/
import Layout from '@/layout'
@@ -79,7 +89,33 @@ const maintainRouter = {
icon: 'clipboard'
},
hidden: false
}
},//sensitiveList
{
path: 'logistics',
name: 'Logistics',
alwaysShow: true,
redirect: '/logistics/cityList',
component: () => import('@/views/maintain'),
meta: {
title: '物流设置',
icon: 'clipboard',
roles: ['admin']
},
children: [
{
path: 'cityList',
component: () => import('@/views/maintain/logistics/cityList'),
name: 'cityList',
meta: { title: '城市数据', icon: '' }
},
{
path: 'companyList',
component: () => import('@/views/maintain/logistics/companyList'),
name: 'companyList',
meta: { title: '物流公司', icon: '' }
},
]
},
]
}

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
/** When your routing table is too long, you can split it into small modules **/
import Layout from '@/layout'
@@ -154,8 +164,8 @@ const marketingRouter = {
meta: { title: '积分日志', icon: '' }
}
]
}
},
]
}
export default marketingRouter
export default marketingRouter

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const mobileRouter = {

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const operationRouter = {
@@ -20,6 +30,15 @@ const operationRouter = {
icon: 'clipboard'
}
},
{
path:'notification',
name:'notification',
component: () => import('@/views/systemSetting/notification'),
meta:{
title:'消息通知',
icon:'clipboard'
}
},
{
path: 'onePass',
name: 'onePass',
@@ -43,7 +62,7 @@ const operationRouter = {
path: 'identityManager',
component: () => import('@/views/systemSetting/administratorAuthority/identityManager'),
name: 'identityManager',
meta: { title: '身份管理', icon: '' }
meta: { title: '角色管理', icon: '' }
},
{
path: 'adminList',
@@ -59,76 +78,6 @@ const operationRouter = {
}
]
},
{
path: 'logistics',
name: 'Logistics',
alwaysShow: true,
redirect: '/logistics/cityList',
component: () => import('@/views/systemSetting/administratorAuthority'),
meta: {
title: '物流设置',
icon: 'clipboard',
roles: ['admin']
},
children: [
{
path: 'cityList',
component: () => import('@/views/systemSetting/logistics/cityList'),
name: 'cityList',
meta: { title: '城市数据', icon: '' }
},
{
path: 'companyList',
component: () => import('@/views/systemSetting/logistics/companyList'),
name: 'companyList',
meta: { title: '物流公司', icon: '' }
},
{
path: 'shippingTemplates',
component: () => import('@/views/systemSetting/logistics/shippingTemplates'),
name: 'shippingTemplates',
meta: { title: '运费模板', icon: '' }
},
{
path: 'logisticsConfig',
component: () => import('@/views/systemSetting/logistics/config'),
name: 'logisticsConfig',
meta: { title: '物流配置', icon: '' }
}
]
},
{
path: 'systemStore',
name: 'SystemStore',
alwaysShow: true,
redirect: '/systemStore/point',
component: () => import('@/views/systemSetting/systemStore'),
meta: {
title: '提货点设置',
icon: 'clipboard',
roles: ['admin']
},
children: [
{
path: 'point',
component: () => import('@/views/systemSetting/systemStore/point'),
name: 'point',
meta: { title: '提货点', icon: '' }
},
{
path: 'clerkList',
component: () => import('@/views/systemSetting/systemStore/clerkList'),
name: 'clerkList',
meta: { title: '核销员', icon: '' }
},
{
path: 'order',
component: () => import('@/views/systemSetting/systemStore/order'),
name: 'order',
meta: { title: '核销订单', icon: '' }
}
]
},
{
path: 'systemSms',
component: () => import('@/views/sms'),
@@ -166,30 +115,50 @@ const operationRouter = {
]
},
{
path: 'storeService',
component: () => import('@/views/systemSetting/storeService'),
name: 'StoreService',
path: 'deliverGoods',
name: 'deliverGoods',
alwaysShow: true,
component: () => import('@/views/systemSetting/deliverGoods'),
meta: {
title: '客服管理',
icon: 'clipboard',
title: '发货设置',
roles: ['admin']
},
children: [
{
path: 'list',
component: () => import('@/views/systemSetting/storeService/chatRoom'),
name: 'StoreServiceList',
meta: { title: '客服列表', noCache: true }
path: 'takeGoods',
component: () => import('@/views/systemSetting/deliverGoods/takeGoods'),
name: 'takeGoods',
meta: { title: '提货设置', noCache: true,roles: ['admin'] },
children: [
{
path: 'deliveryAddress',
component: () => import('@/views/systemSetting/deliverGoods/takeGoods/deliveryAddress'),
name: 'deliveryAddress',
meta: { title: '提货点', icon: '' }
},
{
path: 'collateOrder',
component: () => import('@/views/systemSetting/deliverGoods/takeGoods/collateOrder'),
name: 'collateOrder',
meta: { title: '核销订单', icon: '' }
},
{
path: 'collateUser',
component: () => import('@/views/systemSetting/deliverGoods/takeGoods/collateUser'),
name: 'collateUser',
meta: { title: '核销员', icon: '' }
},
]
},
{
path: 'chatRoom',
component: () => import('@/views/systemSetting/storeService/list'),
name: 'ChatRoom',
meta: { title: '聊天室', noCache: true }
}
path: 'freightSet',
component: () => import('@/views/systemSetting/deliverGoods/freightSet'),
name: 'freightSet',
meta: { title: '运费模板', noCache: true }
},
]
},
]
}
export default operationRouter
export default operationRouter //collate

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const orderRouter = {

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const storeRouter = {

View File

@@ -1,3 +1,13 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout'
const userRouter = {