|
|
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2385e5"],{fea1: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=n("8bc2"),r={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.saasShop.shopList()};n.service({page:a}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"shopName",label:"门店名称",align:"center"},{prop:"merchantName",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="http://api.pt.".concat(Object(l["getFirstHost"])(),".com"),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)}}},c=r,p=n("5d22"),i=Object(p["a"])(c,o,a,!1,null,null,null);t["default"]=i.exports}}]);
|
|
|
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2385e5"],{fea1: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)}}},[e._v("查看")])]}},{key:"table-column-applyCode",fn:function(t){var a=t.scope;return[n("el-button",{attrs:{type:"text"},on:{click:function(t){return e.gotoPage(2,a.row)}}},[e._v("查看")])]}}])})],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.saasShop.shopList()};n.service({page:o}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"shopName",label:"门店名称",align:"center"},{prop:"merchantName",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(),a.refresh()},gotoPage:function(e,t){console.log(t);var n="http://api.pt.".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,p=n("5d22"),i=Object(p["a"])(c,a,o,!1,null,null,null);t["default"]=i.exports}}]);
|