(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["03998372"],{"16de":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"new full-height bg-white page-content radius"},[e("div",{staticClass:"full-height ",staticStyle:{padding:"20px"}},[e("div",{staticClass:"text-center",staticStyle:{"margin-bottom":"20px","border-bottom":"1px solid rgba(211,211,211,1)"}},[e("span",{staticClass:"text-ellipsis",staticStyle:{"font-size":"22px",display:"inline-block","text-align":"right","max-width":"100%"}},[t._v(t._s(t.title)+" "),e("br"),e("span",{staticStyle:{"font-size":"14px"}},[t._v(t._s(t.date))])])]),e("q-scroll-area",{ref:"scrollTargetRef",staticStyle:{margin:"0 10px",flex:"1",height:"calc(100% - 148px)"},attrs:{"thumb-style":t.thumbStyle}},[e("q-infinite-scroll",{ref:"scrollTarget",attrs:{offset:250,"scroll-target":t.$refs.scrollTargetRef}},[t.loading?e("div",{staticClass:"row justify-center q-my-md"},[e("q-spinner-dots",{attrs:{color:"primary",size:"40px"}})],1):e("div",{staticClass:"content",domProps:{innerHTML:t._s(t.content)}}),e("div",{staticClass:"text-center margin-t-20 fixed-btn"},[e("q-btn",{staticClass:"btn",staticStyle:{width:"96px"},attrs:{unelevated:"",color:"primary",label:"返回"},on:{click:function(n){return t.$router.go(-1)}}})],1)])],1)],1)])},i=[],a=(e("097d"),e("06db"),e("551c"),e("1d82")),c={name:"news-detail_1",data:function(){return{thumbStyle:this.CommonConfig.thumbStyle,id:"",title:"",date:"",content:"",loading:!1}},created:function(){this.id=this.$route.query.id,this.getInfo()},activated:function(){this.id!==this.$route.query.id&&(this.id=this.$route.query.id,this.getInfo())},methods:{getInfo:function(){var t=this;this.loading=!0,Object(a["g"])(this.id).then((function(n){t.title=n.data.title||"",t.date=n.data.createDate||"",t.content=n.data.content})).finally((function(){t.loading=!1}))}}},o=c,s=(e("4fc2"),e("2877")),u=Object(s["a"])(o,r,i,!1,null,"463ca2ae",null);n["default"]=u.exports},"1d82":function(t,n,e){"use strict";e.d(n,"c",(function(){return d})),e.d(n,"d",(function(){return h})),e.d(n,"e",(function(){return m})),e.d(n,"f",(function(){return v})),e.d(n,"g",(function(){return g})),e.d(n,"b",(function(){return p})),e.d(n,"h",(function(){return b})),e.d(n,"i",(function(){return y})),e.d(n,"j",(function(){return w})),e.d(n,"a",(function(){return x}));e("06db"),e("551c");var r=e("758b"),i=e("b21a"),a=e("2ef0"),c=e.n(a),o=i["a"].bmsUrl+"/v1",s=i["a"].machinestatusUrl+"/v1",u=i["a"].schemaUrl+"/v1",l=i["a"].datacenterUrl+"/v1",f=i["a"].upmsUrl+"/v1";function d(t){var n="".concat(o,"/newsBulletin/list");return r["a"].get(n,{params:t}).then((function(t){return Promise.resolve(t)}))}function h(t){var n="".concat(o,"/newsBulletin/listPopup");return r["a"].get(n,{params:t}).then((function(t){return Promise.resolve(t)}))}function m(t){var n="".concat(o,"/subsystem/").concat(t,"/notices");return r["a"].get(n).then((function(t){return Promise.resolve(t)}))}function v(t){var n="".concat(o,"/newsBulletin/pageAndContent");return r["a"].get(n,{params:t}).then((function(t){return Promise.resolve(t)}))}function g(t){var n="".concat(o,"/newsBulletin/detail/").concat(t);return r["a"].get(n).then((function(t){return Promise.resolve(t)}))}function p(){var t="".concat(s,"/plant/count_device");return r["a"].get(t).then((function(t){return Promise.resolve(t.data)}))}function b(){var t="".concat(s,"/plant/real_time_status");return r["a"].get(t).then((function(t){return Promise.resolve(t.data)}))}function y(t){if(!c.a.isNil(t)){var n="".concat(u,"/workshops/").concat(t,"/current_time/shift_date");return r["a"].get(n).then((function(t){return Promise.resolve(t.data)}))}}function w(){var t="".concat(l,"/account/detail");return r["a"].get(t).then((function(t){return Promise.resolve(t)}))}function x(t){var n="".concat(f,"/applications");return r["a"].get(n,{params:t}).then((function(t){return Promise.resolve(t)}))}},"4fc2":function(t,n,e){"use strict";var r=e("cfca"),i=e.n(r);i.a},cfca:function(t,n,e){}}]);