(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-cb9d8d7c"],{f12e:function(e,t,a){"use strict";a.r(t);var n=a("f19e"),l={data:()=>({table:{currentPage:1,pageSizes:[10],total:0,data:null}}),methods:{handleSizeChange(e){},handleCurrentChange(e){this.table.currentPage=e,this.getData(10,this.table.currentPage)},getData(e,t){Object(n.i)({page_no:t}).then(e=>{1==e.code&&(this.table.currentPage=t,this.table.total=e.data.total,this.table.data=e.data.data)})}},mounted(){this.getData(10,1)}},r=a("2877"),o=Object(r.a)(l,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"ls-card m-b-12"},[a("el-alert",{attrs:{title:"温馨提示：可以通过搜索标题、发帖时间搜索帖子。",type:"info","show-icon":"",closable:!1}})],1),a("el-table",{staticStyle:{width:"100%"},attrs:{size:"mini",data:null==e.table.data?[]:e.table.data}},[a("el-table-column",{attrs:{prop:"id",label:"ID"}}),a("el-table-column",{attrs:{prop:"user_id",label:"用户id"}}),a("el-table-column",{attrs:{prop:"box_id",label:"盲盒id"}}),a("el-table-column",{attrs:{prop:"match_time",label:"匹配时间"}}),a("el-table-column",{attrs:{label:"是否已查看"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.is_read?a("span",[e._v("未查看")]):e._e(),1==t.row.is_read?a("span",[e._v("已查看")]):e._e()]}}])}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.status?a("span",[e._v("已关闭")]):e._e(),1==t.row.status?a("span",[e._v("进行中")]):e._e(),2==t.row.status?a("span",[e._v("已结束")]):e._e()]}}])}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{model:{value:t.row.is_recommend,callback:function(a){e.$set(t.row,"is_recommend",a)},expression:"scope.row.is_recommend"}})]}}])})],1),a("el-pagination",{attrs:{"current-page":e.table.currentPage,"page-sizes":e.table.pageSizes,"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:e.table.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)}),[],!1,null,null,null);t.default=o.exports},f19e:function(e,t,a){"use strict";a.d(t,"d",(function(){return l})),a.d(t,"c",(function(){return r})),a.d(t,"h",(function(){return o})),a.d(t,"b",(function(){return i})),a.d(t,"e",(function(){return s})),a.d(t,"i",(function(){return d})),a.d(t,"f",(function(){return u})),a.d(t,"g",(function(){return c})),a.d(t,"a",(function(){return b}));var n=a("6b2d");const l=e=>n.a.get("/blind_boxe.BlindBoxe/list",{params:e}),r=e=>n.a.get("/blind_boxe.BlindBoxe/detail",{params:e}),o=e=>n.a.post("/blind_boxe.BlindBoxe/update",e),i=e=>n.a.get("/blind_boxe.BlindBoxe/detail",{params:e}),s=e=>n.a.get("/blind_boxe.BlindBoxeOrder/list",{params:e}),d=e=>n.a.get("/blind_boxe.BlindBoxeRecord/list",{params:e}),u=e=>n.a.get("/blind_boxe.BlindBoxeOrder/detail",{params:e}),c=e=>n.a.post("/blind_boxe.BlindBoxeOrder/update",e),b=e=>n.a.get("/blind_boxe.BlindBoxeRecord/detail",{params:e})}}]);