(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4bc5071c"],{"6b2d":function(e,t,a){"use strict";var r=a("0613"),n=a("bc3a"),s=a.n(n),l=a("d70b"),o=a("afbc"),i=a("5c96"),c=a("6ddb");const u={baseURL:l.a.baseURL+"/adminapi",headers:{"content-type":"application/json"}},d=(Object(c.g)(()=>(r.a.commit("setToken",""),r.a.commit("setUserInfo",{}),r.a.commit("setPermission",{}),o.b.push("/account/login"),Promise.reject())),s.a.create(u));d.interceptors.request.use(e=>{const t=r.a.getters.token;return t&&(e.headers.token=t),e.headers.version=l.a.version,e},e=>Promise.reject(e)),d.interceptors.response.use(e=>e.data,e=>(Object(i.Message)({type:"error",message:"系统错误，请稍候再试"}),Promise.reject(e))),t.a=d},"75e8":function(e,t,a){"use strict";a.r(t);var r=a("ea4a"),n={data:()=>({table:{currentPage:1,pageSizes:[10],total:0,data:null}}),methods:{handleSizeChange(e){},handleCurrentChange(e){this.getData(e)},getData(e){Object(r.a)({page:e}).then(t=>{this.table.currentPage=e,this.table.total=t.data.total,this.table.data=t.data.data,this.table.pageSizes=[t.data.per_page]})}},mounted(){this.getData(1)}},s=a("2877"),l=Object(s.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-table",{staticStyle:{width:"100%"},attrs:{data:null==e.table.data?[]:e.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:e._u([{key:"default",fn:function(t){return[1==t.row.review_result?a("span",{staticStyle:{color:"green"}},[e._v("通过")]):e._e(),2==t.row.review_result?a("span",{staticStyle:{color:"red"}},[e._v("拒绝")]):e._e()]}}])}),a("el-table-column",{attrs:{label:"审核类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.review_type?a("span",[e._v("自动审核")]):e._e(),2==t.row.review_type?a("span",[e._v("人工审核")]):e._e()]}}])})],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=l.exports},ea4a:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"e",(function(){return s})),a.d(t,"c",(function(){return l})),a.d(t,"d",(function(){return o})),a.d(t,"a",(function(){return i}));a("f175");var r=a("6b2d");const n=e=>r.a.post("/audit.word/add",e),s=e=>r.a.get("/audit.word/list",{params:e}),l=e=>r.a.post("/audit.word/del",e),o=e=>r.a.post("/audit.word/delAll",e),i=e=>r.a.get("/audit.audit/list",{params:e})}}]);