chunk-9a644c66.d27adabe0e4d37fb8b27.js 15 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9a644c66"],{"03dc":function(t,e,r){},"869c":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"searchForm"},[r("div",{staticClass:"leftFrom"},[r("el-form",{ref:"searchForm",attrs:{inline:!0,model:t.searchForm}},[r("el-form-item",{attrs:{label:"用户ID"}},[r("el-input",{attrs:{placeholder:"请输入用户ID",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.searchForm.member_id,callback:function(e){t.$set(t.searchForm,"member_id",e)},expression:"searchForm.member_id"}})],1),r("el-form-item",{attrs:{label:"分佣类型"}},[r("div",{staticClass:"itemFrom"},[r("el-select",{attrs:{clearable:"",placeholder:"选择等级"},model:{value:t.searchForm.change_type,callback:function(e){t.$set(t.searchForm,"change_type",e)},expression:"searchForm.change_type"}},t._l(t.changetypelist,(function(t,e){return r("el-option",{key:e,attrs:{label:t,value:e}})})),1)],1)]),r("el-form-item",{attrs:{label:"等级"}},[r("div",{staticClass:"itemFrom"},[r("el-select",{attrs:{clearable:"",placeholder:"选择等级"},model:{value:t.searchForm.level,callback:function(e){t.$set(t.searchForm,"level",e)},expression:"searchForm.level"}},t._l(t.opemList,(function(t,e){return r("el-option",{key:e,attrs:{label:t.level_name,value:t.level}})})),1)],1)]),r("el-form-item",{attrs:{label:"注册时间",prop:"timeData"}},[r("el-date-picker",{attrs:{type:"datetimerange","value-format":"timestamp","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"]},on:{change:t.changeTime},model:{value:t.timeData,callback:function(e){t.timeData=e},expression:"timeData"}})],1)],1)],1),r("div",{staticClass:"inquire"},[r("el-button",{staticClass:"demand",attrs:{type:"primary"},on:{click:t.inquire}},[t._v("查询")])],1)]),r("div",{staticClass:"table"},[r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.dataList,border:"","cell-style":{textAlign:"center"},"header-cell-style":{textAlign:"center"},"min-height":"150"}},[t._v(" > "),r("el-table-column",{attrs:{prop:"id",label:"ID"}}),r("el-table-column",{attrs:{prop:"username",label:"用户名称"}}),r("el-table-column",{attrs:{prop:"ordernum",label:"订单号"}}),r("el-table-column",{attrs:{prop:"child_id",label:"下级ID"}}),r("el-table-column",{attrs:{prop:"order_amount",label:"订单金额"}}),r("el-table-column",{attrs:{prop:"child_level",label:"下级层级"}}),r("el-table-column",{attrs:{prop:"change_type",label:"分佣类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{},t._l(t.changetypelist,(function(n,a){return r("div",{key:a},[e.row.change_type==a?r("div",[t._v(t._s(n))]):t._e()])})),0)]}}])}),r("el-table-column",{attrs:{prop:"platform_rate",label:"平台费率(%)"}}),r("el-table-column",{attrs:{prop:"platform_fee",label:"平台收益"}}),r("el-table-column",{attrs:{prop:"commission_rate",label:"佣金比例(%)"}}),r("el-table-column",{attrs:{prop:"commission_fee",label:"佣金"}}),r("el-table-column",{attrs:{prop:"created_at",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(" "+t._s(t.timestampToDatetime(e.row.created_at))+" ")])]}}])})],1),r("Paginate",{attrs:{page:t.params.page,total:t.total},on:{currentChange:t.handleCurrentChange,sizeChange:t.handleSizeChange}})],1)])},a=[],u=(r("a9e3"),r("0238")),o=r("f201"),c=(r("365c"),r("c466")),i={name:"subCommissionRecord",components:{Paginate:u["a"]},data:function(){return{searchForm:{ordernum:"",member_id:"",username:"",created_at_start:"",created_at_end:"",status:""},timeData:[],total:0,statistic:{},dataList:[],params:{page:1,page_size:this.$store.state.attr.pageSize},opemList:[],changetypelist:[],loading:!1}},computed:{},watch:{},mounted:function(){this.first(),this.install()},methods:{first:function(){var t=this;Object(o["b"])().then((function(e){var r=e.data.list;t.opemList=r})),Object(o["z"])().then((function(e){console.log("mojap",e),t.changetypelist=e.data}))},install:function(){var t=this,e=this.searchForm,r={change_type:e.change_type,level:e.level,member_id:e.member_id,page:Number(this.cal.accSub(this.params.page,1)),page_size:this.params.page_size,is_faker:1};Object(o["A"])(r).then((function(e){t.dataList=e.data.list,t.statistic=e.data.statistic,t.total=parseInt(e.data.listTotalCount),t.loading=!1}))},inquire:function(){this.install()},changeTime:function(t){t?(this.searchForm.created_at_start=t[0]/1e3,this.searchForm.created_at_end=t[1]/1e3):(this.searchForm.created_at_start="",this.searchForm.created_at_end="")},handleCurrentChange:function(t){this.params.page=t,this.install()},handleSizeChange:function(t){this.params.page_size=t,this.install()},timestampToDatetime:function(t){return Object(c["a"])(t,!0)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},l=i,d=(r("c092"),r("2877")),s=Object(d["a"])(l,n,a,!1,null,"3a423536",null);e["default"]=s.exports},c092:function(t,e,r){"use strict";var n=r("03dc"),a=r.n(n);a.a},f201:function(t,e,r){"use strict";r.d(e,"U",(function(){return a})),r.d(e,"j",(function(){return u})),r.d(e,"zb",(function(){return o})),r.d(e,"B",(function(){return c})),r.d(e,"k",(function(){return i})),r.d(e,"vb",(function(){return l})),r.d(e,"c",(function(){return d})),r.d(e,"i",(function(){return s})),r.d(e,"f",(function(){return m})),r.d(e,"g",(function(){return b})),r.d(e,"e",(function(){return f})),r.d(e,"h",(function(){return p})),r.d(e,"b",(function(){return h})),r.d(e,"v",(function(){return O})),r.d(e,"u",(function(){return g})),r.d(e,"x",(function(){return j})),r.d(e,"w",(function(){return v})),r.d(e,"y",(function(){return _})),r.d(e,"sb",(function(){return w})),r.d(e,"fb",(function(){return y})),r.d(e,"ob",(function(){return x})),r.d(e,"o",(function(){return T})),r.d(e,"xb",(function(){return k})),r.d(e,"wb",(function(){return F})),r.d(e,"yb",(function(){return S})),r.d(e,"rb",(function(){return C})),r.d(e,"qb",(function(){return P})),r.d(e,"pb",(function(){return D})),r.d(e,"T",(function(){return z})),r.d(e,"tb",(function(){return L})),r.d(e,"R",(function(){return I})),r.d(e,"Q",(function(){return q})),r.d(e,"S",(function(){return A})),r.d(e,"A",(function(){return E})),r.d(e,"z",(function(){return $})),r.d(e,"t",(function(){return J})),r.d(e,"N",(function(){return H})),r.d(e,"P",(function(){return M})),r.d(e,"eb",(function(){return N})),r.d(e,"n",(function(){return R})),r.d(e,"a",(function(){return U})),r.d(e,"l",(function(){return B})),r.d(e,"d",(function(){return G})),r.d(e,"m",(function(){return K})),r.d(e,"O",(function(){return Q})),r.d(e,"ib",(function(){return V})),r.d(e,"nb",(function(){return W})),r.d(e,"jb",(function(){return X})),r.d(e,"lb",(function(){return Y})),r.d(e,"kb",(function(){return Z})),r.d(e,"gb",(function(){return tt})),r.d(e,"mb",(function(){return et})),r.d(e,"hb",(function(){return rt})),r.d(e,"db",(function(){return nt})),r.d(e,"cb",(function(){return at})),r.d(e,"Z",(function(){return ut})),r.d(e,"ab",(function(){return ot})),r.d(e,"bb",(function(){return ct})),r.d(e,"H",(function(){return it})),r.d(e,"D",(function(){return lt})),r.d(e,"C",(function(){return dt})),r.d(e,"G",(function(){return st})),r.d(e,"F",(function(){return mt})),r.d(e,"E",(function(){return bt})),r.d(e,"I",(function(){return ft})),r.d(e,"L",(function(){return pt})),r.d(e,"K",(function(){return ht})),r.d(e,"J",(function(){return Ot})),r.d(e,"M",(function(){return gt})),r.d(e,"r",(function(){return jt})),r.d(e,"p",(function(){return vt})),r.d(e,"s",(function(){return _t})),r.d(e,"q",(function(){return wt})),r.d(e,"V",(function(){return yt})),r.d(e,"Y",(function(){return xt})),r.d(e,"X",(function(){return Tt})),r.d(e,"W",(function(){return kt})),r.d(e,"ub",(function(){return Ft}));var n=r("b775");function a(t){return Object(n["b"])({url:"/common-dic/update2",method:"POST",data:t})}function u(t){return Object(n["b"])({url:"/withdrawal-net/index",method:"get",params:t})}function o(t){return Object(n["b"])({url:"/withdrawal-net/create",method:"POST",data:t})}function c(t,e){return Object(n["b"])({url:"/withdrawal-net/update",method:"put",params:t,data:e})}function i(t){return Object(n["b"])({url:"/common-dic/index2",method:"get",params:t})}function l(t){return Object(n["b"])({url:"/withdrawal-net/delete",method:"delete",params:t})}function d(t){return Object(n["b"])({url:"/coin/index",method:"get",params:t})}function s(t,e){return Object(n["b"])({url:"/coin/update",method:"put",params:t,data:e})}function m(t){return Object(n["b"])({url:"/coin-recharge-net",method:"get",params:t})}function b(t){return Object(n["b"])({url:"/coin-recharge-net/delete",method:"delete",params:t})}function f(t){return Object(n["b"])({url:"/coin/net",method:"get",params:t})}function p(t){return Object(n["b"])({url:"/coin-recharge-net/create",method:"POST",data:t})}function h(t){return Object(n["b"])({url:"/invite-level/index",method:"get",params:t})}function O(t,e){return Object(n["b"])({url:"/invite-level/update",method:"put",params:t,data:e})}function g(t){return Object(n["b"])({url:"/invite-level/create",method:"POST",data:t})}function j(t){return Object(n["b"])({url:"/invite-profit-static/index",method:"get",params:t})}function v(t){return Object(n["b"])({url:"/invite-profit-static/detail",method:"get",params:t})}function _(t){return Object(n["b"])({url:"/invite-profit-static/profit",method:"get",params:t})}function w(t){return Object(n["b"])({url:"/wallet/transfer-log",method:"get",params:t})}function y(t){return Object(n["b"])({url:"/wallet/transfer-export",method:"get",responseType:"blob",params:t})}function x(t){return Object(n["b"])({url:"/wallet/flash-exchange-log",method:"get",params:t})}function T(t){return Object(n["b"])({url:"/wallet/flash-exchange-export",method:"get",responseType:"blob",params:t})}function k(t){return Object(n["b"])({url:"/withdraw/index",method:"get",params:t})}function F(t){return Object(n["b"])({url:"/withdraw/export",method:"get",responseType:"blob",params:t})}function S(t,e){return Object(n["b"])({url:"/withdraw/update",method:"put",params:t,data:e})}function C(t){return Object(n["b"])({url:"/wallet/operate-log",method:"get",params:t})}function P(t){return Object(n["b"])({url:"/wallet/operate",method:"POST",data:t})}function D(t){return Object(n["b"])({url:"/wallet/modify-wallet-operate-remark",method:"PATCH",data:t})}function z(t){return Object(n["b"])({url:"/wallet/operate-export",method:"get",responseType:"blob",params:t})}function L(t){return Object(n["b"])({url:"/withdraw/abandon",method:"POST",data:t})}function I(t){return Object(n["b"])({url:"/recharge/confirm",method:"POST",data:t})}function q(t){return Object(n["b"])({url:"/recharge/abandon",method:"POST",data:t})}function A(t){return Object(n["b"])({url:"/recharge/export",method:"get",responseType:"blob",params:t})}function E(t){return Object(n["b"])({url:"/invite-profit-static/log",method:"get",params:t})}function $(t){return Object(n["b"])({url:"/invite-profit-static/change-type",method:"get",params:t})}function J(t){return Object(n["b"])({url:"/futures-order/index",method:"get",params:t})}function H(t){return Object(n["b"])({url:"/futures-order/close",method:"POST",data:t})}function M(t){return Object(n["b"])({url:"/futures-order/cancel-close",method:"POST",data:t})}function N(t){return Object(n["b"])({url:"/coin-control/index",method:"get",params:t})}function R(t,e){return Object(n["b"])({url:"/coin-control/update",method:"put",params:t,data:e})}function U(t){return Object(n["b"])({url:"/coin-control/create",method:"post",data:t})}function B(t,e){return Object(n["b"])({url:"/coin-control/delete",method:"DELETE",params:t,data:e})}function G(t){return Object(n["b"])({url:"/coin-control/coin",method:"get",params:t})}function K(t){return Object(n["b"])({url:"/futures-order/close-fee",method:"get",params:t})}function Q(t){return Object(n["b"])({url:"/futures-order/close-all",method:"POST",params:t})}function V(t){return Object(n["b"])({url:"/tutorial/index",method:"get",params:t})}function W(t){return Object(n["b"])({url:"/tutorial-type/index",method:"get",params:t})}function X(t){return Object(n["b"])({url:"/tutorial-type/create",method:"POST",data:t})}function Y(t,e){return Object(n["b"])({url:"/tutorial-type/update",method:"put",params:t,data:e})}function Z(t){return Object(n["b"])({url:"/tutorial-type/delete",method:"delete",params:t})}function tt(t){return Object(n["b"])({url:"/tutorial/create",method:"POST",data:t})}function et(t,e){return Object(n["b"])({url:"/tutorial/update",method:"put",params:t,data:e})}function rt(t){return Object(n["b"])({url:"/tutorial/delete",method:"delete",params:t})}function nt(t){return Object(n["b"])({url:"/task/index",method:"get",params:t})}function at(t,e){return Object(n["b"])({url:"/task/update",method:"put",params:t,data:e})}function ut(t){return Object(n["b"])({url:"/task/create",method:"POST",data:t})}function ot(t){return Object(n["b"])({url:"/task/delete",method:"delete",params:t})}function ct(t){return Object(n["b"])({url:"/task-member/index",method:"get",params:t})}function it(t){return Object(n["b"])({url:"/option-order/index",method:"get",params:t})}function lt(t){return Object(n["b"])({url:"/option-coin/index",method:"get",params:t})}function dt(t){return Object(n["b"])({url:"/option-coin/coin",method:"get",params:t})}function st(t,e){return Object(n["b"])({url:"/option-coin/update",method:"put",params:t,data:e})}function mt(t){return Object(n["b"])({url:"/option-coin/delete",method:"delete",params:t})}function bt(t){return Object(n["b"])({url:"/option-coin/create",method:"post",data:t})}function ft(t){return Object(n["b"])({url:"/option-rule/index",method:"get",params:t})}function pt(t,e){return Object(n["b"])({url:"/option-rule/update",method:"put",params:t,data:e})}function ht(t){return Object(n["b"])({url:"/option-rule/delete",method:"delete",params:t})}function Ot(t){return Object(n["b"])({url:"/option-rule/create",method:"post",data:t})}function gt(t){return Object(n["b"])({url:"/option-order/statistics",method:"get"})}function jt(t){return Object(n["b"])({url:"/footer/index",method:"get",params:t})}function vt(t){return Object(n["b"])({url:"/footer/create",method:"post",data:t})}function _t(t,e){return Object(n["b"])({url:"/footer/update",method:"put",params:t,data:e})}function wt(t){return Object(n["b"])({url:"/footer/delete",method:"delete",params:t})}function yt(t){return Object(n["b"])({url:"/spread-level/index",method:"get",params:t})}function xt(t,e){return Object(n["b"])({url:"/spread-level/update",method:"put",params:t,data:e})}function Tt(t){return Object(n["b"])({url:"/spread-level/delete",method:"delete",params:t})}function kt(t){return Object(n["b"])({url:"/spread-level/create",method:"post",data:t})}function Ft(t){return Object(n["b"])({url:"/withdraw-account/index",method:"get",params:t})}}}]);