/*! * build: Hopaheal * copyright: Mead * time: 2023-3-13 15:21:04 */ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f7b5295"],{"2a70":function(t,e,n){"use strict";n("a05e")},"3cae":function(t,e,n){"use strict";n.r(e),n.d(e,"getLists",(function(){return a})),n.d(e,"getNotice",(function(){return s})),n.d(e,"doAdd",(function(){return o})),n.d(e,"doEdit",(function(){return r})),n.d(e,"getDetail",(function(){return u})),n.d(e,"doDelete",(function(){return d})),n.d(e,"doDeletes",(function(){return c})),n.d(e,"getRead",(function(){return l})),n.d(e,"getMessage",(function(){return f})),n.d(e,"clearRead",(function(){return m})),n.d(e,"doPause",(function(){return h}));var i=n("b775");function a(t){return Object(i["default"])({url:"/news/notice",method:"get",params:t})}function s(t){return Object(i["default"])({url:"/inform/information-user-messages",method:"get",params:t})}function o(t){return Object(i["default"])({url:"/news/notice",method:"post",data:t})}function r(t){return Object(i["default"])({url:"/news/notice/info/"+t.id,method:"put",data:t})}function u(t){return Object(i["default"])({url:"/news/notice/info/"+t,method:"get"})}function d(t){return Object(i["default"])({url:"/inform/information/"+t.ids,method:"delete"})}function c(t){return Object(i["default"])({url:"/inform/information/delete",method:"post",data:t})}function l(t){return Object(i["default"])({url:"/inform/information-user-messages",method:"get",params:t})}function f(t){return Object(i["default"])({url:"/inform/information-read-messages",method:"post",data:t})}function m(t){return Object(i["default"])({url:"/inform/information-read-messages",method:"post",data:t})}function h(t){return Object(i["default"])({url:"/news/notice/pause",method:"get",params:t})}},5089:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("el-card",{staticClass:"card"},[n("el-page-header",{staticClass:"goback",attrs:{content:"公告详情"},on:{back:t.goBack}}),n("div",{staticClass:"title"},[t._v(t._s(t.detail.name))]),n("div",{staticClass:"title_f"},[n("div",{staticClass:"tags"},[n("span",[t._v("公告标签:")]),t._l(t.detail.tags,(function(e,i){return n("span",{key:i,staticClass:"label"},[t._v(" "+t._s(e)+" ")])}))],2),n("div",{staticClass:"count"},[n("span",[t._v("浏览次数:")]),n("span",[t._v(t._s(t.detail.view_count))])]),n("div",{staticClass:"time"},[n("span",[t._v("时间:")]),n("span",[t._v(t._s(t.detail.updated_at))])])]),n("div",{staticClass:"body"},[n("div",{domProps:{innerHTML:t._s(t.detail.body)}})])],1)],1)},a=[],s=n("7736"),o=n("9f2e"),r=n("3cae"),u={data(){return{id:"",detail:{cover_resource:{url:""}}}},created(){const t=this.$route;this.id=t.query.id,console.log(t.query.id,"idididii"),this.getDetail()},methods:{async getDetail(){const{data:t}=await Object(r["getDetail"])(this.id);console.log(t,"公告详情"),this.detail=t,console.log(this.detail,"detail")},...Object(s["b"])({delVisitedRoute:"tabs/delVisitedRoute"}),goBack(){let t=this.$route.query.type;this.delVisitedRoute(Object(o["handleActivePath"])(this.$route,!0)),t?"index"==t&&this.$router.push({path:"/"}):this.$router.push({path:"/notice/list"})}}},d=u,c=(n("2a70"),n("0b56")),l=Object(c["a"])(d,i,a,!1,null,"05dc1598",null);e["default"]=l.exports},a05e:function(t,e,n){}}]);