(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d701258"],{"03f9":function(t,a,e){"use strict";e("a2c6")},a2c6:function(t,a,e){},fdaf:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-list-content"},[e("div",{staticClass:"app-content-top flex-center"},[e("div",{staticClass:"avatar-wrap flex-center"},[e("div",{staticClass:"avatar-wrap-left"},[e("cl-avatar",{attrs:{shape:"circle",size:45,src:t.shopInfo.smallLogoUrl}})],1),e("div",{staticClass:"avatar-wrap-right"},[e("div",{staticClass:"app-size-32 avatar-name"},[t._v(t._s(t.shopInfo.name))]),e("el-tag",{attrs:{size:"mini"}},[t._v("普通代理")])],1)]),e("div",{staticClass:"assets-list-wrap flex-center"},t._l(t.userData,(function(a,s){return e("div",{key:s,staticClass:"list"},[e("div",{staticClass:"assets-list-value"},[t._v(t._s(a.value))]),e("div",[t._v(t._s(a.name))])])})),0)]),e("div",{staticClass:"app-content-bottom"},[e("x-crud",{staticClass:"liu-crud-wrap",on:{load:t.onLoad},scopedSlots:t._u([{key:"slot-tabs",fn:function(a){a.scope;return[e("el-tabs",{staticClass:"liu-tabs",attrs:{type:"border-card"},on:{"tab-click":t.handleClick},model:{value:t.tabIndex,callback:function(a){t.tabIndex=a},expression:"tabIndex"}},t._l(t.tabsData,(function(t,a){return e("el-tab-pane",{key:a,attrs:{label:t.text+"("+t.val+")",name:t.key}})})),1)]}},{key:"table-column-name",fn:function(a){var s=a.scope;return[e("div",[t._v(" "+t._s(s.row.name)+" ")])]}},{key:"table-column-logo",fn:function(t){var a=t.scope;return[e("div",[e("el-avatar",{attrs:{size:"small",src:a.row.userAvatar}})],1)]}},{key:"table-column-address",fn:function(a){var s=a.scope;return[e("span",[t._v(" "+t._s(s.row.province+s.row.city+s.row.dist+s.row.address+s.row.floor)+" ")])]}},{key:"table-column-addTime",fn:function(a){var s=a.scope;return[e("span",[t._v(t._s(t._f("formatTime")(s.row.addTime)))])]}},{key:"table-column-status",fn:function(a){var s=a.scope;return[4==s.row.status?e("span",[e("i",{staticClass:"iconfont icondagou"})]):e("span",[t._v(t._s(t._f("constantfilter")(s.row.status,"PROXY_STATUS")))])]}}])})],1)])},n=[],l=e("6abc"),i=e("5880"),r={name:"list-ad",components:{},data:function(){return{app:null,userData:[{name:"邀请花店",value:0},{name:"付费花店",value:0},{name:"累计收益",value:0}],tabIndex:"-1",tabsData:[{text:"全部",key:"-1",val:0},{text:"待审核",key:"0",val:0},{text:"试用中",key:"1",val:0},{text:"已购买",key:"3",val:0}]}},computed:Object(l["a"])({},Object(i["mapGetters"])(["shopInfo","userInfo"])),mounted:function(){console.log(this.shopInfo),this._getDet()},methods:{_getDet:function(){var t=this;this.$service.single.assetDet().then((function(a){if(t.$util.isEmpty(a))return!1;t.data=a,t.userData[0].value=a.inviteNum||0,t.userData[1].value=a.payNum||0,t.userData[2].value=a.income||0}))},handleClick:function(t,a){this.app.refresh({status:this.tabIndex})},onLoad:function(t){var a=this,e=t.ctx,s=t.app;this.app=s;var n=function(){return a.$service.single.applyList({status:a.tabIndex})};e.service({page:n}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"logo",label:"图片",align:"center","min-width":100},{prop:"name",label:"花店名称",align:"center","min-width":100},{prop:"userName",label:"管理员",align:"center"},{prop:"mobile",label:"手机号",align:"center"},{prop:"address",label:"地址",align:"center","min-width":240},{prop:"addTime",label:"申请时间",align:"center"},{prop:"fee",label:"付款金额",align:"center"},{prop:"income",label:"收益",align:"center"},{prop:"status",label:"状态",align:"center"}],op:{visible:!1,props:{width:160,align:"center",fixed:"right",label:"操作"},layout:[]}}).set("layout",[["slot-tabs"],["flex1","slot-add-ad-btn","refresh-btn"],["data-table"],["flex1","pagination"]]).done(),s.refresh({status:this.tabIndex})}}},o=r,c=(e("03f9"),e("5d22")),u=Object(c["a"])(o,s,n,!1,null,"64044acb",null);a["default"]=u.exports}}]);