(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c1f57"],{"47ec":function(e,t,n){"use strict";n.r(t);var a=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 a=t.scope;return[n("el-button",{attrs:{type:"text"},on:{click:function(t){return e.gotoPage(1,a.row)}}})]}}])})],1)},o=[],l=n("8bc2"),r={data:function(){return{app:null}},mounted:function(){},methods:{onLoad:function(e){var t=this,n=e.ctx,a=e.app;this.app=a;var o=function(){return t.$service.sassShop.shopList()};n.service({page:o}).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"}],op:{visible:!1,props:{width:150,align:"center",fixed:"right",label:"操作"},layout:[]}}).set("layout",[["slot-tabs"],["flex1","refresh-btn"],["data-table"],["flex1","pagination"]]).done(),a.refresh()},gotoPage:function(e,t){console.log(t);var n="http://api.shop.".concat(Object(l["getFirstHost"])()),a=null;switch(e){case 1:a="/user/gathering-code?id=".concat(t.id);break;case 2:a="/user/apply-code?id=".concat(t.id);break}window.open(n+a)}}},c=r,i=n("5d22"),s=Object(i["a"])(c,a,o,!1,null,null,null);t["default"]=s.exports}}]);