|
@@ -7,18 +7,18 @@
|
|
|
<div class="visual-body">
|
|
|
<!-- 左侧 -->
|
|
|
<div class="leftbar" ref="left">
|
|
|
- <!-- 1 基本情况 -->
|
|
|
+ <!-- 1 通知公告 -->
|
|
|
<div class="forthis">
|
|
|
<dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
|
|
|
<img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;" />
|
|
|
<div class="this-title">
|
|
|
- <span>基本情况</span>
|
|
|
+ <span>通知公告</span>
|
|
|
<dv-decoration-3 style="width:150px;height:15px;margin-right: 1rem;" />
|
|
|
</div>
|
|
|
<div class="i-list-con h-14">
|
|
|
<div class="d-l-con no_hover">
|
|
|
<div class="d-l-l-text w-100p no-weight">
|
|
|
- <h4 class="line-h-1 w-100p" v-html="forestInfo">{{ forestInfo }}</h4>
|
|
|
+ <h4 class="line-h-1 w-100p" v-html="noticeContent">{{ noticeContent }}</h4>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -440,7 +440,7 @@
|
|
|
import {
|
|
|
getMenuEventType,
|
|
|
getEventPush,
|
|
|
- getBaseInfo,
|
|
|
+ getLatestNotice,
|
|
|
getTodayEvents,
|
|
|
getDeptEventCount,
|
|
|
getWeather,
|
|
@@ -520,7 +520,7 @@
|
|
|
|
|
|
// 初始化地图数据
|
|
|
this.getSuperMapUrl();
|
|
|
- this.getBaseInfo()
|
|
|
+ this.getLatestNotice()
|
|
|
setTimeout(() => {
|
|
|
this.title = '四平市态势感知平台'
|
|
|
}, 1000)
|
|
@@ -556,8 +556,8 @@
|
|
|
audioSrc: require('@/assets/jingbao.mp3'),
|
|
|
|
|
|
calendarDay: this.getCurrentDataStr(),
|
|
|
- //基本情况
|
|
|
- forestInfo: '', //基本情况
|
|
|
+ //通知公告
|
|
|
+ noticeContent: '', //通知公告
|
|
|
//左侧获取事件信息统计
|
|
|
totalStr: '000000',
|
|
|
totalAllEvent: 0,
|
|
@@ -1084,15 +1084,11 @@
|
|
|
item
|
|
|
);
|
|
|
},
|
|
|
- getBaseInfo() {
|
|
|
- //左侧获取部门信息
|
|
|
- getBaseInfo().then(res => {
|
|
|
+ getLatestNotice() {
|
|
|
+ //左侧获取通知公告
|
|
|
+ getLatestNotice().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- if (res.msg == '暂无特色信息') {
|
|
|
- this.forestInfo = '暂未特色信息!'
|
|
|
- } else {
|
|
|
- this.forestInfo = res.data.baseinfo //基本情况
|
|
|
- }
|
|
|
+ this.noticeContent = res.data.noticeContent //通知公告
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -1745,4 +1741,4 @@
|
|
|
background-color: #0f3655;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|