|
|
|
@ -14,7 +14,9 @@
|
|
|
|
|
<div class="notice-tz-l-title">
|
|
|
|
|
<div class="notice-tz-1-title-div">
|
|
|
|
|
<span :class="'notice-type-flag ' + (getLevelStyle(item))">{{ item.level_name }}</span>
|
|
|
|
|
<span :title="item.notice_title"> {{ item.notice_title }}</span>
|
|
|
|
|
<span :title="item.notice_title"
|
|
|
|
|
v-on:click="showNoticeDetail(item)"
|
|
|
|
|
> {{ item.notice_title }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="notice-tz-1-flag-div">
|
|
|
|
|
<span :class="parseInt(item.is_read) == 0?'no-readed':''">{{getReadTitleText(item)}}</span>
|
|
|
|
@ -37,6 +39,9 @@
|
|
|
|
|
<div v-else class="show-loading-div">
|
|
|
|
|
<a-spin/>
|
|
|
|
|
</div>
|
|
|
|
|
<FusionModalPanel key="noticeLargePanel" v-bind="modalObject" @callback="modalCallback" :style="{display:'block'}">
|
|
|
|
|
<component v-if="modalObject.show" :is="childDom" v-bind="modalObject.params"></component>
|
|
|
|
|
</FusionModalPanel>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
@ -44,6 +49,7 @@
|
|
|
|
|
import {List, Icon, Spin} from 'ant-design-vue';
|
|
|
|
|
import Portrait from '../common/portrait';
|
|
|
|
|
import TabComp from '../common/tabComp.vue';
|
|
|
|
|
import FusionModalPanel from '../../../../../../../components/common/fusionModal/FusionModalPanel';
|
|
|
|
|
export default{
|
|
|
|
|
data(){
|
|
|
|
|
return {
|
|
|
|
@ -60,11 +66,26 @@
|
|
|
|
|
totolNum: 0,
|
|
|
|
|
showLoading: true,
|
|
|
|
|
tabIndex: 0,
|
|
|
|
|
modalObject:{
|
|
|
|
|
show:false,
|
|
|
|
|
modalTitle:'',
|
|
|
|
|
destroyOnClose:true,
|
|
|
|
|
OKButton:true,
|
|
|
|
|
CancelButton:true,
|
|
|
|
|
modalWidth:'50%',
|
|
|
|
|
modalClassName:'',
|
|
|
|
|
zIndex:100
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
this.getNoticeList();
|
|
|
|
|
},
|
|
|
|
|
computed:{
|
|
|
|
|
childDom:function () {
|
|
|
|
|
return this.modalObject && this.modalObject.url !== ""?() => import(`@/${this.modalObject.url}`):null;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
changeTab: function (param) {
|
|
|
|
|
if (this.tabIndex != param.index) {
|
|
|
|
@ -229,7 +250,19 @@
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
return levelStyle;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
showNoticeDetail:function (notice) {
|
|
|
|
|
notice.appId = "view_notice";
|
|
|
|
|
this.modalObject.url = "views/superFusionPlatform/application/PopupOfficeApp.vue";
|
|
|
|
|
this.modalObject.params = notice;
|
|
|
|
|
this.modalObject.modalTitle = "查看通知";
|
|
|
|
|
this.modalObject.OKButton = false;
|
|
|
|
|
this.modalObject.show = true;
|
|
|
|
|
},
|
|
|
|
|
modalCallback:function(){
|
|
|
|
|
this.modalObject.show = false;
|
|
|
|
|
this.getNoticeList();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
AList: List,
|
|
|
|
@ -237,7 +270,8 @@
|
|
|
|
|
AIcon: Icon,
|
|
|
|
|
ASpin: Spin,
|
|
|
|
|
Portrait,
|
|
|
|
|
TabComp
|
|
|
|
|
TabComp,
|
|
|
|
|
FusionModalPanel
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|