| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73e624da"],{1778:function(t,e,a){"use strict";var n=a("ac92"),s=a.n(n);s.a},ac92:function(t,e,a){},fdaf:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-list-content"},[a("div",{staticClass:"app-content-top flex-center"},[a("div",{staticClass:"avatar-wrap flex-center"},[a("div",{staticClass:"avatar-wrap-left"},[a("cl-avatar",{attrs:{shape:"circle",size:60,src:t._f("default_avatar")(t.shopInfo.smallLogoUrl)}})],1),a("div",{staticClass:"avatar-wrap-right"},[a("div",{staticClass:"app-size-32 avatar-name"},[t._v(t._s(t.shopInfo.merchantName))]),a("div",{staticClass:"app-size-24"},[t._v("三级代理")])])]),a("div",{staticClass:"assets-list-wrap flex-center"},t._l(t.userData,(function(e,n){return a("div",{key:n,staticClass:"list"},[a("div",{staticClass:"assets-list-value"},[t._v(t._s(e.value))]),a("div",[t._v(t._s(e.name))])])})),0)]),a("div",{staticClass:"app-content-bottom"},[a("cl-crud",{staticClass:"liu-crud-wrap",on:{load:t.onLoad},scopedSlots:t._u([{key:"slot-tabs",fn:function(e){e.scope;return[a("el-tabs",{staticClass:"liu-tabs",attrs:{type:"border-card"},on:{"tab-click":t.handleClick},model:{value:t.tabIndex,callback:function(e){t.tabIndex=e},expression:"tabIndex"}},t._l(t.tabsData,(function(t,e){return a("el-tab-pane",{key:e,attrs:{label:t.text+"("+t.val+")",name:t.key}})})),1)]}},{key:"table-column-name",fn:function(e){var n=e.scope;return[a("div",{staticClass:"flex-center"},[a("cl-avatar",{attrs:{shape:"square",size:40,src:t._f("default_avatar")(n.row.userAvatar)}}),a("div",{staticClass:"app-margin-left-10"},[t._v(t._s(n.row.name))])],1)]}},{key:"table-column-address",fn:function(e){var n=e.scope;return[a("span",[t._v(" "+t._s(n.row.province+n.row.city+n.row.dist+n.row.address+n.row.floor)+" ")])]}},{key:"table-column-addTime",fn:function(e){var n=e.scope;return[a("span",[t._v(t._s(t._f("formatTime")(n.row.addTime)))])]}},{key:"table-column-status",fn:function(e){var n=e.scope;return[4==n.row.status?a("span",[a("i",{staticClass:"iconfont icondagou"})]):a("span",[t._v(t._s(t._f("constantfilter")(n.row.status,"PROXY_STATUS")))])]}}])})],1)])},s=[],r=(a("3546"),a("0e8d"),a("fdc1"),a("a94a"),a("639b"),a("4f5b"),a("b287"),a("9d37")),l=a("5880");function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function o(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach((function(e){Object(r["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var c={name:"list-ad",components:{},data:function(){return{app:null,userData:[{name:"账号余额(¥)",value:0,btn:"提现"},{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},{text:"已到期",key:"4",val:0}]}},computed:o({},Object(l["mapGetters"])(["shopInfo","userInfo"])),mounted:function(){console.log(this.shopInfo),this._getDet()},methods:{_getDet:function(){var t=this;this.$service.single.assetDet().then((function(e){if(t.$util.isEmpty(e))return!1;t.data=e,t.userData[0].value=e.balance,t.userData[1].value=e.inviteNum||0,t.userData[2].value=e.payNum||0,t.userData[3].value=e.income||0}))},handleClick:function(t,e){this.app.refresh({type:this.tabIndex})},onLoad:function(t){var e=this,a=t.ctx,n=t.app;this.app=n;var s=function(){return e.$service.single.applyList({type:e.tabIndex})};a.service({page:s}).set("table",{columns:[{prop:"id",label:"ID",align:"center"},{prop:"name",label:"花店名称",align:"center","min-width":120},{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","refresh-btn","slot-add-ad-btn"],["data-table"],["flex1","pagination"]]).done(),n.refresh({type:this.tabIndex})}}},p=c,u=(a("1778"),a("5511")),d=Object(u["a"])(p,n,s,!1,null,"2f1ea511",null);e["default"]=d.exports}}]);
|