|
@@ -28,7 +28,7 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<p class="ino">
|
|
|
- {{ item.name }}
|
|
|
+ 【{{ item.noticeType }}】 {{ item.name }}
|
|
|
</p>
|
|
|
</div>
|
|
|
<div><span>></span></div>
|
|
@@ -55,12 +55,15 @@
|
|
|
|
|
|
<script>
|
|
|
import { parkNotice, propertyNotice, listNoticeToTop } from '@/service/api_service'
|
|
|
+import Base from '@/views/base/base.vue'
|
|
|
/**
|
|
|
* 分页是用的vant框架
|
|
|
* */
|
|
|
export default {
|
|
|
+ mixins: [Base],
|
|
|
data() {
|
|
|
return {
|
|
|
+ dc_key: ['notice_type'],
|
|
|
active: 1,
|
|
|
currentPage: 1,
|
|
|
total: 0,
|
|
@@ -97,6 +100,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.initDict(this.dc_key).then(() => {
|
|
|
+ console.log('this.dc_map.notice_type', this.dc_map.notice_type)
|
|
|
+ })
|
|
|
this.getListInfo()
|
|
|
if (this.$route.query.active) {
|
|
|
this.active = Number(this.$route.query.active)
|
|
@@ -153,7 +159,8 @@ export default {
|
|
|
eventIndex: index,
|
|
|
detail: item.noticeContent,
|
|
|
createTime: dayjs(item.createTime).format('YYYY-MM-DD'),
|
|
|
- noticeFileId: item.noticeFileId
|
|
|
+ noticeFileId: item.noticeFileId,
|
|
|
+ noticeType: this.dc_map.notice_type[item.type]
|
|
|
}
|
|
|
)
|
|
|
})
|