(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c1f57"],{"47ec":function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-list-content"},[n("x-crud",{staticClass:"liu-crud-wrap",on:{load:e.onLoad},scopedSlots:e._u([{key:"table-column-gatheringCode",fn:function(t){var o=t.scope;return[n("el-button",{attrs:{type:"text"},on:{click:function(t){return e.gotoPage(1,o.row)}}},[e._v("查看")])]}},{key:"table-column-applyCode",fn:function(t){var o=t.scope;return[n("el-button",{attrs:{type:"text"},on:{click:function(t){return e.gotoPage(2,o.row)}}},[e._v("查看")])]}}])})],1)},a=[],l={data:function(){return{app:null}},mounted:function(){},methods:{onLoad:function(e){var t=this,n=e.ctx,o=e.app;this.app=o;var a=function(){return t.$service.sassShop.shopList()};n.service({page:a}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"shopName",label:"门店名称",align:"center"},{prop:"name",label:"商家",align:"center"},{prop:"shopProvince",label:"省",align:"center"},{prop:"shopCity",label:"市",align:"center",emptyText:"无"},{prop:"shopDist",label:"区",align:"center",emptyText:"无"},{prop:"gatheringCode",label:"收款二维码",align:"center"},{prop:"applyCode",label:"会员申请码",align:"center"}],op:{visible:!1,props:{width:150,align:"center",fixed:"right",label:"操作"},layout:[]}}).set("layout",[["slot-tabs"],["flex1","refresh-btn"],["data-table"],["flex1","pagination"]]).done(),o.refresh()},gotoPage:function(e,t){console.log(t);var n="",o=null;switch(e){case 1:o="/user/gathering-code?id=".concat(t.id);break;case 2:o="/user/apply-code?id=".concat(t.id);break}window.open(n+o)}}},r=l,c=n("5d22"),i=Object(c["a"])(r,o,a,!1,null,null,null);t["default"]=i.exports}}]);