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

新建云鹊店铺

上级 411e3754
...@@ -61,6 +61,10 @@ const createRange = r => require.ensure([], () => r(require('../views/yqrange/cr ...@@ -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 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 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 [{ export default [{
path: '/', path: '/',
component: App, component: App,
...@@ -254,6 +258,14 @@ export default [{ ...@@ -254,6 +258,14 @@ export default [{
path: '/edit-simple-advert', path: '/edit-simple-advert',
component: editSimpleAdvert, component: editSimpleAdvert,
}, },
{
path: '/shop-list',
component: shopList,
},
{
path: '/create-shop',
component: createShop,
},
// { // {
// path: '/followup', // path: '/followup',
// name: 'followUp', // name: 'followUp',
......
...@@ -121,76 +121,9 @@ ...@@ -121,76 +121,9 @@
] ]
}, },
// { // {
// title: '居民管理', // title: '云鹊店铺',
// icon: 'el-icon-patients-manage', // icon: 'el-icon-first-aid-kit',
// index: 'patients-manage', // index: 'shop'
// 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'
// },
// ]
// }, // },
], ],
outsideItems: [ // 外部用户 路由 outsideItems: [ // 外部用户 路由
...@@ -214,9 +147,11 @@ ...@@ -214,9 +147,11 @@
mounted(){ mounted(){
if(this.storageIdType == 1){ if(this.storageIdType == 1){
vm.setEntrySide(); vm.setEntrySide();
vm.setShopSide()
} else if(this.storageIdType == 2) { } else if(this.storageIdType == 2) {
vm.setFollowSide(); vm.setFollowSide();
vm.getRoleObj(); vm.getRoleObj();
vm.setShopSide()
} }
}, },
watch: { watch: {
...@@ -234,15 +169,11 @@ ...@@ -234,15 +169,11 @@
storageIdType(val){ storageIdType(val){
if(val == 1){ if(val == 1){
vm.setEntrySide(); vm.setEntrySide();
vm.setShopSide()
} else if(val == 2) { } else if(val == 2) {
vm.setFollowSide(); vm.setFollowSide();
vm.getRoleObj(); vm.getRoleObj();
// let mainManager = localStorage.getItem('mainManager') vm.setShopSide()
// let manager = localStorage.getItem('manager')
// console.log('存储权限值',mainManager,manager)
// if (mainManager == 1 || manager == 1) {
// vm.setCircleSize();
// }
} }
}, },
}, },
...@@ -487,6 +418,14 @@ ...@@ -487,6 +418,14 @@
vm.items.push(yqRange); vm.items.push(yqRange);
vm.items.push(outResourceManage); vm.items.push(outResourceManage);
}, },
setShopSide(){
const shop = {
title: '云鹊店铺',
icon: 'el-icon-first-aid-kit',
index: 'shop-list'
};
vm.items.push(shop);
},
goToMessageSendPage(checkAuth) { goToMessageSendPage(checkAuth) {
if(checkAuth){ if(checkAuth){
......
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册