(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-049763e7"],{"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 i})),a.d(t,"j",(function(){return o})),a.d(t,"i",(function(){return c})),a.d(t,"a",(function(){return u})),a.d(t,"d",(function(){return f})),a.d(t,"c",(function(){return l})),a.d(t,"e",(function(){return d})),a.d(t,"b",(function(){return m})),a.d(t,"f",(function(){return p})),a.d(t,"g",(function(){return k})),a.d(t,"m",(function(){return v})),a.d(t,"n",(function(){return b}));var r=a("6b2d");const s=e=>r.a.post("/fakeUserName/create",e),n=e=>r.a.get("/fakeUserName/list",{params:e}),i=e=>r.a.post("/fakeUserName/update",e),o=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),f=e=>r.a.get("/fakeUserAvatar/list",{params:e}),l=e=>r.a.get("/fakeUserAvatar/detail",{params:e}),d=e=>r.a.post("/fakeUserAvatar/update",e),m=e=>r.a.get("/fakeUserAvatar/del",{params:e}),p=e=>r.a.post("/fakeUser/create",e),k=e=>r.a.get("/fakeUser/list",{params:e}),v=e=>r.a.post("/fakeUserText/create",e),b=e=>r.a.get("/fakeUserText/list",{params:e})},e5a2: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.addMajia()})},addMajia(){Object(r.h)(this.form).then(e=>{1==e.code?(this.$message.success("添加成功!"),this.form.name=""):this.$message.error(e.msg)})}},mounted(){}}),i=a("2877"),o=Object(i.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:"name",label:"马甲名称"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],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=o.exports}}]);