chunk-122c98fd.bd01afae9a2e2fe6fb2b.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-122c98fd"],{"0edd":function(t,e,r){"use strict";var n=r("4c8d"),a=r.n(n);a.a},"4c8d":function(t,e,r){},a4fa: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",{staticClass:"search"},[r("div",{staticClass:"header"},[r("div",{staticClass:"leftFrom"},[r("el-form",{ref:"searchForm",attrs:{model:t.params,inline:!0,rules:t.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"用户ID"}},[r("el-input",{attrs:{placeholder:"请输入用户id",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.params.member_id,callback:function(e){t.$set(t.params,"member_id",e)},expression:"params.member_id"}})],1),r("el-form-item",{attrs:{label:"订单号"}},[r("el-input",{attrs:{placeholder:"请输入订单号",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.params.ordernum,callback:function(e){t.$set(t.params,"ordernum",e)},expression:"params.ordernum"}})],1),r("el-form-item",{attrs:{label:"用户名称"}},[r("el-input",{attrs:{placeholder:"请输入用户名称",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.params.username,callback:function(e){t.$set(t.params,"username",e)},expression:"params.username"}})],1),r("el-form-item",{attrs:{label:"钱包类型"}},[r("el-select",{attrs:{clearable:"",placeholder:"请选择钱包类型"},model:{value:t.params.wallet,callback:function(e){t.$set(t.params,"wallet",e)},expression:"params.wallet"}},t._l(t.options,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),r("el-form-item",{attrs:{label:"币种"}},[r("el-select",{staticStyle:{width:"140px"},attrs:{clearable:"",placeholder:"请选择币种"},model:{value:t.params.currency,callback:function(e){t.$set(t.params,"currency",e)},expression:"params.currency"}},t._l(t.coinlist,(function(t){return r("el-option",{key:t.coin,attrs:{label:t.coin,value:t.coin}})})),1)],1),r("el-form-item",{attrs:{label:"交易类型"}},[r("el-select",{staticStyle:{width:"140px"},attrs:{clearable:""},model:{value:t.params.change_type,callback:function(e){t.$set(t.params,"change_type",e)},expression:"params.change_type"}},t._l(t.changetypeList,(function(t){return r("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),r("el-form-item",{attrs:{label:"数量"}},[r("el-input",{attrs:{placeholder:"请输入数量",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.params.fee,callback:function(e){t.$set(t.params,"fee",e)},expression:"params.fee"}})],1),r("el-form-item",{staticClass:"time",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:"rightIcon"},[r("el-button",{attrs:{type:"success"},on:{click:t.onSearchSubmit}},[t._v("查询")]),r("el-button",{on:{click:t.onSearchReset}},[t._v("重置")])],1)]),t.walletsShow?r("div",{staticStyle:{"margin-bottom":"30px"}},[r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.walletsList.wallets,border:"","cell-style":{textAlign:"center"},"header-cell-style":{textAlign:"center"},"min-height":"150",height:"600"}},[t._v(" > "),r("el-table-column",{attrs:{prop:"currency",label:"币种"}}),r("el-table-column",{attrs:{prop:"spot_balance",label:"现货余额"}}),r("el-table-column",{attrs:{prop:"spot_frozen_amount",label:"现货冻结金额"}}),r("el-table-column",{attrs:{prop:"game_balance",label:"交易余额"}}),r("el-table-column",{attrs:{prop:"game_frozen_amount",label:"交易冻结金额"}}),r("el-table-column",{attrs:{prop:"forex_balance",label:"外汇余额"}}),r("el-table-column",{attrs:{prop:"forex_frozen_amount",label:"外汇冻结金额"}})],1)],1):t._e(),r("div",[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:"member_id",label:"用户ID",width:"80"}}),r("el-table-column",{attrs:{prop:"username",label:"用户名称"}}),r("el-table-column",{attrs:{prop:"ordernum",label:"订单号"}}),r("el-table-column",{attrs:{prop:"wallet",label:"钱包类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(" "+t._s(e.row.walletName)+" ")])]}}])}),r("el-table-column",{attrs:{prop:"currency",label:"币种"}}),r("el-table-column",{attrs:{prop:"change_type",label:"交易类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(" "+t._s(e.row.onlineName)+" ")])]}}])}),r("el-table-column",{attrs:{prop:"balance_before",label:"交易前余额"}}),r("el-table-column",{attrs:{prop:"fee",label:"交易金额"}}),r("el-table-column",{attrs:{prop:"balance_after",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("7db0"),r("d81d"),r("b0c0"),r("b8d9")),o=r("0238"),i=r("f201"),l=r("365c"),c=r("c466"),s=r("16b0"),d=r("9ea4"),m={name:"moneybag",components:{Paginate:o["a"],DetailBlock:u["a"],NewSearch:s["a"],TopTitle:d["a"]},data:function(){return{rules:{min:[{validator:this.validateCom,trigger:"blur"},{validator:this.validateMin,trigger:"blur"}],max:[{validator:this.validateCom,trigger:"blur"},{validator:this.validateMax,trigger:"blur"}]},params:{page:1,page_size:this.$store.state.attr.pageSize,start_date:"",end_date:"",id:"",member_id:"",username:"",wallet:"",currency:"",change_type:"",fee:"",ordernum:""},timeData:[],walletsList:[],options:[{value:"1",label:"现货"},{value:"3",label:"交易"},{value:"5",label:"外汇"}],total:0,coinlist:[],changetypeList:[],dataList:[],walletsShow:!1}},computed:{},watch:{},mounted:function(){this.$route.query.ordernum&&(this.params.ordernum=this.$route.query.ordernum),this.icon()},methods:{icon:function(){var t=this;Object(i["c"])().then((function(e){t.coinlist=e.data.list})),Object(l["oc"])().then((function(e){t.changetypeList=e.data})),this.getData()},inquiry:function(){var t=this,e={id:this.params.member_id};Object(l["qc"])(e).then((function(e){t.walletsList=e.data}))},changeTime:function(t){t?(this.params.start_date=t[0]/1e3,this.params.end_date=t[1]/1e3):(this.params.start_date="",this.params.end_date="")},getData:function(){var t=this,e={page:this.cal.accSub(this.params.page,1),page_size:this.params.page_size,start_date:this.params.start_time,end_date:this.params.end_date,member_id:this.params.member_id,username:this.params.username,wallet:this.params.wallet,currency:this.params.currency,change_type:this.params.change_type,fee:this.params.fee,ordernum:this.params.ordernum};this.loading=!0,Object(l["pc"])(e).then((function(e){if(200===e.code){t.total=parseInt(e.data.listTotalCount);var r=t.changetypeList,n=t.options,a=e.data.list.map((function(t){var e=t.change_type,a=t.wallet;return r.find((function(r){r.id==e&&(t.onlineName=r.name)})),n.find((function(e){e.value==a&&(t.walletName=e.label)})),t}));t.dataList=a}else t.$message.error(e.message);t.loading=!1}))},onSearchSubmit:function(){this.params.member_id?(this.walletsShow=!0,this.inquiry()):this.walletsShow=!1,this.params.value&&(this.searchClear(),this.params[this.params.select]=this.params.value),this.getData(this.params)},onSearchReset:function(){this.searchClear(),this.timeData=[],this.params.start_date="",this.params.start_date="",this.$refs.searchForm.resetFields(),this.getData()},handleCurrentChange:function(t){this.params.page=t,this.getData()},handleSizeChange:function(t,e){this.params.page_size=t,this.getData()},remarkPageChange:function(t){this.page=t,this.getRemarkList()},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(){}},p=m,b=(r("0edd"),r("2877")),f=Object(b["a"])(p,n,a,!1,null,"b1061af4",null);e["default"]=f.exports},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 i})),r.d(e,"k",(function(){return l})),r.d(e,"vb",(function(){return c})),r.d(e,"c",(function(){return s})),r.d(e,"i",(function(){return d})),r.d(e,"f",(function(){return m})),r.d(e,"g",(function(){return p})),r.d(e,"e",(function(){return b})),r.d(e,"h",(function(){return f})),r.d(e,"b",(function(){return h})),r.d(e,"v",(function(){return g})),r.d(e,"u",(function(){return O})),r.d(e,"x",(function(){return j})),r.d(e,"w",(function(){return v})),r.d(e,"y",(function(){return w})),r.d(e,"sb",(function(){return _})),r.d(e,"fb",(function(){return y})),r.d(e,"ob",(function(){return x})),r.d(e,"o",(function(){return S})),r.d(e,"xb",(function(){return k})),r.d(e,"wb",(function(){return T})),r.d(e,"yb",(function(){return C})),r.d(e,"rb",(function(){return D})),r.d(e,"qb",(function(){return P})),r.d(e,"pb",(function(){return z})),r.d(e,"T",(function(){return L})),r.d(e,"tb",(function(){return $})),r.d(e,"R",(function(){return q})),r.d(e,"Q",(function(){return A})),r.d(e,"S",(function(){return N})),r.d(e,"A",(function(){return E})),r.d(e,"z",(function(){return F})),r.d(e,"t",(function(){return I})),r.d(e,"N",(function(){return M})),r.d(e,"P",(function(){return R})),r.d(e,"eb",(function(){return J})),r.d(e,"n",(function(){return B})),r.d(e,"a",(function(){return H})),r.d(e,"l",(function(){return U})),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 it})),r.d(e,"H",(function(){return lt})),r.d(e,"D",(function(){return ct})),r.d(e,"C",(function(){return st})),r.d(e,"G",(function(){return dt})),r.d(e,"F",(function(){return mt})),r.d(e,"E",(function(){return pt})),r.d(e,"I",(function(){return bt})),r.d(e,"L",(function(){return ft})),r.d(e,"K",(function(){return ht})),r.d(e,"J",(function(){return gt})),r.d(e,"M",(function(){return Ot})),r.d(e,"r",(function(){return jt})),r.d(e,"p",(function(){return vt})),r.d(e,"s",(function(){return wt})),r.d(e,"q",(function(){return _t})),r.d(e,"V",(function(){return yt})),r.d(e,"Y",(function(){return xt})),r.d(e,"X",(function(){return St})),r.d(e,"W",(function(){return kt})),r.d(e,"ub",(function(){return Tt}));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 i(t,e){return Object(n["b"])({url:"/withdrawal-net/update",method:"put",params:t,data:e})}function l(t){return Object(n["b"])({url:"/common-dic/index2",method:"get",params:t})}function c(t){return Object(n["b"])({url:"/withdrawal-net/delete",method:"delete",params:t})}function s(t){return Object(n["b"])({url:"/coin/index",method:"get",params:t})}function d(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 p(t){return Object(n["b"])({url:"/coin-recharge-net/delete",method:"delete",params:t})}function b(t){return Object(n["b"])({url:"/coin/net",method:"get",params:t})}function f(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 g(t,e){return Object(n["b"])({url:"/invite-level/update",method:"put",params:t,data:e})}function O(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 w(t){return Object(n["b"])({url:"/invite-profit-static/profit",method:"get",params:t})}function _(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 S(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 T(t){return Object(n["b"])({url:"/withdraw/export",method:"get",responseType:"blob",params:t})}function C(t,e){return Object(n["b"])({url:"/withdraw/update",method:"put",params:t,data:e})}function D(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 z(t){return Object(n["b"])({url:"/wallet/modify-wallet-operate-remark",method:"PATCH",data:t})}function L(t){return Object(n["b"])({url:"/wallet/operate-export",method:"get",responseType:"blob",params:t})}function $(t){return Object(n["b"])({url:"/withdraw/abandon",method:"POST",data:t})}function q(t){return Object(n["b"])({url:"/recharge/confirm",method:"POST",data:t})}function A(t){return Object(n["b"])({url:"/recharge/abandon",method:"POST",data:t})}function N(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 F(t){return Object(n["b"])({url:"/invite-profit-static/change-type",method:"get",params:t})}function I(t){return Object(n["b"])({url:"/futures-order/index",method:"get",params:t})}function M(t){return Object(n["b"])({url:"/futures-order/close",method:"POST",data:t})}function R(t){return Object(n["b"])({url:"/futures-order/cancel-close",method:"POST",data:t})}function J(t){return Object(n["b"])({url:"/coin-control/index",method:"get",params:t})}function B(t,e){return Object(n["b"])({url:"/coin-control/update",method:"put",params:t,data:e})}function H(t){return Object(n["b"])({url:"/coin-control/create",method:"post",data:t})}function U(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 it(t){return Object(n["b"])({url:"/task-member/index",method:"get",params:t})}function lt(t){return Object(n["b"])({url:"/option-order/index",method:"get",params:t})}function ct(t){return Object(n["b"])({url:"/option-coin/index",method:"get",params:t})}function st(t){return Object(n["b"])({url:"/option-coin/coin",method:"get",params:t})}function dt(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 pt(t){return Object(n["b"])({url:"/option-coin/create",method:"post",data:t})}function bt(t){return Object(n["b"])({url:"/option-rule/index",method:"get",params:t})}function ft(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 gt(t){return Object(n["b"])({url:"/option-rule/create",method:"post",data:t})}function Ot(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 wt(t,e){return Object(n["b"])({url:"/footer/update",method:"put",params:t,data:e})}function _t(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 St(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 Tt(t){return Object(n["b"])({url:"/withdraw-account/index",method:"get",params:t})}}}]);