Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
fa70adfb
提交
fa70adfb
编写于
6月 12, 2019
作者:
chengxiang.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
done new features
上级
06d11c35
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
45 行增加
和
9 行删除
+45
-9
patients-icon.png
src/assets/image/patients-icon.png
+0
-0
header.vue
src/views/layout/header.vue
+3
-3
slidebar.vue
src/views/layout/slidebar.vue
+42
-6
未找到文件。
src/assets/image/patients-icon.png
0 → 100644
浏览文件 @
fa70adfb
964 字节
src/views/layout/header.vue
浏览文件 @
fa70adfb
...
...
@@ -27,9 +27,9 @@
</div>
</el-col>
<el-col
:span=
"15"
class=
"msg-phone"
>
<div
class=
"grid-content bg-purple-light"
>
<i
class=
"el-icon-phone"
></i>
<h1>
400-920-8877
</h1>
<div
class=
"grid-content bg-purple-light"
style=
"cursor: default;"
>
<i
class=
"el-icon-phone"
style=
"cursor: default;"
></i>
<h1
style=
"cursor: default;"
>
400-920-8877
</h1>
</div>
</el-col>
</el-row>
...
...
src/views/layout/slidebar.vue
浏览文件 @
fa70adfb
...
...
@@ -20,9 +20,16 @@
</el-submenu>
</template>
<
template
v-else
>
<el-menu-item
:index=
"'/'+item.index"
:key=
"item.index"
>
<i
:class=
"item.icon"
></i>
{{
item
.
title
}}
</el-menu-item>
<template
v-if=
"item.isMessageSend"
>
<el-menu-item
:key=
"item.index"
@
click=
"goToMessageSendPage"
class=
"set-normal-background"
>
<i
:class=
"item.icon"
></i>
{{
item
.
title
}}
</el-menu-item>
</
template
>
<
template
v-else
>
<el-menu-item
:index=
"'/'+item.index"
:key=
"item.index"
>
<i
:class=
"item.icon"
></i>
{{
item
.
title
}}
</el-menu-item>
</
template
>
</template>
</template>
</el-menu>
...
...
@@ -87,7 +94,7 @@ export default {
]
},{
title
:
'居民管理'
,
icon
:
'el-icon-
edit-outlin
e'
,
icon
:
'el-icon-
patients-manag
e'
,
index
:
'patients-manage'
,
subs
:
[
{
...
...
@@ -111,7 +118,11 @@ export default {
index
:
'patients-manage/not-complete/uncompleted-list'
}
]
}
},{
title
:
'消息推送'
,
icon
:
'el-icon-message'
,
isMessageSend
:
true
,
},
]
}
},
...
...
@@ -172,7 +183,22 @@ export default {
]
}
vm
.
items
.
push
(
followSider
);
}
},
goToMessageSendPage
()
{
let
env
=
process
.
env
.
BUILD_ENV
;
let
src
=
''
;
if
(
(
env
==
'development'
)
||
env
==
'dev'
){
// 本地开发环境 || jenkins dev
src
=
'https://dev-saas.yunqueyi.com/pica-frontend/patientEduManage/pica_patient_edu_manage.html#/pageTab/message'
}
else
if
(
(
env
==
'test'
)
||
env
==
'test2'
){
// test
src
=
'https://test1.yunqueyi.com/pica-frontend/patientEduManage/pica_patient_edu_manage.html#/pageTab/message'
;
}
else
if
(
env
==
'uat'
){
// uat
src
=
'https://uat.yunqueyi.com/pica-frontend/patientEduManage/pica_patient_edu_manage.html#/pageTab/message'
;
}
else
if
(
env
==
'pro'
){
// 线上
src
=
'https://www.yunqueyi.com/pica-frontend/patientEduManage/pica_patient_edu_manage.html#/pageTab/message'
;
}
let
newTab
=
window
.
open
(
'about:blank'
);
newTab
.
location
=
src
;
},
}
}
</
script
>
...
...
@@ -208,6 +234,16 @@ export default {
// .el-menu-item:focus, .el-menu-item:hover {
// background: #06232C !important;
// }
.el-icon-patients-manage
{
width
:
17px
;
height
:
17px
;
background
:
url('../../assets/image/patients-icon.png')
;
margin
:
0
8px
0
3px
;
background-size
:
17px
17px
;
}
.set-normal-background
{
background
:
#06232C
;
}
}
.redNum
{
display
:
inline-block
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录