(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-62f3ceb7"],{"0436":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Form",{ref:"orderData",staticClass:"tabform",attrs:{"label-width":80,"label-position":"right"}},[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",{staticStyle:{width:"200px"},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",{staticClass:"perW160",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",{staticClass:"perW160",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)},n=[],i={name:"publicSearchFrom",props:{fromList:{type:Array},searchFrom:{type:Object},treeData:{type:Object},isExist:{type:Object}},data:function(){return{date:"全部",withdrawalTxt:"提现状态",paymentTxt:"提现方式"}},computed:{},mounted:function(){},methods:{changeTree:function(){}}},o=i,s=(a("493c"),a("2877")),c=Object(s["a"])(o,r,n,!1,null,"78a76b05",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("6b6c");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})}},3061:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"i-layout-page-header"},[a("div",{staticClass:"i-layout-page-header"},[a("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))])])]),a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("Row",{attrs:{type:"flex",gutter:24}},[a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"时间选择:"}},[a("RadioGroup",{staticClass:"mr",attrs:{type:"button"},on:{"on-change":function(e){return t.selectChange(t.formValidate.data)}},model:{value:t.formValidate.data,callback:function(e){t.$set(t.formValidate,"data",e)},expression:"formValidate.data"}},t._l(t.fromList.fromTxt,(function(e,r){return a("Radio",{key:r,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),a("DatePicker",{staticStyle:{width:"200px"},attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"请选择时间"},on:{"on-change":t.onchangeTime}})],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"搜索:","label-for":"status"}},[a("Input",{attrs:{search:"","enter-button":"",placeholder:"请输入姓名、电话、UID"},on:{"on-search":t.userSearchs},model:{value:t.formValidate.nickname,callback:function(e){t.$set(t.formValidate,"nickname",e)},expression:"formValidate.nickname"}})],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("Button",{directives:[{name:"auth",rawName:"v-auth",value:["export-userAgent"],expression:"['export-userAgent']"}],staticClass:"export",attrs:{icon:"ios-share-outline"},on:{click:t.exports}},[t._v("导出")])],1)],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:"5"}},[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"}},[t.customerShow?a("customerInfo",{on:{imageObject:t.imageObject}}):t._e()],1)],1)},n=[],i=(a("8e6e"),a("ac6a"),a("456d"),a("96cf"),a("3b8d")),o=(a("7f7f"),a("bd86")),s=a("a584"),c=a("0436"),l=a("2f62"),u=a("bbbc"),d=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:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("Row",{attrs:{gutter:24,type:"flex",justify:"end"}},[a("Col",{staticClass:"ivu-text-left",attrs:{span:"24"}},[a("FormItem",{attrs:{label:"时间选择:"}},[a("RadioGroup",{staticClass:"mr",attrs:{type:"button"},on:{"on-change":function(e){return t.selectChange(t.formValidate.data)}},model:{value:t.formValidate.data,callback:function(e){t.$set(t.formValidate,"data",e)},expression:"formValidate.data"}},t._l(t.fromList.fromTxt,(function(e,r){return a("Radio",{key:r,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),a("DatePicker",{staticStyle:{width:"200px"},attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"请选择时间"},on:{"on-change":t.onchangeTime}})],1)],1),a("Col",{staticClass:"ivu-text-left",attrs:{span:"24"}},[a("Col",{attrs:{xl:15,lg:15,md:20,sm:24,xs:24}},[a("FormItem",{attrs:{label:"用户类型:"}},[a("RadioGroup",{staticClass:"mr",attrs:{type:"button"},on:{"on-change":t.userSearchs},model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},t._l("man"===t.listTitle?t.fromList.fromTxt2:t.fromList.fromTxt3,(function(e,r){return a("Radio",{key:r,attrs:{label:e.val}},[t._v("\n "+t._s(e.text)+"\n ")])})),1)],1)],1),"man"===t.listTitle?a("Col",{attrs:{xl:15,lg:15,md:20,sm:24,xs:24}},[a("FormItem",{attrs:{label:"搜索:"}},[a("Input",{staticStyle:{width:"90%"},attrs:{search:"","enter-button":"",placeholder:"请输入请姓名、电话、UID"},on:{"on-search":t.userSearchs},model:{value:t.formValidate.nickname,callback:function(e){t.$set(t.formValidate,"nickname",e)},expression:"formValidate.nickname"}})],1)],1):t._e(),"order"===t.listTitle?a("Col",{attrs:{xl:15,lg:15,md:20,sm:24,xs:24}},[a("FormItem",{attrs:{label:"订单号:"}},[a("Input",{staticStyle:{width:"90%"},attrs:{search:"","enter-button":"",placeholder:"请输入请订单号"},on:{"on-search":t.userSearchs},model:{value:t.formValidate.order_id,callback:function(e){t.$set(t.formValidate,"order_id",e)},expression:"formValidate.order_id"}})],1)],1):t._e()],1)],1)],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":"暂无筛选结果"},scopedSlots:t._u([{key:"add_time",fn:function(e){var r=e.row;e.index;return[a("div",[t._v(t._s(t._f("formatDate")(r.spread_time)))])]}}])}),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)},m=[],f=a("61f7");function h(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){for(var e=1;eb;)p(g[b++]);d.constructor=l,l.prototype=d,a("2aba")(r,"RegExp",l)}a("7a56")("RegExp")},"3e05":function(t,e,a){"use strict";var r=a("4ebf"),n=a.n(r);n.a},"493c":function(t,e,a){"use strict";var r=a("7304"),n=a.n(r);n.a},"4ebf":function(t,e,a){},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),a.d(e,"c",(function(){return u})),a.d(e,"b",(function(){return d}));a("8e6e"),a("ac6a"),a("456d");var r=a("bd86");a("6b54"),a("3b2b"),a("a481");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){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return i({required:!0,message:t,type:"string"},e)}function d(t){return m.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}l(u,"请输入%s"),l(d,"%s格式不正确");var m=Object.keys(c).reduce((function(t,e){return t[e]=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="range"===e?{min:t[0],max:t[1]}:Object(r["a"])({},e,t);return i(i({message:a.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o),n)},l(t[e],c[e]),t}),{})},7304:function(t,e,a){},a584:function(t,e,a){"use strict";var r=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:10}},t._l(t.cardLists,(function(e,r){return a("Col",{key:r,staticClass:"ivu-mb",attrs:{xl:e.col,lg:6,md:12,sm:24,xs:24}},[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}},[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)},n=[],i={name:"cards",data:function(){return{}},props:{cardLists:Array},methods:{},created:function(){}},o=i,s=(a("bdf2"),a("2877")),c=Object(s["a"])(o,r,n,!1,null,"2907c959",null);e["a"]=c.exports},bbbc:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"n",(function(){return o})),a.d(e,"m",(function(){return s})),a.d(e,"h",(function(){return c})),a.d(e,"j",(function(){return l})),a.d(e,"i",(function(){return u})),a.d(e,"o",(function(){return d})),a.d(e,"l",(function(){return m})),a.d(e,"f",(function(){return f})),a.d(e,"a",(function(){return h})),a.d(e,"e",(function(){return p})),a.d(e,"k",(function(){return g})),a.d(e,"d",(function(){return b})),a.d(e,"g",(function(){return v}));var r=a("6b6c");function n(t){return Object(r["a"])({url:"agent/index",method:"get",params:t})}function i(t){return Object(r["a"])({url:"agent/spread",method:"PUT",data:t})}function o(t){return Object(r["a"])({url:"agent/statistics",method:"get",params:t})}function s(t,e){return Object(r["a"])({url:t,method:"get",params:e})}function c(t){return Object(r["a"])({url:"agent/look_code",method:"get",params:t})}function l(t){return Object(r["a"])({url:"agent/look_xcx_code",method:"get",params:t})}function u(t){return Object(r["a"])({url:"agent/look_h5_code",method:"get",params:t})}function d(t){return Object(r["a"])({url:"export/userAgent",method:"get",params:t})}function m(t){return Object(r["a"])({url:"agent/division/list",method:"get",params:t})}function f(t){return Object(r["a"])({url:"agent/division/agent_apply/list",method:"get",params:t})}function h(t){return Object(r["a"])({url:"agent/division/agent/create/".concat(t),method:"get"})}function p(t,e){return Object(r["a"])({url:"agent/division/examine_apply/".concat(t,"/").concat(e),method:"get"})}function g(t){return Object(r["a"])({url:"agent/division/create/".concat(t),method:"get"})}function b(t){return Object(r["a"])({url:"agent/division/down_list",method:"get",params:t})}function v(t){return Object(r["a"])({url:"agent/division/set_status/".concat(t.status,"/").concat(t.id),method:"put"})}},bdf2:function(t,e,a){"use strict";var r=a("cc33"),n=a.n(r);n.a},cc33:function(t,e,a){}}]);