(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0a9634b9"],{bc14:function(t,e,r){"use strict";r.r(e);var a=r("e889"),n={data:()=>({table:{currentPage:1,pageSizes:[10],total:0,data:null}}),methods:{del(t){this.$confirm("此操作将删除该内容, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(a.j)({id:t}).then(t=>{1==t.code?(this.$message.success("删除成功!"),this.getData(10,this.table.currentPage)):this.$message.error(t.msg)})}).catch(()=>{})},handleSizeChange(t){},handleCurrentChange(t){this.table.currentPage=t},getData(t,e){Object(a.l)({page:e}).then(t=>{this.table.currentPage=e,this.table.total=t.data.length,this.table.data=t.data})},jumpAdd(){this.$router.push({path:"/merchant/merchantLabel/create",query:{}})},edit(t){this.$router.push({path:"/merchant/merchantLabel/update",query:{id:t}})}},mounted(){this.getData(10,1)}},c=r("2877"),u=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"ls-card m-b-12"},[r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.jumpAdd}},[t._v("新建")])],1),r("el-table",{staticStyle:{width:"100%"},attrs:{data:null==t.table.data?[]:t.table.data}},[r("el-table-column",{attrs:{prop:"id",label:"ID",width:"80"}}),r("el-table-column",{attrs:{prop:"name",label:"名称"}}),r("el-table-column",{attrs:{prop:"remark",label:"描述"}}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-button",{attrs:{type:"text"},on:{click:function(r){return t.edit(e.row.id)}}},[t._v("编辑")]),r("el-button",{staticStyle:{color:"red"},attrs:{type:"text"},on:{click:function(r){return t.del(e.row.id)}}},[t._v("删除")])]}}])})],1)],1)}),[],!1,null,null,null);e.default=u.exports},e889:function(t,e,r){"use strict";r.d(e,"s",(function(){return n})),r.d(e,"r",(function(){return c})),r.d(e,"q",(function(){return u})),r.d(e,"p",(function(){return o})),r.d(e,"t",(function(){return d})),r.d(e,"x",(function(){return i})),r.d(e,"u",(function(){return s})),r.d(e,"y",(function(){return l})),r.d(e,"w",(function(){return p})),r.d(e,"v",(function(){return m})),r.d(e,"C",(function(){return h})),r.d(e,"B",(function(){return f})),r.d(e,"D",(function(){return g})),r.d(e,"z",(function(){return b})),r.d(e,"A",(function(){return P})),r.d(e,"H",(function(){return y})),r.d(e,"G",(function(){return C})),r.d(e,"I",(function(){return M})),r.d(e,"E",(function(){return w})),r.d(e,"F",(function(){return k})),r.d(e,"a",(function(){return v})),r.d(e,"d",(function(){return O})),r.d(e,"e",(function(){return j})),r.d(e,"c",(function(){return L})),r.d(e,"b",(function(){return x})),r.d(e,"n",(function(){return $})),r.d(e,"h",(function(){return _})),r.d(e,"g",(function(){return D})),r.d(e,"f",(function(){return S})),r.d(e,"o",(function(){return z})),r.d(e,"l",(function(){return q})),r.d(e,"k",(function(){return A})),r.d(e,"j",(function(){return B})),r.d(e,"i",(function(){return E})),r.d(e,"m",(function(){return I}));var a=r("6b2d");const n=t=>a.a.get("/partner.PartnerCategory/list",{params:t}),c=t=>a.a.get("/partner.PartnerCategory/detail",{params:t}),u=t=>a.a.get("/partner.PartnerCategory/del",{params:t}),o=t=>a.a.post("/partner.PartnerCategory/create",t),d=t=>a.a.post("/partner.PartnerCategory/update",t),i=t=>a.a.get("/partner.PartnerComment/list",{params:t}),s=t=>a.a.post("/partner.PartnerComment/create",t),l=t=>a.a.post("/partner.PartnerComment/update",t),p=t=>a.a.get("/partner.PartnerComment/detail",{params:t}),m=t=>a.a.get("/partner.PartnerComment/del",{params:t}),h=t=>a.a.get("/partner.PartnerMember/list",{params:t}),f=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),P=t=>a.a.get("/partner.PartnerMember/del",{params:t}),y=t=>a.a.get("/partner.PartnerOrder/list",{params:t}),C=t=>a.a.get("/partner.PartnerOrder/detail",{params:t}),M=t=>a.a.post("/partner.PartnerOrder/update",t),w=t=>a.a.post("/partner.PartnerOrder/create",t),k=t=>a.a.get("/partner.PartnerOrder/del",{params:t}),v=t=>a.a.post("/merchant.MerchantCategory/create",t),O=t=>a.a.get("/merchant.MerchantCategory/list",{params:t}),j=t=>a.a.post("/merchant.MerchantCategory/update",t),L=t=>a.a.get("/merchant.MerchantCategory/detail",{params:t}),x=t=>a.a.get("/merchant.MerchantCategory/del",{params:t}),$=t=>a.a.get("/merchant.Merchant/list",{params:t}),_=t=>a.a.get("/merchant.Merchant/detail",{params:t}),D=t=>a.a.get("/merchant.Merchant/del",{params:t}),S=t=>a.a.post("/merchant.Merchant/create",t),z=t=>a.a.post("/merchant.Merchant/update",t),q=t=>a.a.get("/merchant.MerchantLabel/list",{params:t}),A=t=>a.a.get("/merchant.MerchantLabel/detail",{params:t}),B=t=>a.a.get("/merchant.MerchantLabel/del",{params:t}),E=t=>a.a.post("/merchant.MerchantLabel/create",t),I=t=>a.a.post("/merchant.MerchantLabel/update",t)}}]);