提交 6d424ad9 编写于 作者: yi.li's avatar yi.li

新建云鹊店铺

上级 411e3754
......@@ -61,6 +61,10 @@ const createRange = r => require.ensure([], () => r(require('../views/yqrange/cr
const editRange = r => require.ensure([], () => r(require('../views/yqrange/edit-range.vue')), 'edit-range')
const createLive = r => require.ensure([], () => r(require('../views/yqrange/create-live.vue')), 'create-live')
const shopList = r => require.ensure([], () => r(require('../views/shop/shop-list.vue')), 'shop-list')
const createShop = r => require.ensure([], () => r(require('../views/shop/create-shop.vue')), 'create-shop')
export default [{
path: '/',
component: App,
......@@ -254,6 +258,14 @@ export default [{
path: '/edit-simple-advert',
component: editSimpleAdvert,
},
{
path: '/shop-list',
component: shopList,
},
{
path: '/create-shop',
component: createShop,
},
// {
// path: '/followup',
// name: 'followUp',
......
......@@ -121,76 +121,9 @@
]
},
// {
// title: '居民管理',
// icon: 'el-icon-patients-manage',
// index: 'patients-manage',
// subs: [
// {
// title: '我的居民',
// icon: 'el-icon-setting',
// index: 'patients-manage/mypatients-manage/patients-list'
// },
// {
// title: '新增居民',
// icon: 'el-icon-setting',
// index: 'patients-manage/new-manage/new-patient'
// },
// {
// title: '分组管理',
// icon: 'el-icon-setting',
// index: 'patients-manage/labels-manage/labels-list'
// },
// {
// title: '资料不全居民',
// icon: 'el-icon-setting',
// index: 'patients-manage/not-complete/uncompleted-list'
// }
// ]
// },{
// title: '消息推送',
// icon: 'el-icon-message',
// index: 'msg-push',
// isMessageSend: true,
// checkAuth: true,
// },
// {
// title: '学情报告',
// icon: 'el-icon-tickets',
// index: 'report-list',
// subs: [
// {
// title: '项目列表',
// icon: 'el-icon-document',
// index: 'report-list'
// },
// {
// title: '任务列表',
// icon: 'el-icon-document',
// index: 'export-download'
// }
// ]
// },
// {
// title: 'CME',
// icon: 'el-icon-reading',
// index: 'credit-manage',
// subs: [
// {
// title: '学分管理列表',
// icon: 'el-icon-document',
// index: 'credit-manage'
// },
// {
// title: '审核权限管理',
// icon: 'el-icon-document',
// index: 'review-access-manage'
// },
// {
// title: '学分发放管理',
// icon: 'el-icon-document',
// index: 'credit-send-manage'
// },
// ]
// title: '云鹊店铺',
// icon: 'el-icon-first-aid-kit',
// index: 'shop'
// },
],
outsideItems: [ // 外部用户 路由
......@@ -214,9 +147,11 @@
mounted(){
if(this.storageIdType == 1){
vm.setEntrySide();
vm.setShopSide()
} else if(this.storageIdType == 2) {
vm.setFollowSide();
vm.getRoleObj();
vm.setShopSide()
}
},
watch: {
......@@ -234,15 +169,11 @@
storageIdType(val){
if(val == 1){
vm.setEntrySide();
vm.setShopSide()
} else if(val == 2) {
vm.setFollowSide();
vm.getRoleObj();
// let mainManager = localStorage.getItem('mainManager')
// let manager = localStorage.getItem('manager')
// console.log('存储权限值',mainManager,manager)
// if (mainManager == 1 || manager == 1) {
// vm.setCircleSize();
// }
vm.setShopSide()
}
},
},
......@@ -487,6 +418,14 @@
vm.items.push(yqRange);
vm.items.push(outResourceManage);
},
setShopSide(){
const shop = {
title: '云鹊店铺',
icon: 'el-icon-first-aid-kit',
index: 'shop-list'
};
vm.items.push(shop);
},
goToMessageSendPage(checkAuth) {
if(checkAuth){
......
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册