chunk-6049ddcd.1f0d9e24.js 25 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6049ddcd"],{"0436":function(t,e,a){"use strict";var r=a("2f62");function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function i(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var o={name:"publicSearchFrom",props:{fromList:{type:Array},searchFrom:{type:Object},treeData:{type:Object},isExist:{type:Object}},data:function(){return{date:"全部",withdrawalTxt:"提现状态",paymentTxt:"提现方式"}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?n(a,!0).forEach((function(e){i(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):n(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},Object(r.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"right"}}),mounted:function(){},methods:{changeTree:function(){}}},s=(a("4091"),a("2877")),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Form",{ref:"orderData",staticClass:"tabform",attrs:{"label-width":t.labelWidth,"label-position":t.labelPosition}},[t._l(t.fromList,(function(e,r){return a("Row",{key:r,attrs:{gutter:24,type:"flex"}},[a("Col",{attrs:{xl:8,lg:8,md:8,sm:24,xs:24}},[a("FormItem",{attrs:{label:e.title+":"}},[a("RadioGroup",{attrs:{type:"button"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},t._l(e.fromTxt,(function(r,n){return a("Radio",{key:n,attrs:{label:r.text}},[t._v(t._s(r.text)+t._s(e.num))])})),1)],1)],1),e.custom?a("Col",[a("FormItem",{staticClass:"tab_data"},[a("DatePicker",{staticClass:"width20",attrs:{editable:!1,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"}})],1)],1):t._e()],1)})),t.isExist.existOne?a("Row",{attrs:{gutter:24,type:"flex"}},[a("Col",{staticClass:"mr",attrs:{span:"10"}},[a("FormItem",{attrs:{label:t.searchFrom.title+":",prop:"real_name","label-for":"real_name"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:t.searchFrom.place,"element-id":"name"}})],1)],1),a("Col",[a("Button",{staticClass:"mr"},[t._v("导出")]),a("span",{staticClass:"Refresh"},[t._v("刷新")]),a("Icon",{attrs:{type:"ios-refresh"}})],1)],1):t._e(),t.isExist.existTwo?a("Row",{staticClass:"withdrawal",attrs:{gutter:24,type:"flex"}},[a("Col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{directives:[{name:"width",rawName:"v-width",value:160,expression:"160"}],attrs:{data:t.treeData.withdrawal},on:{"on-change":t.changeTree},model:{value:t.withdrawalTxt,callback:function(e){t.withdrawalTxt=e},expression:"withdrawalTxt"}})],1),a("Col",{staticClass:"item",attrs:{span:"2.5"}},[a("TreeSelect",{directives:[{name:"width",rawName:"v-width",value:160,expression:"160"}],attrs:{data:t.treeData.payment},on:{"on-change":t.changeTree},model:{value:t.paymentTxt,callback:function(e){t.paymentTxt=e},expression:"paymentTxt"}})],1),a("Col",{staticClass:"item",attrs:{span:"6"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:"微信名称、姓名、支付宝账号、银行卡号","element-id":"name"}})],1)],1):t._e()],2)],1)}),[],!1,null,"ad82d0da",null);e.a=c.exports},1698:function(t,e,a){"use strict";a.d(e,"g",(function(){return n})),a.d(e,"f",(function(){return i})),a.d(e,"e",(function(){return o})),a.d(e,"h",(function(){return s})),a.d(e,"d",(function(){return c})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return u})),a.d(e,"a",(function(){return d}));var r=a("b6bd");function n(t){return Object(r.a)({url:"agent/level",method:"get",params:t})}function i(t,e){return Object(r.a)({url:e,method:"get",params:t})}function o(t,e){return Object(r.a)({url:e,method:"get",params:t})}function s(t){return Object(r.a)({url:t,method:"PUT"})}function c(t){return Object(r.a)({url:t,method:"PUT"})}function l(t){return Object(r.a)({url:"agent/level_task",method:"get",params:t})}function u(t,e){return Object(r.a)({url:e,method:"get",params:t})}function d(t,e){return Object(r.a)({url:e,method:"get",params:t})}},"288e":function(t,e,a){},3061:function(t,e,a){"use strict";a.r(e);var r=a("a34a"),n=a.n(r),i=a("a584"),o=a("0436"),s=a("2f62"),c=a("2e83"),l=a("1698"),u=a("bbbc"),d=a("0b65");function m(t,e,a,r,n,i,o){try{var s=t[i](o),c=s.value}catch(t){return void a(t)}s.done?e(c):Promise.resolve(c).then(r,n)}function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function p(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var h={name:"promotersList",data:function(){return{modals:!1,options:d.a,fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}],fromTxt2:[{text:"全部",val:0},{text:"一级推广人",val:1},{text:"二级推广人",val:2}]},formValidate:{limit:15,page:1,nickname:"",data:"",type:"",order_id:"",uid:0},loading:!1,tabList:[],total:0,timeVal:[],columns4:[],listTitle:""}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(a,!0).forEach((function(e){p(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},Object(s.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:100},labelPosition:function(){return this.isMobile?"top":"right"}}),methods:{onCancel:function(){this.formValidate={limit:15,page:1,nickname:"",data:"",type:"",order_id:"",uid:0},this.timeVal=[]},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal[0]?this.timeVal.join("-"):""},getList:function(t,e){var r=this;this.listTitle=e,this.rowsList=t,this.loading=!0;var i="";i="man"===this.listTitle?"agent/stair":"agent/stair/order",this.formValidate.uid=t.uid,Object(u.f)(i,this.formValidate).then(function(){var t,e=(t=n.a.mark((function t(e){var i;return n.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=e.data,r.tabList=i.list,r.total=i.count,"man"===r.listTitle?r.columns4=[{title:"UID",minWidth:80,key:"uid"},{title:"头像",key:"avatar",minWidth:80,render:function(t,e){return t("viewer",[t("div",{style:{width:"36px",height:"36px",borderRadius:"4px",cursor:"pointer"}},[t("img",{attrs:{src:e.row.avatar?e.row.avatar:a("7153")},style:{width:"100%",height:"100%"}})])])}},{title:"用户信息",key:"nickname",minWidth:120},{title:"是否推广员",key:"promoter_name",minWidth:100},{title:"推广人数",key:"spread_count",sortable:!0,minWidth:90},{title:"订单数",key:"order_count",sortable:!0,minWidth:90},{title:"关注时间",key:"add_time",sortable:!0,minWidth:130}]:r.columns4=[{title:"订单ID",key:"order_id"},{title:"用户信息",key:"user_info"},{title:"时间",key:"_add_time"},{title:"返佣金额",key:"brokerage_price",render:function(t,e){return t("viewer",[t("span",e.row.brokerage_price||0)])}}],r.loading=!1;case 5:case"end":return t.stop()}}),t)})),function(){var e=this,a=arguments;return new Promise((function(r,n){var i=t.apply(e,a);function o(t){m(i,r,n,o,s,"next",t)}function s(t){m(i,r,n,o,s,"throw",t)}o(void 0)}))});return function(t){return e.apply(this,arguments)}}()).catch((function(t){r.loading=!1,r.tabList=[],r.$Message.error(t.msg)}))},pageChange:function(){this.formValidate.page=1,this.getList(this.rowsList,this.listTitle)},userSearchs:function(){this.formValidate.page=1,this.getList(this.rowsList,this.listTitle)}}},g=a("2877"),b=Object(g.a)(h,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:"man"===t.listTitle?"统计推广人列表":"推广订单","mask-closable":!1,width:"900"},on:{"on-cancel":t.onCancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("div",{staticClass:"table_box"},[a("Form",{ref:"formValidate",staticClass:"tabform",attrs:{inline:"",model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{attrs:{label:"时间选择:"}},[a("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),a("FormItem",{attrs:{label:"用户类型:"}},[a("Select",{staticClass:"input-add",model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},t._l(t.fromList.fromTxt2,(function(e,r){return a("Option",{key:r,attrs:{value:e.val}},[t._v(t._s(e.text))])})),1)],1),a("FormItem",{attrs:{label:"搜索:"}},[a("Input",{staticClass:"input-add",attrs:{placeholder:"请输入请姓名、电话、UID"},model:{value:t.formValidate.nickname,callback:function(e){t.$set(t.formValidate,"nickname",e)},expression:"formValidate.nickname"}})],1),"man"!==t.listTitle?a("FormItem",{attrs:{label:"订单号:"}},[a("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入请订单号"},model:{value:t.formValidate.order_id,callback:function(e){t.$set(t.formValidate,"order_id",e)},expression:"formValidate.order_id"}})],1):t._e(),a("Button",{attrs:{type:"primary"},on:{click:function(e){return t.userSearchs()}}},[t._v("查询")])],1)],1),a("Table",{ref:"selection",attrs:{columns:t.columns4,data:t.tabList,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","max-height":"400","no-filtered-data-text":"暂无筛选结果"}}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,"1a72cadc",null).exports,v=a("8c03");function w(t,e,a,r,n,i,o){try{var s=t[i](o),c=s.value}catch(t){return void a(t)}s.done?e(c):Promise.resolve(c).then(r,n)}function y(t){return function(){var e=this,a=arguments;return new Promise((function(r,n){var i=t.apply(e,a);function o(t){w(i,r,n,o,s,"next",t)}function s(t){w(i,r,n,o,s,"throw",t)}o(void 0)}))}}function x(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function _(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var k={name:"agentManage",components:{cardsData:i.a,searchFrom:o.a,promotersList:b,customerInfo:v.default},data:function(){return{customerShow:!1,promoterShow:!1,modals:!1,spinShow:!1,grid:{xl:7,lg:10,md:12,sm:24,xs:24},options:d.a,formValidate:{nickname:"",data:"",page:1,limit:15},date:"all",total:0,cardLists:[],loading:!1,tableList:[],timeVal:[],columns:[{title:"ID",key:"uid",sortable:!0,width:80},{title:"头像",key:"headimgurl",minWidth:60,render:function(t,e){return t("viewer",[t("div",{style:{width:"36px",height:"36px",borderRadius:"4px",cursor:"pointer"}},[t("img",{attrs:{src:e.row.headimgurl?e.row.headimgurl:a("7153")},style:{width:"100%",height:"100%"}})])])}},{title:"用户信息",slot:"nickname",minWidth:120},{title:"推广用户数量",key:"spread_count",minWidth:125},{title:"订单数量",key:"order_count",minWidth:90},{title:"订单金额",key:"order_price",minWidth:120},{title:"分销等级",slot:"agentLevel",minWidth:120},{title:"账户佣金",key:"brokerage_money",minWidth:120},{title:"已提现金额",key:"extract_count_price",minWidth:120},{title:"提现次数",key:"extract_count_num",minWidth:100},{title:"未提现金额",key:"new_money",minWidth:105},{title:"上级推广人",key:"spread_name",minWidth:105},{title:"操作",slot:"right",minWidth:130}],code_src:"",code_xcx:"",code_h5:"",formInline:{uid:0,spread_uid:0,image:""}}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?x(a,!0).forEach((function(e){_(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):x(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},Object(s.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getList(),this.getStatistics()},methods:{putSend:function(t){var e=this;this.$refs[t].validate((function(a){if(a){if(!e.formInline.spread_uid)return e.$Message.error("请上传用户");Object(u.b)(e.formInline).then((function(a){e.promoterShow=!1,e.$Message.success(a.msg),e.getList(),e.$refs[t].resetFields()})).catch((function(t){e.$Message.error(t.msg)}))}}))},exports:function(){var t=y(n.a.mark((function t(){var e,a,r,i,o,s,l;return n.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=[],a=[],r=[],i="",(o=JSON.parse(JSON.stringify(this.formValidate))).page=1,s=0;case 5:if(!(s<o.page+1)){t.next=22;break}return t.next=8,this.getExcelData(o);case 8:if(l=t.sent,i||(i=l.filename),a.length||(a=l.filekey),e.length||(e=l.header),!l.export.length){t.next=17;break}r=r.concat(l.export),o.page++,t.next=19;break;case 17:return Object(c.a)(e,a,i,r),t.abrupt("return");case 19:s++,t.next=5;break;case 22:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),getExcelData:function(t){return new Promise((function(e,a){Object(u.h)(t).then((function(t){return e(t.data)}))}))},changeMenu:function(t,e,a){var r=this;switch(e){case"1":this.promoters(t,"order");break;case"2":this.spreadQR(t);break;case"3":this.$modalForm(Object(l.e)({uid:t.uid},"/agent/get_level_form")).then((function(){return r.getList()}))}},customer:function(){this.customerShow=!0},imageObject:function(t){this.customerShow=!1,this.formInline.spread_uid=t.uid,this.formInline.image=t.image},del:function(t,e,a){var r=this,n={title:e,num:a,url:"agent/stair/delete_spread/".concat(t.uid),method:"PUT",ids:""};this.$modalSure(n).then((function(t){r.$Message.success(t.msg),r.getList()})).catch((function(t){r.$Message.error(t.msg)}))},edit:function(t){this.promoterShow=!0,this.formInline.uid=t.uid},cancel:function(t){this.promoterShow=!1,this.$refs[t].resetFields()},promoters:function(t,e){this.$refs.promotersLists.modals=!0,this.$refs.promotersLists.getList(t,e)},getStatistics:function(){var t=this,e={nickname:this.formValidate.nickname,data:this.formValidate.data};Object(u.g)(e).then(function(){var e=y(n.a.mark((function e(a){var r;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(r=a.data).res.forEach((function(t){return t.col=4})),t.cardLists=r.res;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal[0]?this.timeVal.join("-"):"",this.formValidate.page=1,t[0]||(this.formValidate.data=""),this.getList(),this.getStatistics()},selectChange:function(t){this.formValidate.page=1,this.formValidate.data=t,this.timeVal=[],this.getList(),this.getStatistics()},getList:function(){var t=this;this.loading=!0,Object(u.a)(this.formValidate).then(function(){var e=y(n.a.mark((function e(a){var r;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.data,t.tableList=r.list,t.total=a.data.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.formValidate.page=t,this.getList()},userSearchs:function(){this.formValidate.page=1,this.getList(),this.getStatistics()},spreadQR:function(t){this.modals=!0,this.rows=t},getWeChat:function(){var t=this;this.spinShow=!0;var e={uid:this.rows.uid,action:"wechant_code"};Object(u.c)(e).then(function(){var e=y(n.a.mark((function e(a){var r;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.data,t.code_src=r.code_src,t.spinShow=!1;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg)}))},getXcx:function(){var t=this;this.spinShow=!0;var e={uid:this.rows.uid};Object(u.e)(e).then(function(){var e=y(n.a.mark((function e(a){var r;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.data,t.code_xcx=r.code_src,t.spinShow=!1;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg)}))},getH5:function(){var t=this;this.spinShow=!0;var e={uid:this.rows.uid};Object(u.d)(e).then(function(){var e=y(n.a.mark((function e(a){var r;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.data,t.code_h5=r.code_src,t.spinShow=!1;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg)}))}}},O=(a("3de4"),Object(g.a)(k,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[a("div",{staticClass:"new_card_pd"},[a("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{attrs:{label:"时间选择:"}},[a("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),a("FormItem",{attrs:{label:"搜索:","label-for":"status"}},[a("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入用户信息、电话、ID"},model:{value:t.formValidate.nickname,callback:function(e){t.$set(t.formValidate,"nickname",e)},expression:"formValidate.nickname"}}),a("Button",{staticClass:"mr14",attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")]),a("Button",{directives:[{name:"auth",rawName:"v-auth",value:["export-userAgent"],expression:"['export-userAgent']"}],staticClass:"export",on:{click:t.exports}},[t._v("导出")])],1)],1)],1)]),t.cardLists.length>=0?a("cards-data",{attrs:{cardLists:t.cardLists}}):t._e(),a("Card",{attrs:{bordered:!1,"dis-hover":""}},[a("Table",{ref:"selection",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableList,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"nickname",fn:function(e){var r=e.row;return[a("div",{staticClass:"name"},[a("div",{staticClass:"item"},[t._v("昵称:"+t._s(r.nickname))]),a("div",{staticClass:"item"},[t._v("姓名:"+t._s(r.real_name))]),a("div",{staticClass:"item"},[t._v("电话:"+t._s(r.phone))])])]}},{key:"agentLevel",fn:function(e){var r=e.row;return[a("div",[t._v(t._s(r.agentLevel?r.agentLevel.name:"--"))])]}},{key:"right",fn:function(e){var r=e.row,n=e.index;return[a("a",{on:{click:function(e){return t.promoters(r,"man")}}},[t._v("推广人")]),a("Divider",{attrs:{type:"vertical"}}),[a("Dropdown",{on:{"on-click":function(e){return t.changeMenu(r,e,n)}}},[a("a",{attrs:{href:"javascript:void(0)"}},[t._v("\n 更多\n "),a("Icon",{attrs:{type:"ios-arrow-down"}})],1),a("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[a("DropdownItem",{attrs:{name:"1"}},[t._v("推广订单")]),a("DropdownItem",{attrs:{name:"2"}},[t._v("推广方式")]),a("DropdownItem",{attrs:{name:"3"}},[t._v("赠送分销等级")])],1)],1)]]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1),a("promoters-list",{ref:"promotersLists"}),a("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:"推广二维码","mask-closable":!1,width:"600"},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("div",{staticClass:"acea-row row-around"},[a("div",{staticClass:"acea-row row-column-around row-between-wrapper"},[t.code_src?a("div",{staticClass:"QRpic"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.code_src,expression:"code_src"}]})]):t._e(),a("span",{staticClass:"QRpic_sp1 mt10",on:{click:t.getWeChat}},[t._v("公众号推广二维码")])]),a("div",{staticClass:"acea-row row-column-around row-between-wrapper"},[t.code_xcx?a("div",{staticClass:"QRpic"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.code_xcx,expression:"code_xcx"}]})]):t._e(),a("span",{staticClass:"QRpic_sp2 mt10",on:{click:t.getXcx}},[t._v("小程序推广二维码")])]),a("div",{staticClass:"acea-row row-column-around row-between-wrapper"},[t.code_h5?a("div",{staticClass:"QRpic"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.code_h5,expression:"code_h5"}]})]):t._e(),a("span",{staticClass:"QRpic_sp2 mt10",on:{click:t.getH5}},[t._v("H5推广二维码")])])]),t.spinShow?a("Spin",{attrs:{size:"large",fix:""}}):t._e()],1),a("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"修改推广人",closable:!1},model:{value:t.promoterShow,callback:function(e){t.promoterShow=e},expression:"promoterShow"}},[a("Form",{ref:"formInline",attrs:{model:t.formInline,"label-width":100},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{attrs:{label:"用户头像:",prop:"image"}},[a("div",{staticClass:"picBox",on:{click:t.customer}},[t.formInline.image?a("div",{staticClass:"pictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formInline.image,expression:"formInline.image"}]})]):a("div",{staticClass:"upLoad acea-row row-center-wrapper"},[a("Icon",{attrs:{type:"ios-camera-outline",size:"26"}})],1)])])],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:function(e){return t.putSend("formInline")}}},[t._v("提交")]),a("Button",{on:{click:function(e){return t.cancel("formInline")}}},[t._v("取消")])],1)],1),a("Modal",{attrs:{scrollable:"",title:"请选择商城用户",closable:!1,width:"50%"},model:{value:t.customerShow,callback:function(e){t.customerShow=e},expression:"customerShow"}},[a("customerInfo",{on:{imageObject:t.imageObject}})],1)],1)}),[],!1,null,"54ee2f6d",null));e.default=O.exports},"3de4":function(t,e,a){"use strict";var r=a("288e");a.n(r).a},4091:function(t,e,a){"use strict";var r=a("f57e");a.n(r).a},"5dd9":function(t,e,a){"use strict";var r=a("fd59");a.n(r).a},a584:function(t,e,a){"use strict";var r;function n(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var i=(n(r={name:"cards",data:function(){return{}},props:{cardLists:Array}},"data",(function(){return{}})),n(r,"methods",{}),n(r,"created",(function(){})),r),o=(a("5dd9"),a("2877")),s=Object(o.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Row",{staticClass:"ivu-mt",attrs:{type:"flex",align:"middle",gutter:16}},t._l(t.cardLists,(function(e,r){return a("Col",{key:r,staticClass:"ivu-mb",attrs:{xs:24,sm:24,md:24,lg:12,xl:8,xxl:{span:e.col}}},[a("Card",{staticClass:"card_cent",attrs:{shadow:"",padding:0}},[a("div",{staticClass:"card_box"},[a("div",{staticClass:"card_box_cir",class:{one:r%5==0,two:r%5==1,three:r%5==2,four:r%5==3,five:r%5==4}},[a("div",{staticClass:"card_box_cir1",class:{one1:r%5==0,two1:r%5==1,three1:r%5==2,four1:r%5==3,five1:r%5==4}},[e.type?a("span",{staticClass:"iconfont",class:e.className}):a("Icon",{attrs:{type:e.className}})],1)]),a("div",{staticClass:"card_box_txt"},[a("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),a("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])],1)})),1)],1)}),[],!1,null,"4e72687f",null);e.a=s.exports},bbbc:function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"g",(function(){return i})),a.d(e,"f",(function(){return o})),a.d(e,"c",(function(){return s})),a.d(e,"e",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"h",(function(){return u})),a.d(e,"b",(function(){return d}));var r=a("b6bd");function n(t){return Object(r.a)({url:"agent/index",method:"get",params:t})}function i(t){return Object(r.a)({url:"agent/statistics",method:"get",params:t})}function o(t,e){return Object(r.a)({url:t,method:"get",params:e})}function s(t){return Object(r.a)({url:"agent/look_code",method:"get",params:t})}function c(t){return Object(r.a)({url:"agent/look_xcx_code",method:"get",params:t})}function l(t){return Object(r.a)({url:"agent/look_h5_code",method:"get",params:t})}function u(t){return Object(r.a)({url:"export/userAgent",method:"get",params:t})}function d(t){return Object(r.a)({url:"agent/spread",method:"PUT",data:t})}},f57e:function(t,e,a){},fd59:function(t,e,a){}}]);