(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4d77b35c"],{5448:function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[t._m(0),a("div",{staticClass:"content"},[a("div",{staticClass:"jDetail"},[a("img",{staticStyle:{float:"left"},attrs:{src:t.form.img,alt:"",width:"159",height:"210"}}),a("table",{staticClass:"tbl",staticStyle:{float:"left","margin-left":"45px"},attrs:{cellpadding:"0",cellspacing:"0",width:"80%"}},[a("tr",[a("td",{attrs:{width:"119",align:"right"}},[t._v("名称:")]),a("td",[t._v(t._s(t.form.name))])]),a("tr",[a("td",{attrs:{align:"right"}},[t._v("微信号:")]),a("td",[t._v(t._s(t.form.wxcode))])]),a("tr",[a("td",{attrs:{align:"right"}},[t._v("主办单位:")]),a("td",[t._v(t._s(t.form.organizer_name))])]),a("tr",[a("td",{attrs:{align:"right"}},[t._v("所属学科:")]),a("td",[t._v(t._s(t.form.subject_name))])]),a("tr",[a("td",{attrs:{align:"right"}},[t._v("简介:")]),a("td",[t._v(t._s(t.form.desc))])])]),a("div",{staticStyle:{clear:"both",height:"0",content:"''"}})]),a("div",{staticClass:"journalItem overActivity"},[a("div",{staticClass:"title"},[t._v("活动回顾")]),a("div",{staticClass:"title more"},[t._v("查看更多>>")]),a("el-button",{staticClass:"add",attrs:{type:"primary",size:"mini"}},[t._v("发布活动回顾")])],1),a("div",[a("el-table",{attrs:{data:t.oldActivityList}},[a("el-table-column",{attrs:{label:"活动海报"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("img",{staticStyle:{margin:"10px"},attrs:{src:t.row.img,alt:"",width:"120",height:"80"}})]}}])}),a("el-table-column",{attrs:{label:"活动名称",prop:"name"}}),a("el-table-column",{attrs:{label:"活动时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.row.begin_time))]),a("p",[t._v(t._s(e.row.end_time))])]}}])}),a("el-table-column",{attrs:{label:"活动地址",prop:"address"}}),a("el-table-column",{attrs:{label:"活动简介",prop:"desc",width:"500"}}),a("el-table-column",{attrs:{label:"活动人数",prop:"assembly_number"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编辑")]),a("el-button",{staticClass:"del",attrs:{type:"text"},on:{click:t.del}},[t._v("删除")])]}}])})],1)],1),a("div",{staticClass:"journalItem preActivity"},[a("div",{staticClass:"title"},[t._v("活动预告")]),a("div",{staticClass:"title more"},[t._v("查看更多>>")]),a("el-button",{staticClass:"add",attrs:{type:"primary",size:"mini"}},[t._v("发布活动预告")])],1),a("div",[a("el-table",{attrs:{data:t.newActivityList}},[a("el-table-column",{attrs:{label:"活动海报"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("img",{staticStyle:{margin:"10px"},attrs:{src:t.row.img,alt:"",width:"120",height:"80"}})]}}])}),a("el-table-column",{attrs:{label:"活动名称",prop:"name"}}),a("el-table-column",{attrs:{label:"活动时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("p",[t._v(t._s(e.row.begin_time))]),a("p",[t._v(t._s(e.row.end_time))])]}}])}),a("el-table-column",{attrs:{label:"活动地址",prop:"address"}}),a("el-table-column",{attrs:{label:"活动简介",prop:"desc",width:"500"}}),a("el-table-column",{attrs:{label:"活动人数",prop:"assembly_number"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编辑")]),a("el-button",{staticClass:"del",attrs:{type:"text"},on:{click:t.del}},[t._v("删除")])]}}])})],1)],1),a("div",{staticClass:"journalItem preActivity"},[a("div",{staticClass:"title"},[t._v("精品文章")]),a("div",{staticClass:"title more"},[t._v("查看更多>>")]),a("el-button",{staticClass:"add",attrs:{type:"primary",size:"mini"}},[t._v("发布精品文章")])],1),a("div",[a("el-table",{attrs:{data:t.goodArticleList}},[a("el-table-column",{attrs:{label:"文章名称",prop:"name"}}),a("el-table-column",{attrs:{label:"作者",prop:"author"}}),a("el-table-column",{attrs:{label:"发布时间",prop:"ctime",width:"500"}}),a("el-table-column",{attrs:{label:"出版时间",prop:"publish_time"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{staticClass:"edit",attrs:{type:"text"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编辑")]),a("el-button",{staticClass:"del",attrs:{type:"text"},on:{click:t.del}},[t._v("删除")])]}}])})],1)],1)])])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("span",[t._v("刊群导览>")]),t._v("期刊详情")])}],s=a("5d89"),r={components:{fuEditor:s["a"]},data:function(){return{form:{},oldActivityList:[],newActivityList:[],organizerList:[],goodArticleList:[],imageUrl:"",rules:{name:[{required:!0,message:"请输入标题",trigger:"blur"}],wxcode:[{required:!0,message:"请输入微信号",trigger:"blur"}],organizer_id:[{required:!0,message:"请选择主办单位",trigger:"blur"}],subject_id:[{required:!0,message:"请选择学科",trigger:"change"}],img:[{required:!0,message:"封面图",trigger:"blur"}]}}},methods:{gopage:function(t){t&&(this.form.page_size=t),this.form.page=this.$refs.pageButton.page,this.getData()},getData:function(){var t=this;this.loading=!0;var e=this.$route.query.id;e&&this.$api.showJournal({id:e}).then((function(e){console.log(e),t.form=e.data.data,t.oldActivityList=e.data.data.old_activity,t.newActivityList=e.data.data.new_activity,t.goodArticleList=e.data.data.good_article}))},del:function(t){var e=this;this.$confirm("确定删除吗","提示",{type:"warning"}).then((function(){e.$api.delJournal({id:t}).then((function(t){e.$message({message:"删除成功",type:"success"}),e.getData()}))}))}},created:function(){this.getData()}},n=r,o=(a("c93f"),a("5d22")),c=Object(o["a"])(n,l,i,!1,null,"30c4d0b1",null);e["default"]=c.exports},b733:function(t,e,a){},c93f:function(t,e,a){"use strict";a("b733")}}]); //# sourceMappingURL=chunk-4d77b35c.aa03a211.js.map