(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-54cc495e"],{a36c:function(t,r,e){"use strict";e.r(r);var a=e("e889"),n=e("b3ad"),o=(e("b6c4"),{data:()=>({form:{name:"",sort:0}}),components:{MaterialSelect:n.a},methods:{merchantLabelCreate(){Object(a.i)(this.form).then(t=>{1==t.code?(this.$message.success("创建成功!"),setTimeout(()=>this.$router.go(-1),500)):this.$message.error(t.msg)})},submitForm(t){this.$refs[t].validate(t=>{if(!t)return!1;this.merchantLabelCreate()})}},mounted(){}}),c=e("2877"),s=Object(c.a)(o,(function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("div",[e("div",{staticClass:"ls-card"},[e("el-page-header",{attrs:{content:"新建商家标签"},on:{back:function(r){return t.$router.go(-1)}}})],1),e("div",{staticClass:"ls-card m-t-16"},[e("div",{staticClass:"card-title"},[t._v("新建商家标签")]),e("div",{staticClass:"card-content m-t-24"},[e("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[e("el-form-item",{attrs:{required:"",prop:"name",label:"名称"}},[e("el-input",{model:{value:t.form.name,callback:function(r){t.$set(t.form,"name",r)},expression:"form.name"}})],1),e("el-form-item",{attrs:{prop:"remark",label:"描述"}},[e("el-input",{model:{value:t.form.remark,callback:function(r){t.$set(t.form,"remark",r)},expression:"form.remark"}})],1),e("el-form-item",{attrs:{prop:"sort",label:"排序"}},[e("el-input",{model:{value:t.form.sort,callback:function(r){t.$set(t.form,"sort",r)},expression:"form.sort"}})],1)],1)],1)]),e("div",{staticClass:"bg-white ls-fixed-footer"},[e("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[e("el-button",{attrs:{size:"small"},on:{click:function(r){return t.$router.go(-1)}}},[t._v("取消")]),e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(r){return t.submitForm("form")}}},[t._v("新建")])],1)])])}),[],!1,null,null,null);r.default=s.exports},e889:function(t,r,e){"use strict";e.d(r,"s",(function(){return n})),e.d(r,"r",(function(){return o})),e.d(r,"q",(function(){return c})),e.d(r,"p",(function(){return s})),e.d(r,"t",(function(){return u})),e.d(r,"x",(function(){return i})),e.d(r,"u",(function(){return m})),e.d(r,"y",(function(){return d})),e.d(r,"w",(function(){return l})),e.d(r,"v",(function(){return p})),e.d(r,"C",(function(){return f})),e.d(r,"B",(function(){return h})),e.d(r,"D",(function(){return g})),e.d(r,"z",(function(){return b})),e.d(r,"A",(function(){return C})),e.d(r,"H",(function(){return M})),e.d(r,"G",(function(){return P})),e.d(r,"I",(function(){return v})),e.d(r,"E",(function(){return k})),e.d(r,"F",(function(){return y})),e.d(r,"a",(function(){return w})),e.d(r,"d",(function(){return $})),e.d(r,"e",(function(){return x})),e.d(r,"c",(function(){return L})),e.d(r,"b",(function(){return O})),e.d(r,"n",(function(){return _})),e.d(r,"h",(function(){return j})),e.d(r,"g",(function(){return z})),e.d(r,"f",(function(){return F})),e.d(r,"o",(function(){return q})),e.d(r,"l",(function(){return E})),e.d(r,"k",(function(){return J})),e.d(r,"j",(function(){return S})),e.d(r,"i",(function(){return A})),e.d(r,"m",(function(){return B}));var a=e("6b2d");const n=t=>a.a.get("/partner.PartnerCategory/list",{params:t}),o=t=>a.a.get("/partner.PartnerCategory/detail",{params:t}),c=t=>a.a.get("/partner.PartnerCategory/del",{params:t}),s=t=>a.a.post("/partner.PartnerCategory/create",t),u=t=>a.a.post("/partner.PartnerCategory/update",t),i=t=>a.a.get("/partner.PartnerComment/list",{params:t}),m=t=>a.a.post("/partner.PartnerComment/create",t),d=t=>a.a.post("/partner.PartnerComment/update",t),l=t=>a.a.get("/partner.PartnerComment/detail",{params:t}),p=t=>a.a.get("/partner.PartnerComment/del",{params:t}),f=t=>a.a.get("/partner.PartnerMember/list",{params:t}),h=t=>a.a.get("/partner.PartnerMember/detail",{params:t}),g=t=>a.a.post("/partner.PartnerMember/update",t),b=t=>a.a.post("/partner.PartnerMember/create",t),C=t=>a.a.get("/partner.PartnerMember/del",{params:t}),M=t=>a.a.get("/partner.PartnerOrder/list",{params:t}),P=t=>a.a.get("/partner.PartnerOrder/detail",{params:t}),v=t=>a.a.post("/partner.PartnerOrder/update",t),k=t=>a.a.post("/partner.PartnerOrder/create",t),y=t=>a.a.get("/partner.PartnerOrder/del",{params:t}),w=t=>a.a.post("/merchant.MerchantCategory/create",t),$=t=>a.a.get("/merchant.MerchantCategory/list",{params:t}),x=t=>a.a.post("/merchant.MerchantCategory/update",t),L=t=>a.a.get("/merchant.MerchantCategory/detail",{params:t}),O=t=>a.a.get("/merchant.MerchantCategory/del",{params:t}),_=t=>a.a.get("/merchant.Merchant/list",{params:t}),j=t=>a.a.get("/merchant.Merchant/detail",{params:t}),z=t=>a.a.get("/merchant.Merchant/del",{params:t}),F=t=>a.a.post("/merchant.Merchant/create",t),q=t=>a.a.post("/merchant.Merchant/update",t),E=t=>a.a.get("/merchant.MerchantLabel/list",{params:t}),J=t=>a.a.get("/merchant.MerchantLabel/detail",{params:t}),S=t=>a.a.get("/merchant.MerchantLabel/del",{params:t}),A=t=>a.a.post("/merchant.MerchantLabel/create",t),B=t=>a.a.post("/merchant.MerchantLabel/update",t)}}]);