|
@@ -6,29 +6,29 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<div class="car-line">
|
|
|
- <el-carousel height="40px" direction="vertical" trigger="click">
|
|
|
- <el-carousel-item
|
|
|
- v-for="item in noticeData"
|
|
|
- :key="item.noticeId"
|
|
|
- >
|
|
|
+ <el-carousel height="40px" direction="vertical" trigger="click" v-if="noticeData.length != '0'">
|
|
|
+ <el-carousel-item v-for="item in noticeData" :key="item.noticeId">
|
|
|
<div class="car-box">
|
|
|
<i class="el-icon-message-solid"></i>
|
|
|
<span>公告</span>
|
|
|
<span style="color: #0b82ff" @click="uploadsee(item)">{{
|
|
|
- item.noticeTitle
|
|
|
- }}</span>
|
|
|
+ item.noticeTitle
|
|
|
+}}</span>
|
|
|
<span @click="jNotice">更多</span>
|
|
|
</div>
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
+ <div height="40px" direction="vertical" trigger="click" v-if="noticeData.length == '0'">
|
|
|
+
|
|
|
+ <div class="car-box" style="text-align: center;">
|
|
|
+ 暂无公告
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col
|
|
|
- :span="24"
|
|
|
- style="background: #fff; margin-top: 10px; border-radius: 5px"
|
|
|
- >
|
|
|
+ <el-col :span="24" style="background: #fff; margin-top: 10px; border-radius: 5px">
|
|
|
<leaderTag :dynamicTags="dynamicTags"></leaderTag>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -38,10 +38,7 @@
|
|
|
<hometask></hometask>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <numberhits
|
|
|
- :numHits="numHits"
|
|
|
- :numHits1="numHits1"
|
|
|
- ></numberhits>
|
|
|
+ <numberhits :numHits="numHits" :numHits1="numHits1"></numberhits>
|
|
|
</el-col>
|
|
|
</div>
|
|
|
<div v-else>
|
|
@@ -56,24 +53,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-dialog
|
|
|
- title="公告"
|
|
|
- :visible.sync="dialogStatus"
|
|
|
- width="50%"
|
|
|
- :close-on-press-escape="false"
|
|
|
- :show-close="true"
|
|
|
- :destroy-on-close="true"
|
|
|
- :modal-append-to-body="false"
|
|
|
- :close-on-click-modal="false"
|
|
|
- :fullscreen="true"
|
|
|
- >
|
|
|
+ <el-dialog title="公告" :visible.sync="dialogStatus" width="50%" :close-on-press-escape="false" :show-close="true"
|
|
|
+ :destroy-on-close="true" :modal-append-to-body="false" :close-on-click-modal="false" :fullscreen="true">
|
|
|
<el-form :model="infolist" ref="infolist">
|
|
|
<div style="height: calc(100vh - 180px); overflow-y: scroll">
|
|
|
- <notiCheck
|
|
|
- :infolist="infolist"
|
|
|
- :datalist="datalist"
|
|
|
- :dialogInfo="dialogStatus"
|
|
|
- ></notiCheck>
|
|
|
+ <notiCheck :infolist="infolist" :datalist="datalist" :dialogInfo="dialogStatus"></notiCheck>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
<div class="myfooter" style="text-align: right; margin: 20px 20px 0 0">
|
|
@@ -294,6 +278,7 @@ export default {
|
|
|
overflow-y: scroll;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.car-line {
|
|
|
height: 40px;
|
|
|
background: #fff;
|