(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["userNoticeDetail"],{"1e44":function(t,e,n){n("f4aa"),t.exports=n("ce99").Object.getOwnPropertySymbols},"3a23":function(t,e,n){t.exports=n("c521")},"4e9d":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var a=n("74ec2"),i=n.n(a),c=n("3a23"),s=n.n(c);function r(t,e){if(null==t)return{};var n,a,i={},c=s()(t);for(a=0;a<c.length;a++)n=c[a],e.indexOf(n)>=0||(i[n]=t[n]);return i}function o(t,e){if(null==t)return{};var n,a,c=r(t,e);if(i.a){var s=i()(t);for(a=0;a<s.length;a++)n=s[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(c[n]=t[n])}return c}},"74ec2":function(t,e,n){t.exports=n("1e44")},"7acc":function(t,e,n){"use strict";n("ba93")},"8df9":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"NotieDetail"},[n("div",{staticClass:"content"},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"info"},[n("h1",{staticClass:"title"},[t._v(t._s(t.info.noticeTitle))]),n("div",{staticClass:"user"},[n("span",{staticClass:"item"},[n("span",{staticClass:"label"},[t._v("创建者")]),n("span",{staticClass:"val"},[t._v(t._s(t.info.publishUser))])]),n("span",{staticClass:"item"},[n("span",{staticClass:"label"},[t._v("发布时间")]),n("span",{staticClass:"val"},[t._v(t._s(t.info.publishTime))])])]),n("div",{staticClass:"richContent",domProps:{innerHTML:t._s(t.info.noticeContent)}}),n("div",{staticClass:"download"},[n("div",{staticClass:"line"}),n("a",{staticClass:"attachment",attrs:{href:"javascript: void(0)"}},[t._v("附件下载")]),n("div",{staticClass:"file"},[n("ul",[t._l(t.purchaseAttachmentList,(function(e){return[n("li",{key:e.id},[n("a",{staticClass:"link",attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.downloadFile(e)}}},[t._v("\n                    "+t._s(e.fileName)+"\n                  ")])])]}))],2)])])])])])])},i=[],c=(n("ac67"),n("1bc7"),n("32ea"),n("8eda")),s=n("4e9d"),r=n("0fea"),o=n("b775"),l=["purchaseAttachmentList"];function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){Object(c["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var d={data:function(){return{id:"",info:{},purchaseAttachmentList:[],url:{download:"/attachment/purchaseAttachment/download"}}},methods:{getDetailData:function(){var t=this,e="/notice/purchaseNotice/noToken/queryById",n={id:this.id};Object(r["c"])(e,n).then((function(e){var n=e.result||{},a=n.purchaseAttachmentList,i=void 0===a?[]:a,c=Object(s["a"])(n,l);t.purchaseAttachmentList=i,t.info=f({},c)}))},downloadFile:function(t){var e={id:t.id};Object(o["b"])({url:this.url.download,responseType:"blob",params:e}).then((function(e){var n=new Blob([e]),a=window.URL.createObjectURL(n),i=document.createElement("a");i.style.display="none",i.href=a,i.download=t.fileName,i.click()}))}},watch:{$route:{immediate:!0,handler:function(t){var e=t.path,n=t.query;if("/user/noticeDetail"===e){var a=n.id,i=void 0===a?"":a;this.id=i,this.getDetailData()}}}}},p=d,b=(n("7acc"),n("0b56")),v=Object(b["a"])(p,a,i,!1,null,"0c84be59",null);e["default"]=v.exports},"93a9":function(t,e,n){var a=n("7c2b"),i=n("ce99"),c=n("99fe");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),a(a.S+a.F*c((function(){n(1)})),"Object",s)}},ba93:function(t,e,n){},c521:function(t,e,n){n("f031"),t.exports=n("ce99").Object.keys},f031:function(t,e,n){var a=n("3212"),i=n("4b9f");n("93a9")("keys",(function(){return function(t){return i(a(t))}}))}}]);