(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d723c"],{7618:function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-list-content"},[e("cl-crud",{staticClass:"liu-crud-wrap",on:{load:t.onLoad},scopedSlots:t._u([{key:"table-column-totalFans",fn:function(n){var a=n.scope;return[e("span",[t._v(t._s(a.row.merchantAsset.totalFans))])]}},{key:"table-column-totalUser",fn:function(n){var a=n.scope;return[e("span",[t._v(t._s(a.row.merchantAsset.totalUser))])]}},{key:"table-column-totalVisit",fn:function(n){var a=n.scope;return[e("span",[t._v(t._s(a.row.merchantAsset.totalVisit))])]}},{key:"table-column-wxAppId",fn:function(n){var a=n.scope;return[a.row.wxAppId?e("span",[t._v(t._s(a.row.wxAppId))]):e("el-button",{attrs:{type:"text"},on:{click:function(n){return t.bindJump("/wx-open/begin-auth?id="+a.row.id)}}},[t._v("待绑定")])]}},{key:"table-column-miniAppId",fn:function(n){var a=n.scope;return[a.row.miniAppId?e("span",[t._v(t._s(a.row.miniAppId))]):e("el-button",{attrs:{type:"text"},on:{click:function(n){return t.bindJump("/wx-open/begin-auth?id="+a.row.id+"&authType=2")}}},[t._v("待绑定")])]}},{key:"slot-activation",fn:function(n){n.scope;return[e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return t.bindJump("/wx-open/begin-auth")}}},[t._v("平台激活")])]}}])})],1)},o=[],i=e("8bc2"),r={data:function(){return{app:null}},mounted:function(){},methods:{bindJump:function(t){var n="http://api.w.".concat(Object(i["getFirstHost"])(),".com");window.open(n+t)},onLoad:function(t){var n=this,e=t.ctx,a=t.app;this.app=a;var o=function(){return n.$service.sassShop.merchantList()};e.service({page:o}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"merchantName",label:"名称",align:"center"},{prop:"totalFans",label:"粉丝",align:"center"},{prop:"totalUser",label:"客户",align:"center"},{prop:"totalIncome",label:"收入",align:"center",emptyText:"无"},{prop:"totalVisit",label:"访问量",align:"center"},{prop:"adminName",label:"店长",align:"center"},{prop:"openAppId",label:"平台",align:"center","min-width":"150px"},{prop:"wxAppId",label:"公众号",align:"center","min-width":"150px"},{prop:"miniAppId",label:"小程序",align:"center","min-width":"150px"},{prop:"miniVersion",label:"小程序版本",align:"center"},{prop:"setName",label:"套餐",align:"center"},{prop:"status",label:"状态",align:"center"}],op:{visible:!1,props:{width:150,align:"center",fixed:"right",label:"操作"},layout:[]}}).set("layout",[["flex1","refresh-btn","slot-activation"],["data-table"],["flex1","pagination"]]).done(),a.refresh()}}},p=r,l=e("5511"),c=Object(l["a"])(p,a,o,!1,null,null,null);n["default"]=c.exports}}]);