(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageNoticeList"],{"1b86":function(t,i,e){"use strict";e("b085")},"2be3":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"PageNoticeList"},[e("a-spin",{attrs:{spinning:t.spinning}},[e("a-card",{attrs:{bodyStyle:t.bodyStyle}},[e("div",{staticClass:"title row space",attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"tit"},[e("i",{staticClass:"icon msg"}),e("span",[t._v("平台公告")])]),e("a-button",{attrs:{icon:"outlined",type:"link"},on:{click:t.getNoticeData}},[e("a-icon",{attrs:{type:"sync",theme:"outlined"}}),t._v("\n          刷新\n        ")],1)],1),e("div",{staticClass:"list"},[e("ul",[t._l(t.publicNotice,(function(i){return[e("li",{key:i.id},[e("router-link",{staticClass:"row space item",attrs:{to:{name:"pageNoticeDetail",query:{id:i.id}}}},[e("span",{staticClass:"lab"},[t._v(t._s(i.noticeTitle))]),e("span",{staticClass:"val"},[t._v(t._s(i.publishTime))])])],1)]}))],2)]),e("div",{staticClass:"pagination"},[e("a-pagination",{attrs:{total:t.total,current:t.pageNo,"show-total":function(t){return"共 "+t+" 条"},"show-size-changer":"","show-quick-jumper":""},on:{showSizeChange:t.onShowSizeChange,change:t.onChange}})],1)])],1)],1)},n=[],s=e("0fea"),o={data:function(){return{spinning:!1,delayTime:300,publicNotice:[],pageNo:1,pageSize:10,total:0,rowCount:0,bodyStyle:{padding:"0 24px 24px 24px"}}},methods:{getNoticeData:function(){var t=this,i="/notice/purchaseNotice/getHomePageNotice",e={pageNo:this.pageNo,pageSize:this.pageSize};this.spinning=!0,Object(s["c"])(i,e).then((function(i){t.publicNotice=i.result.records||[],t.total=i.result.total})).finally((function(){t.spinning=!1}))},onShowSizeChange:function(t,i){this.pageSize=i,this.getNoticeData()},onChange:function(t){this.pageNo=t,this.getNoticeData()}},watch:{$route:{immediate:!0,handler:function(t){var i=t.path;"/pageNotice/list"===i&&this.getNoticeData()}}}},c=o,l=(e("1b86"),e("c225"),e("0b56")),p=Object(l["a"])(c,a,n,!1,null,"2a5fc7c0",null);i["default"]=p.exports},b085:function(t,i,e){},c225:function(t,i,e){"use strict";e("cf29")},cf29:function(t,i,e){}}]);