(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3e3984c1"],{"75e8":function(t,e,a){"use strict";a.r(e);var l=a("ea4a"),n={data:()=>({table:{currentPage:1,pageSizes:[10],total:0,data:null}}),methods:{handleSizeChange(t){},handleCurrentChange(t){this.getData(t)},getData(t){Object(l.a)({page:t}).then(e=>{this.table.currentPage=t,this.table.total=e.data.total,this.table.data=e.data.data,this.table.pageSizes=[e.data.per_page]})}},mounted(){this.getData(1)}},r=a("2877"),i=Object(r.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{staticStyle:{width:"100%"},attrs:{data:null==t.table.data?[]:t.table.data}},[a("el-table-column",{attrs:{prop:"article_id",label:"文章ID",width:"80"}}),a("el-table-column",{attrs:{prop:"article.title",label:"文章标题"}}),a("el-table-column",{attrs:{prop:"create_time",label:"发布时间"}}),a("el-table-column",{attrs:{label:"审核结果"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.review_result?a("span",{staticStyle:{color:"green"}},[t._v("通过")]):t._e(),2==e.row.review_result?a("span",{staticStyle:{color:"red"}},[t._v("拒绝")]):t._e()]}}])}),a("el-table-column",{attrs:{label:"审核类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.review_type?a("span",[t._v("自动审核")]):t._e(),2==e.row.review_type?a("span",[t._v("人工审核")]):t._e()]}}])})],1),a("el-pagination",{attrs:{"current-page":t.table.currentPage,"page-sizes":t.table.pageSizes,"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:t.table.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)}),[],!1,null,null,null);e.default=i.exports},ea4a:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"e",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"d",(function(){return u})),a.d(e,"a",(function(){return o}));a("f175");var l=a("6b2d");const n=t=>l.a.post("/audit.word/add",t),r=t=>l.a.get("/audit.word/list",{params:t}),i=t=>l.a.post("/audit.word/del",t),u=t=>l.a.post("/audit.word/delAll",t),o=t=>l.a.get("/audit.audit/list",{params:t})}}]);