webpackJsonp([10],{"8JpJ":function(t,e){},U6qK:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("auNG"),s=a("LlAa"),n={components:{},data:function(){return{noticeList:[],pageNumber:1,pageSize:10,total:0,totalPage:0}},mounted:function(){this.getNoticeData()},methods:{toDetail:function(t){this.$router.push("/noticeDetail?noticeId="+t.noticeId)},handleCurrentChange:function(t){this.pageNumber=t,this.getNoticeData()},getNoticeData:function(){var t=this,e={pageNumber:t.pageNumber,pageSize:t.pageSize};Object(i.b)(e).then(function(e){var a=e.data;if("0000"==a.code)return t.noticeList=a.result.result||[],t.total=a.result.totalCount,void(t.totalPage=a.result.totalPage);s.a.errorMsg(a)}).catch(function(e){t.$message.error({duration:1e3,message:e.message})})}}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"notice-list"},[a("div",{staticClass:"notice-list-body"},[a("h2",[t._v("公告")]),t._v(" "),a("ul",{staticClass:"notice-list-ul"},[t._m(0),t._v(" "),t._l(t.noticeList,function(e,i){return[a("li",{key:i+"notice",staticClass:"notice-list-li notice-list-cell flex",on:{click:function(a){t.toDetail(e)}}},[a("div",{staticClass:"notice-list-left"},[a("span",[t._v("【"+t._s(e.groupName)+"】")]),a("span",{staticClass:"p-l-10"},[t._v(t._s(e.title))])]),t._v(" "),a("div",{staticClass:"notice-list-right"},[t._v("\n            "+t._s(t._f("timeStampToLineYmd")(e.effectiveTime))+"\n          ")])])]})],2),t._v(" "),t.total?t._e():a("div",{staticClass:"el-table__empty-block"},[t._m(1)]),t._v(" "),t.total?a("div",{staticClass:"page-wrap"},[a("el-pagination",{attrs:{total:t.total,"page-size":t.pageSize,"current-page":t.pageNumber,background:"",layout:"prev, pager, next"},on:{"current-change":t.handleCurrentChange}}),a("span",{staticClass:"p-l-48"},[t._v("共 "+t._s(t.totalPage)+" 页 "+t._s(t.total)+" 条")])],1):t._e()])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"notice-list-li flex li-th"},[e("div",{staticClass:"notice-list-left font-w-700"},[this._v("\n          公告标题\n        ")]),this._v(" "),e("div",{staticClass:"notice-list-right font-w-700"},[this._v("\n          公告时间\n        ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-table__empty-text"},[e("p",{staticClass:"font-14 color-909399"},[this._v("\n          暂无数据\n        ")])])}]};var o=a("VU/8")(n,l,!1,function(t){a("8JpJ")},"data-v-03b4caf4",null);e.default=o.exports}});