(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c66395c4"],{"16e0":function(t,n,e){"use strict";e.d(n,"m",(function(){return i})),e.d(n,"v",(function(){return o})),e.d(n,"Q",(function(){return u})),e.d(n,"U",(function(){return c})),e.d(n,"h",(function(){return s})),e.d(n,"f",(function(){return d})),e.d(n,"w",(function(){return f})),e.d(n,"P",(function(){return p})),e.d(n,"O",(function(){return l})),e.d(n,"S",(function(){return m})),e.d(n,"x",(function(){return g})),e.d(n,"F",(function(){return h})),e.d(n,"E",(function(){return v})),e.d(n,"L",(function(){return b})),e.d(n,"k",(function(){return y})),e.d(n,"G",(function(){return S})),e.d(n,"H",(function(){return C})),e.d(n,"C",(function(){return I})),e.d(n,"B",(function(){return N})),e.d(n,"I",(function(){return k})),e.d(n,"D",(function(){return w})),e.d(n,"y",(function(){return _})),e.d(n,"K",(function(){return T})),e.d(n,"A",(function(){return x})),e.d(n,"J",(function(){return z})),e.d(n,"z",(function(){return A})),e.d(n,"u",(function(){return D})),e.d(n,"q",(function(){return E})),e.d(n,"p",(function(){return F})),e.d(n,"T",(function(){return R})),e.d(n,"r",(function(){return O})),e.d(n,"t",(function(){return U})),e.d(n,"s",(function(){return $})),e.d(n,"g",(function(){return L})),e.d(n,"b",(function(){return V})),e.d(n,"e",(function(){return M})),e.d(n,"M",(function(){return P})),e.d(n,"c",(function(){return j})),e.d(n,"N",(function(){return q})),e.d(n,"d",(function(){return G})),e.d(n,"i",(function(){return J})),e.d(n,"V",(function(){return B})),e.d(n,"a",(function(){return Q})),e.d(n,"l",(function(){return X})),e.d(n,"n",(function(){return Y})),e.d(n,"j",(function(){return H})),e.d(n,"o",(function(){return K})),e.d(n,"R",(function(){return W})),e.d(n,"Y",(function(){return Z})),e.d(n,"Z",(function(){return tt})),e.d(n,"X",(function(){return nt})),e.d(n,"W",(function(){return et}));var a=e("284b"),r=e("f121"),i=r["a"]+"/admin/dealer/invitation-code/excel/excelDownload",o=function(t){return a["a"].post("/admin/dealer/invitation-code/queryDealerInvitationCodeResult",t)},u=function(t){return a["a"].post("/admin/dealer/invitation-code/saveDealerInvitationCode",t)},c=function(t){return a["a"].post("/admin/dealer/invitation-code/updDealerInvitationCode",t)},s=function(t){return a["a"].get("/admin/dealer/invitation-code/getDealerInvitationCodeResult",{params:t})},d=function(){return a["a"].get("/admin/agent/select/users")},f=function(t){return a["a"].get("/admin/dealer/invitation-code/disabled",{params:t})},p=function(t){return a["a"].post("/admin/dealer/invitation-code/queryDealerInvitationRecordResult",t)},l=function(t){return a["a"].post("/adminv2/dealer/queryInvitationCode",t)},m=function(t){return a["a"].post("/admin/files/getQRCodeBase64",t)},g=function(t){return a["a"].post("/admin/dealer/invitation-record/setStatus",t)},h=function(t){return a["a"].post("/admin/dealer/invitation-code/generateDealerInvitationCode",t)},v=function(t){return a["a"].post("/admin/dealer/invitation-code/queryAgentDealerInvitationRecordResult",t)},b=function(t){return a["a"].get("/admin/agent/goods/lists/".concat(t.agentUserId),{params:t})},y=function(t){return a["a"].post("/admin/course/info/tab/queryCourseInfoAll",t)},S=function(t){return a["a"].post("/admin/member/tab",t)},C=function(t){return a["a"].post("/adminv2/member/lists",t)},I=function(t){return a["a"].post("/adminv2/member/enable",t)},N=function(t){return a["a"].post("/adminv2/member/disable",t)},k=function(t){return a["a"].post("/admin/member/record",t)},w=function(t){return a["a"].get("/admin/member/invalidate",{params:t})},_=function(t){return a["a"].post("/adminv2/member/add",t)},T=function(t){return a["a"].post("/adminv2/member/update",t)},x=function(t){return a["a"].post("/adminv2/member/detail",t)},z=function(t){return a["a"].post("/admin/member/sort",t)},A=function(t){return a["a"].post("/admin/member/delay",t)},D=function(t){return a["a"].post("/admin/agent/users",t)},E=function(t){return a["a"].post("/admin/agent/enable/".concat(t.agentUserId),t)},F=function(t){return a["a"].post("/admin/agent/disable/".concat(t.agentUserId),t)},R=function(t){return a["a"].post("/admin/sys/user/tab",t)},O=function(t){return a["a"].get("/admin/agent/select/label",{params:t})},U=function(t){return a["a"].get("/admin/agent/user/info/".concat(t.agentUserId),{params:t})},$=function(t){return a["a"].post("/admin/agent/setting",t)},L=function(t){return a["a"].post("/admin/agent/update",t)},V=function(t){return a["a"].post("/admin/agent",t)},M=r["a"]+"/admin/agent/export",P=function(t){return a["a"].get("/admin/agent/order/codes/".concat(t.agentUserId),{params:t})},j=function(t){return a["a"].post("/admin/agent/configs",t)},q=function(t){return a["a"].get("/admin/agent/config/".concat(t.id),{params:t})},G=function(t){return a["a"].post("/admin/agent/config/update/".concat(t.id),t)},J=function(t){return a["a"].post("/adminv2/getCouponList",t)},B=function(t){return a["a"].post("/adminv2/upCouponStatus",t)},Q=function(t){return a["a"].post("/adminv2/addCoupon",t)},X=function(t){return a["a"].post("/adminv2/editCoupon",t)},Y=function(t){return a["a"].post("/adminv2/getCouponInfo",t)},H=function(t){return a["a"].post("/adminv2/getCouponUseInfo",t)},K=function(t){return a["a"].post("/adminv2/getMemberAppShow ",t)},W=function(t){return a["a"].post("/adminv2/setMemberAppShow ",t)},Z=function(t){return a["a"].post("/adminv2/shoptask/lists",t)},tt=function(t){return a["a"].post("/adminv2/shoptask/removed",t)},nt=function(t){return a["a"].post("/adminv2/shoptask/getOne",t)},et=function(t){return a["a"].post("/adminv2/shoptask/edit",t)}},"34de":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:"positionT0L0"},[e("div",{staticClass:"information"},[e("div",[t._v(" "+t._s(t.$route.params.realName)+" | "+t._s(t.$route.params.agentRegion)+" | "+t._s(t.$route.params.agentName)+" ")]),e("div",[t._v("加入时间 : "+t._s(t.$route.params.createTime))])]),e("div",{staticClass:"top"},[e("div",{staticClass:"top_left"}),e("div",{staticClass:"top_rigiht"},[e("span",[t._v(" 返佣时间 "),e("a-range-picker",{on:{change:t.onChangeDate}})],1),e("span",[t._v("类型 "),e("a-select",{staticStyle:{width:"120px"},attrs:{getPopupContainer:function(n){return n.parentNode||t.document.body}},on:{change:t.typeChange},model:{value:t.type,callback:function(n){t.type=n},expression:"type"}},t._l(t.typeArr,(function(n){return e("a-select-option",{key:n.key},[t._v(" "+t._s(n.value)+" ")])})),1)],1),e("a-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入订单号"},on:{pressEnter:t.searchClick},model:{value:t.searchVal,callback:function(n){t.searchVal=n},expression:"searchVal"}},[e("a-icon",{attrs:{slot:"prefix",type:"search"},slot:"prefix"})],1),e("a-button",{attrs:{icon:"search",type:"primary",disabled:t.isDisableSearch},on:{click:t.searchClick}},[t._v("搜索")])],1)]),e("h2",[t._v("累计返佣金额 : "+t._s(t.$route.params.commissionSum)+" 元")]),e("div",[t._v("返佣金额非实时数据,次日6:00更新前一天的数据")]),e("div",{staticStyle:{"margin-top":"20px"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.exportClick}},[t._v("导出数据")])],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.tableData,pagination:!1,loading:t.tableLoading}}),e("MyPagination",{directives:[{name:"show",rawName:"v-show",value:!t.tableLoading,expression:"!tableLoading"}],attrs:{count:t.count,pageNo:t.pageNo},on:{showSizeChangeFn:t.showSizeChangeFn}})],1)},r=[],i=e("ade3"),o=(e("99af"),e("6ffe")),u=e("16e0"),c={components:{MyPagination:o["a"]},created:function(){this.AgentFn()},data:function(){return{isDisableSearch:!1,tableLoading:!0,pageNo:1,pageSize:20,count:0,startTime:"",endTime:"",searchVal:"",type:"",typeArr:[{key:"",value:"全部类型"},{key:"1",value:"线上"},{key:"2",value:"线下"}],columns:[{title:"关联订单号",dataIndex:"orderNo",key:"orderNo",scopedSlots:{customRender:"orderNo"}},{title:"类型",dataIndex:"orderType",key:"orderType",scopedSlots:{customRender:"orderType"}},{title:"返佣金额 (元)",dataIndex:"amount",key:"amount",scopedSlots:{customRender:"amount"}},{title:"备注",dataIndex:"remark",key:"remark",scopedSlots:{customRender:"remark"}},Object(i["a"])({title:"返佣时间",dataIndex:"createTime",sorter:!0,key:"createTime"},"sorter",(function(t,n){var e=new Date(t.createTime).getTime(),a=new Date(n.createTime).getTime();return e-a}))],tableData:[]}},methods:{typeChange:function(t){this.type=t,this.AgentFn()},onChangeDate:function(t,n){""!=n[0]?(this.startTime=n[0]+" 00:00:00",this.endTime=n[1]+" 23:59:59"):(this.startTime="",this.endTime="")},searchClick:function(){var t=this;this.pageNo=1,this.isDisableSearch=!0,setTimeout((function(){t.isDisableSearch=!1}),3e3),this.AgentFn()},exportClick:function(){window.location.href="".concat(u["e"],"?agentUserId=").concat(this.$route.params.agentUserId,"&pageNo=1&pageSize=20")},showSizeChangeFn:function(t,n){this.pageNo=t,this.pageSize=n,this.AgentFn()},AgentFn:function(){var t=this;Object(u["b"])({pageNo:this.pageNo,pageSize:this.pageSize,agentUserId:this.$route.params.agentUserId,type:this.type,startTime:this.startTime,endTime:this.endTime,keyword:this.searchVal}).then((function(n){var e=n.code,a=n.data;if(200==e){t.tableLoading=!1;var r=a.data;for(var i in r)r[i].key=i;t.tableData=r,t.count=a.count}}))}}},s=c,d=(e("8841"),e("2877")),f=Object(d["a"])(s,a,r,!1,null,"382eb326",null);n["default"]=f.exports},5899:function(t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,n,e){var a=e("1d80"),r=e("5899"),i="["+r+"]",o=RegExp("^"+i+i+"*"),u=RegExp(i+i+"*$"),c=function(t){return function(n){var e=String(a(n));return 1&t&&(e=e.replace(o,"")),2&t&&(e=e.replace(u,"")),e}};t.exports={start:c(1),end:c(2),trim:c(3)}},"6ffe":function(t,n,e){"use strict";var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"pagination"},[e("a-pagination",{attrs:{"page-size-options":t.pageSizeOptions,total:t.count,"show-total":function(t,n){return"总共"+t+"条"},"page-size":t.pageSize,showQuickJumper:"",showSizeChanger:t.showSizeChanger},on:{showSizeChange:t.onShowSizeChange,change:t.onchange},scopedSlots:t._u([{key:"buildOptionText",fn:function(n){return["99"!==n.value?e("span",[t._v(t._s(n.value)+"条/页")]):t._e()]}}]),model:{value:t.current,callback:function(n){t.current=n},expression:"current"}})],1)},r=[],i=(e("a9e3"),{props:{count:{type:Number,defaule:0},pageNo:{type:Number,default:1},showSizeChanger:{type:Boolean,default:!0}},data:function(){return{pageSizeOptions:["20","30","40","50","100","200"],current:1,pageSize:20}},watch:{pageNo:function(t){this.current=t}},created:function(){this.current=this.pageNo},methods:{onShowSizeChange:function(t,n){this.current=1,this.$emit("showSizeChangeFn",t,n),this.pageSize=n},onchange:function(t,n){this.$emit("showSizeChangeFn",t,n)}}}),o=i,u=(e("ae61"),e("2877")),c=Object(u["a"])(o,a,r,!1,null,"ae5bacaa",null);n["a"]=c.exports},7156:function(t,n,e){var a=e("861d"),r=e("d2bb");t.exports=function(t,n,e){var i,o;return r&&"function"==typeof(i=n.constructor)&&i!==e&&a(o=i.prototype)&&o!==e.prototype&&r(t,o),t}},8841:function(t,n,e){"use strict";e("bed3")},"96b4":function(t,n,e){},a9e3:function(t,n,e){"use strict";var a=e("83ab"),r=e("da84"),i=e("94ca"),o=e("6eeb"),u=e("5135"),c=e("c6b6"),s=e("7156"),d=e("c04e"),f=e("d039"),p=e("7c73"),l=e("241c").f,m=e("06cf").f,g=e("9bf2").f,h=e("58a8").trim,v="Number",b=r[v],y=b.prototype,S=c(p(y))==v,C=function(t){var n,e,a,r,i,o,u,c,s=d(t,!1);if("string"==typeof s&&s.length>2)if(s=h(s),n=s.charCodeAt(0),43===n||45===n){if(e=s.charCodeAt(2),88===e||120===e)return NaN}else if(48===n){switch(s.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+s}for(i=s.slice(2),o=i.length,u=0;ur)return NaN;return parseInt(i,a)}return+s};if(i(v,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var I,N=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof N&&(S?f((function(){y.valueOf.call(e)})):c(e)!=v)?s(new b(C(n)),e,N):C(n)},k=a?l(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;k.length>w;w++)u(b,I=k[w])&&!u(N,I)&&g(N,I,m(b,I));N.prototype=y,y.constructor=N,o(r,v,N)}},ade3:function(t,n,e){"use strict";function a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return a}))},ae61:function(t,n,e){"use strict";e("96b4")},bed3:function(t,n,e){}}]); //# sourceMappingURL=chunk-c66395c4.1b353a40.js.map