提交 fa70adfb 编写于 作者: chengxiang.li's avatar chengxiang.li

done new features

上级 06d11c35
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
</div> </div>
</el-col> </el-col>
<el-col :span="15" class="msg-phone"> <el-col :span="15" class="msg-phone">
<div class="grid-content bg-purple-light"> <div class="grid-content bg-purple-light" style="cursor: default;">
<i class="el-icon-phone"></i> <i class="el-icon-phone" style="cursor: default;"></i>
<h1>400-920-8877</h1> <h1 style="cursor: default;">400-920-8877</h1>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
......
...@@ -20,9 +20,16 @@ ...@@ -20,9 +20,16 @@
</el-submenu> </el-submenu>
</template> </template>
<template v-else> <template v-else>
<el-menu-item :index="'/'+item.index" :key="item.index"> <template v-if="item.isMessageSend">
<i :class="item.icon"></i>{{ item.title }} <el-menu-item :key="item.index" @click="goToMessageSendPage" class="set-normal-background">
</el-menu-item> <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>
</template> </template>
</el-menu> </el-menu>
...@@ -87,7 +94,7 @@ export default { ...@@ -87,7 +94,7 @@ export default {
] ]
},{ },{
title: '居民管理', title: '居民管理',
icon: 'el-icon-edit-outline', icon: 'el-icon-patients-manage',
index: 'patients-manage', index: 'patients-manage',
subs: [ subs: [
{ {
...@@ -111,7 +118,11 @@ export default { ...@@ -111,7 +118,11 @@ export default {
index: 'patients-manage/not-complete/uncompleted-list' index: 'patients-manage/not-complete/uncompleted-list'
} }
] ]
} },{
title: '消息推送',
icon: 'el-icon-message',
isMessageSend: true,
},
] ]
} }
}, },
...@@ -172,7 +183,22 @@ export default { ...@@ -172,7 +183,22 @@ export default {
] ]
} }
vm.items.push(followSider); 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> </script>
...@@ -208,6 +234,16 @@ export default { ...@@ -208,6 +234,16 @@ export default {
// .el-menu-item:focus, .el-menu-item:hover { // .el-menu-item:focus, .el-menu-item:hover {
// background: #06232C !important; // 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 { .redNum {
display: inline-block; display: inline-block;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册