(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-21972578"],{"0ab0":function(t,e,a){"use strict";a.d(e,"h",(function(){return s})),a.d(e,"k",(function(){return n})),a.d(e,"l",(function(){return i})),a.d(e,"j",(function(){return o})),a.d(e,"i",(function(){return c})),a.d(e,"a",(function(){return u})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return f})),a.d(e,"e",(function(){return d})),a.d(e,"b",(function(){return m})),a.d(e,"f",(function(){return p})),a.d(e,"g",(function(){return v})),a.d(e,"m",(function(){return k})),a.d(e,"n",(function(){return b}));var r=a("6b2d");const s=t=>r.a.post("/fakeUserName/create",t),n=t=>r.a.get("/fakeUserName/list",{params:t}),i=t=>r.a.post("/fakeUserName/update",t),o=t=>r.a.get("/fakeUserName/detail",{params:t}),c=t=>r.a.get("/fakeUserName/del",{params:t}),u=t=>r.a.post("/fakeUserAvatar/create",t),l=t=>r.a.get("/fakeUserAvatar/list",{params:t}),f=t=>r.a.get("/fakeUserAvatar/detail",{params:t}),d=t=>r.a.post("/fakeUserAvatar/update",t),m=t=>r.a.get("/fakeUserAvatar/del",{params:t}),p=t=>r.a.post("/fakeUser/create",t),v=t=>r.a.get("/fakeUser/list",{params:t}),k=t=>r.a.post("/fakeUserText/create",t),b=t=>r.a.get("/fakeUserText/list",{params:t})},cdb1:function(t,e,a){"use strict";a.r(e);var r=a("0ab0"),s=a("b3ad"),n=(a("b6c4"),{data:()=>({form:{name:""}}),components:{MaterialSelect:s.a},methods:{submitForm(t){this.$refs[t].validate(t=>{if(!t)return!1;this.addAvatar()})},addAvatar(){Object(r.a)(this.form).then(t=>{1==t.code?this.$message.success("新增成功!"):this.$message.error(t.msg)})}},mounted(){}}),i=a("2877"),o=Object(i.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ls-card"},[a("el-page-header",{attrs:{content:"新增马甲头像"},on:{back:function(e){return t.$router.go(-1)}}})],1),a("div",{staticClass:"ls-card m-t-16"},[a("div",{staticClass:"card-title"},[t._v("新增马甲头像")]),a("div",{staticClass:"card-content m-t-24"},[a("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[a("el-form-item",{attrs:{required:"",prop:"avatar",label:"头像"}},[a("material-select",{attrs:{limit:1},model:{value:t.form.avatar,callback:function(e){t.$set(t.form,"avatar",e)},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(e){return t.$router.go(-1)}}},[t._v("取消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.submitForm("form")}}},[t._v("新增")])],1)])])}),[],!1,null,null,null);e.default=o.exports}}]);