(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-379b16f3"],{"0471":function(e,t,a){"use strict";a.r(t);var r=a("0ab0"),n={data:()=>({table:{currentPage:1,pageSizes:[10],total:0,data:null}}),methods:{handleSizeChange(e){},handleCurrentChange(e){this.table.currentPage=e},getData(e,t){Object(r.n)({page:t}).then(e=>{this.table.currentPage=t,this.table.total=e.data.length,this.table.data=e.data})},jumpAdd(){this.$router.push({path:"/application/majia/talk/add",query:{}})}},mounted(){this.getData(10,1)}},s=a("2877"),o=Object(s.a)(n,(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-button",{attrs:{type:"primary",size:"mini"},on:{click:e.jumpAdd}},[e._v("增加文案")])],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:null==e.table.data?[]:e.table.data}},[a("el-table-column",{attrs:{prop:"date",label:"日期",width:"180"}}),a("el-table-column",{attrs:{prop:"name",label:"姓名",width:"180"}}),a("el-table-column",{attrs:{prop:"address",label:"地址"}}),a("el-table-column",{attrs:{label:"是否展示"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-switch",{model:{value:t.row.is_show,callback:function(a){e.$set(t.row,"is_show",a)},expression:"scope.row.is_show"}})]}}])}),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)],1)}),[],!1,null,null,null);t.default=o.exports},"0ab0":function(e,t,a){"use strict";a.d(t,"h",(function(){return n})),a.d(t,"k",(function(){return s})),a.d(t,"l",(function(){return o})),a.d(t,"j",(function(){return c})),a.d(t,"i",(function(){return i})),a.d(t,"a",(function(){return l})),a.d(t,"d",(function(){return u})),a.d(t,"c",(function(){return d})),a.d(t,"e",(function(){return p})),a.d(t,"b",(function(){return m})),a.d(t,"f",(function(){return f})),a.d(t,"g",(function(){return b})),a.d(t,"m",(function(){return h})),a.d(t,"n",(function(){return k}));var r=a("6b2d");const n=e=>r.a.post("/fakeUserName/create",e),s=e=>r.a.get("/fakeUserName/list",{params:e}),o=e=>r.a.post("/fakeUserName/update",e),c=e=>r.a.get("/fakeUserName/detail",{params:e}),i=e=>r.a.get("/fakeUserName/del",{params:e}),l=e=>r.a.post("/fakeUserAvatar/create",e),u=e=>r.a.get("/fakeUserAvatar/list",{params:e}),d=e=>r.a.get("/fakeUserAvatar/detail",{params:e}),p=e=>r.a.post("/fakeUserAvatar/update",e),m=e=>r.a.get("/fakeUserAvatar/del",{params:e}),f=e=>r.a.post("/fakeUser/create",e),b=e=>r.a.get("/fakeUser/list",{params:e}),h=e=>r.a.post("/fakeUserText/create",e),k=e=>r.a.get("/fakeUserText/list",{params:e})},"6b2d":function(e,t,a){"use strict";var r=a("0613"),n=a("bc3a"),s=a.n(n),o=a("d70b"),c=a("afbc"),i=a("5c96"),l=a("6ddb");const u={baseURL:o.a.baseURL+"/adminapi",headers:{"content-type":"application/json"}},d=(Object(l.g)(()=>(r.a.commit("setToken",""),r.a.commit("setUserInfo",{}),r.a.commit("setPermission",{}),c.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=o.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}}]);