|
|
|
@ -32,13 +32,14 @@
|
|
|
|
|
<i class="el-icon-caret-bottom" />
|
|
|
|
|
</div>
|
|
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
|
|
<el-dropdown-item>
|
|
|
|
|
<router-link :to="{ path: '/ehsHiddenDangerMenu/ehsHiddenDanger', query: {overTime: '10' }}">
|
|
|
|
|
<el-dropdown-item @click.native="goHD(hdMsgCount)">
|
|
|
|
|
<span>隐患消息 <el-badge class="mark" :value="hdMsgCount" /></span>
|
|
|
|
|
<!--<router-link :to="{ path: '/ehsHiddenDangerMenu/ehsHiddenDanger', query: {overTime: '10' }}">
|
|
|
|
|
隐患消息
|
|
|
|
|
<el-badge class="mark" :value="hdMsgCount" />
|
|
|
|
|
</router-link>
|
|
|
|
|
</router-link>-->
|
|
|
|
|
</el-dropdown-item>
|
|
|
|
|
<el-dropdown-item @click.native="setting = true">
|
|
|
|
|
<el-dropdown-item @click.native="goMsg(msgCount)">
|
|
|
|
|
<span>消息通知</span>
|
|
|
|
|
<el-badge class="mark" :value="msgCount" />
|
|
|
|
|
</el-dropdown-item>
|
|
|
|
@ -121,6 +122,20 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
goHD(msgC){
|
|
|
|
|
if(msgC!=0){
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: '/ehsHiddenDangerMenu/ehsHiddenDanger', query: {overTime: "10" }
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
goMsg(msgC){
|
|
|
|
|
if(msgC!=0){
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: '/ehsNoticeMessage/ehsNoticeMessageDept', query: {noticeType: "0" }
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
getUnread() {
|
|
|
|
|
console.log("定时任务");
|
|
|
|
|
getUnread().then(response => {
|
|
|
|
|