Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
6d424ad9
提交
6d424ad9
编写于
8月 13, 2020
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新建云鹊店铺
上级
411e3754
变更
4
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
790 行增加
和
76 行删除
+790
-76
router.js
src/router/router.js
+12
-0
slidebar.vue
src/views/layout/slidebar.vue
+15
-76
create-shop.vue
src/views/shop/create-shop.vue
+443
-0
shop-list.vue
src/views/shop/shop-list.vue
+320
-0
未找到文件。
src/router/router.js
浏览文件 @
6d424ad9
...
@@ -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',
...
...
src/views/layout/slidebar.vue
浏览文件 @
6d424ad9
...
@@ -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
){
...
...
src/views/shop/create-shop.vue
0 → 100644
浏览文件 @
6d424ad9
此差异已折叠。
点击以展开。
src/views/shop/shop-list.vue
0 → 100644
浏览文件 @
6d424ad9
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录