|
@@ -412,15 +412,9 @@
|
|
</el-row>
|
|
</el-row>
|
|
<!-- </div> -->
|
|
<!-- </div> -->
|
|
<div class="updateNotice">
|
|
<div class="updateNotice">
|
|
- <el-dialog
|
|
|
|
- title="系统公告"
|
|
|
|
- :visible.sync="updateVisible"
|
|
|
|
- width="500px"
|
|
|
|
- top="20vh"
|
|
|
|
- :before-close="updateClose">
|
|
|
|
|
|
+ <el-dialog title="系统公告" :visible.sync="updateVisible" width="500px" top="20vh" :before-close="updateClose">
|
|
<b style="font-size:16px;margin:0 0 10px 0;display: inline-block;">{{announcement.title}}</b>
|
|
<b style="font-size:16px;margin:0 0 10px 0;display: inline-block;">{{announcement.title}}</b>
|
|
<div class="announDetails" style="padding:0 0 0 0" v-html="announcement.focus"></div>
|
|
<div class="announDetails" style="padding:0 0 0 0" v-html="announcement.focus"></div>
|
|
-
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="$router.push({ path: '/update_notice' })" type="primary" round>查看详情</el-button>
|
|
<el-button @click="$router.push({ path: '/update_notice' })" type="primary" round>查看详情</el-button>
|
|
</span>
|
|
</span>
|
|
@@ -580,7 +574,6 @@ export default {
|
|
if(res.data.code == 1){
|
|
if(res.data.code == 1){
|
|
let list = res.data.data.list[0]
|
|
let list = res.data.data.list[0]
|
|
if(localStorage.getItem('noticeId')){
|
|
if(localStorage.getItem('noticeId')){
|
|
- console.log(list.id)
|
|
|
|
if(localStorage.getItem('noticeId') != list.id){
|
|
if(localStorage.getItem('noticeId') != list.id){
|
|
this.updateVisible = true
|
|
this.updateVisible = true
|
|
localStorage.setItem("noticeId",list.id);
|
|
localStorage.setItem("noticeId",list.id);
|
|
@@ -591,7 +584,6 @@ export default {
|
|
}
|
|
}
|
|
this.announcement = list
|
|
this.announcement = list
|
|
}
|
|
}
|
|
- console.log(res)
|
|
|
|
}).finally(()=>{
|
|
}).finally(()=>{
|
|
this.announLoad = false
|
|
this.announLoad = false
|
|
})
|
|
})
|