(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7ddaa094"],{"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 m})),a.d(t,"e",(function(){return f})),a.d(t,"b",(function(){return l})),a.d(t,"f",(function(){return p})),a.d(t,"g",(function(){return b})),a.d(t,"m",(function(){return k})),a.d(t,"n",(function(){return v}));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}),m=e=>r.a.get("/fakeUserAvatar/detail",{params:e}),f=e=>r.a.post("/fakeUserAvatar/update",e),l=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}),k=e=>r.a.post("/fakeUserText/create",e),v=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"}},m=(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));m.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)),m.interceptors.response.use(e=>e.data,e=>(Object(c.Message)({type:"error",message:"系统错误，请稍候再试"}),Promise.reject(e))),t.a=m},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(){}}),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:"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=i.exports}}]);