(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3a3240c5"],{"0ab0":function(e,t,a){"use strict";a.d(t,"h",(function(){return s})),a.d(t,"k",(function(){return n})),a.d(t,"l",(function(){return o})),a.d(t,"j",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"a",(function(){return u})),a.d(t,"d",(function(){return d})),a.d(t,"c",(function(){return l})),a.d(t,"e",(function(){return m})),a.d(t,"b",(function(){return f})),a.d(t,"f",(function(){return p})),a.d(t,"g",(function(){return b})),a.d(t,"m",(function(){return v})),a.d(t,"n",(function(){return k}));var r=a("6b2d");const s=e=>r.a.post("/fakeUserName/create",e),n=e=>r.a.get("/fakeUserName/list",{params:e}),o=e=>r.a.post("/fakeUserName/update",e),i=e=>r.a.get("/fakeUserName/detail",{params:e}),c=e=>r.a.get("/fakeUserName/del",{params:e}),u=e=>r.a.post("/fakeUserAvatar/create",e),d=e=>r.a.get("/fakeUserAvatar/list",{params:e}),l=e=>r.a.get("/fakeUserAvatar/detail",{params:e}),m=e=>r.a.post("/fakeUserAvatar/update",e),f=e=>r.a.get("/fakeUserAvatar/del",{params:e}),p=e=>r.a.post("/fakeUser/create",e),b=e=>r.a.get("/fakeUser/list",{params:e}),v=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"),s=a("bc3a"),n=a.n(s),o=a("d70b"),i=a("afbc"),c=a("5c96"),u=a("6ddb");const d={baseURL:o.a.baseURL+"/adminapi",headers:{"content-type":"application/json"}},l=(Object(u.g)(()=>(r.a.commit("setToken",""),r.a.commit("setUserInfo",{}),r.a.commit("setPermission",{}),i.b.push("/account/login"),Promise.reject())),n.a.create(d));l.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)),l.interceptors.response.use(e=>e.data,e=>(Object(c.Message)({type:"error",message:"系统错误，请稍候再试"}),Promise.reject(e))),t.a=l},cdb1:function(e,t,a){"use strict";a.r(t);var r=a("0ab0"),s=a("b3ad"),n=(a("b6c4"),{data:()=>({form:{name:""}}),components:{MaterialSelect:s.a},methods:{submitForm(e){this.$refs[e].validate(e=>{if(!e)return!1;this.addAvatar()})},addAvatar(){Object(r.a)(this.form).then(e=>{1==e.code?this.$message.success("新增成功!"):this.$message.error(e.msg)})}},mounted(){}}),o=a("2877"),i=Object(o.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"ls-card"},[a("el-page-header",{attrs:{content:"新增马甲头像"},on:{back:function(t){return e.$router.go(-1)}}})],1),a("div",{staticClass:"ls-card m-t-16"},[a("div",{staticClass:"card-title"},[e._v("新增马甲头像")]),a("div",{staticClass:"card-content m-t-24"},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px"}},[a("el-form-item",{attrs:{required:"",prop:"avatar",label:"头像"}},[a("material-select",{attrs:{limit:1},model:{value:e.form.avatar,callback:function(t){e.$set(e.form,"avatar",t)},expression:"form.avatar"}})],1)],1)],1)]),a("div",{staticClass:"bg-white ls-fixed-footer"},[a("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("取消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.submitForm("form")}}},[e._v("新增")])],1)])])}),[],!1,null,null,null);t.default=i.exports}}]);