chunk-bd3afa98.d27adabe0e4d37fb8b27.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bd3afa98"],{"0ccb":function(t,e,r){var n=r("50c4"),a=r("1148"),o=r("1d80"),u=Math.ceil,c=function(t){return function(e,r,c){var i,l,d=String(o(e)),s=d.length,m=void 0===c?" ":String(c),f=n(r);return f<=s||""==m?d:(i=f-s,l=a.call(m,u(i/m.length)),l.length>i&&(l=l.slice(0,i)),t?d+l:l+d)}};t.exports={start:c(!1),end:c(!0)}},"112d":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:{model:t.searchForm}},[r("el-form-item",[r("div",{staticClass:"itemFrom"},[r("el-input",{attrs:{placeholder:"订单号",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.searchForm.ordernum,callback:function(e){t.$set(t.searchForm,"ordernum",e)},expression:"searchForm.ordernum"}}),r("el-input",{attrs:{placeholder:"用户名称",onkeyup:"this.value=this.value.replace(/[, ]/g,'')"},model:{value:t.searchForm.username,callback:function(e){t.$set(t.searchForm,"username",e)},expression:"searchForm.username"}}),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"}}),r("el-select",{attrs:{clearable:"",placeholder:"币种类型"},model:{value:t.searchForm.coin,callback:function(e){t.$set(t.searchForm,"coin",e)},expression:"searchForm.coin"}},t._l(t.coinList,(function(t){return r("el-option",{key:t.id,attrs:{label:t.currency,value:t.currency}})})),1),r("el-select",{attrs:{clearable:"",placeholder:"从账户类型"},model:{value:t.searchForm.from_wallet_type_id,callback:function(e){t.$set(t.searchForm,"from_wallet_type_id",e)},expression:"searchForm.from_wallet_type_id"}},t._l(t.options,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),r("el-select",{attrs:{clearable:"",placeholder:"到账户类型"},model:{value:t.searchForm.to_wallet_type_id,callback:function(e){t.$set(t.searchForm,"to_wallet_type_id",e)},expression:"searchForm.to_wallet_type_id"}},t._l(t.options,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),r("el-date-picker",{attrs:{type:"daterange","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.time,callback:function(e){t.time=e},expression:"time"}})],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:"inquire",staticStyle:{"margin-left":"30px"}},[r("el-button",{staticClass:"demand",attrs:{type:"primary"},on:{click:t.excel}},[t._v("导出EXCEL")])],1)]),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",height:"600"},on:{"cell-dblclick":t.copyText}},[t._v(" > "),r("el-table-column",{attrs:{prop:"member_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:"from_wallet_type_id",label:"从钱包类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(" "+t._s("1"==e.row.from_wallet_type_id?"现货账户":"2"==e.row.from_wallet_type_id?"合约账户":(e.row.from_wallet_type_id,"交易账户"))+" "),r("span",{staticStyle:{padding:"0 4px"}},[t._v("→")]),t._v(" "+t._s("1"==e.row.to_wallet_type_id?"现货账户":"2"==e.row.to_wallet_type_id?"合约账户":(e.row.to_wallet_type_id,"交易账户"))+" ")])]}}])}),r("el-table-column",{attrs:{prop:"currency",label:"币种"}}),r("el-table-column",{attrs:{prop:"amount",label:"数量"}}),r("el-table-column",{attrs:{prop:"from_balance_before",label:"转出前"}}),r("el-table-column",{attrs:{prop:"from_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=[],o=(r("a9e3"),r("0238")),u=r("f201"),c=r("365c"),i=r("c466"),l=r("ed08"),d={name:"transfer",components:{Paginate:o["a"]},data:function(){return{searchForm:{coin:"",ordernum:"",username:"",member_id:"",from_wallet_type_id:"",to_wallet_type_id:"",start_time:"",end_time:""},coinList:[],options:[{value:"1",label:"现货账户"},{value:"3",label:"交易账户"},{value:"5",label:"外汇"}],time:"",total:0,dataList:[],params:{page:1,page_size:this.$store.state.attr.pageSize},loading:!1}},computed:{},watch:{},mounted:function(){this.finstall(),this.install()},methods:{finstall:function(){var t=this;Object(c["bc"])().then((function(e){t.coinList=e.data.list}))},install:function(){var t=this;this.dataList=[];var e=this.searchForm,r={coin:e.coin,ordernum:e.ordernum,username:e.username,member_id:e.member_id,from_wallet_type_id:e.from_wallet_type_id,to_wallet_type_id:e.to_wallet_type_id,start_time:Number(e.start_time),end_time:Number(e.end_time),page:Number(this.cal.accSub(this.params.page,1)),page_size:this.params.page_size};Object(u["sb"])(r).then((function(e){t.dataList=e.data.list,t.total=parseInt(e.data.listTotalCount),t.loading=!1}))},inquire:function(){console.log(this.time),this.time.length>0?(this.searchForm.start_time=this.cal.accDiv(Date.parse(this.time[0]),1e3),this.searchForm.end_time=this.cal.accDiv(Date.parse(this.time[1]),1e3)):(this.searchForm.start_time="",this.searchForm.end_time=""),this.install()},excel:function(){Object(u["fb"])().then((function(t){Object(l["b"])(t,"划转日志")}))},copyText:function(t,e,r,n){var a=function(t){t.clipboardData.setData("text/plain",n.target.innerText),t.preventDefault()};document.addEventListener("copy",a),document.execCommand("copy"),this.$message({message:"复制成功",type:"success"})},handleCurrentChange:function(t){this.params.page=t,this.install()},handleSizeChange:function(t){this.params.page_size=t,this.install()},timestampToDatetime:function(t){return Object(i["a"])(t,!0)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},s=d,m=(r("dec5"),r("2877")),f=Object(m["a"])(s,n,a,!1,null,"6566bb7c",null);e["default"]=f.exports},1148:function(t,e,r){"use strict";var n=r("a691"),a=r("1d80");t.exports="".repeat||function(t){var e=String(a(this)),r="",o=n(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(r+=e);return r}},"4d63":function(t,e,r){var n=r("83ab"),a=r("da84"),o=r("94ca"),u=r("7156"),c=r("9bf2").f,i=r("241c").f,l=r("44e7"),d=r("ad6d"),s=r("9f7f"),m=r("6eeb"),f=r("d039"),b=r("69f3").set,p=r("2626"),h=r("b622"),g=h("match"),O=a.RegExp,_=O.prototype,v=/a/g,j=/a/g,w=new O(v)!==v,y=s.UNSUPPORTED_Y,x=n&&o("RegExp",!w||y||f((function(){return j[g]=!1,O(v)!=v||O(j)==j||"/a/i"!=O(v,"i")})));if(x){var k=function(t,e){var r,n=this instanceof k,a=l(t),o=void 0===e;if(!n&&a&&t.constructor===k&&o)return t;w?a&&!o&&(t=t.source):t instanceof k&&(o&&(e=d.call(t)),t=t.source),y&&(r=!!e&&e.indexOf("y")>-1,r&&(e=e.replace(/y/g,"")));var c=u(w?new O(t,e):O(t,e),n?this:_,k);return y&&r&&b(c,{sticky:r}),c},S=function(t){t in k||c(k,t,{configurable:!0,get:function(){return O[t]},set:function(e){O[t]=e}})},F=i(O),T=0;while(F.length>T)S(F[T++]);_.constructor=k,k.prototype=_,m(a,"RegExp",k)}p("RegExp")},"4d90":function(t,e,r){"use strict";var n=r("23e7"),a=r("0ccb").start,o=r("9a0c");n({target:"String",proto:!0,forced:o},{padStart:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},"5f61":function(t,e,r){},"9a0c":function(t,e,r){var n=r("342f");t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},dec5:function(t,e,r){"use strict";var n=r("5f61"),a=r.n(n);a.a},ed08:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return o}));r("4160"),r("c975"),r("d3b7"),r("4d63"),r("ac1f"),r("25f0"),r("3ca3"),r("4d90"),r("5319"),r("1276"),r("159b"),r("ddb0"),r("2b3d"),r("53ca");var n=r("5c96");function a(t,e){var r=new Blob([t],{type:"application/vnd.ms-excel;charset=utf-8"}),a=document.createElement("a");a.href=window.URL.createObjectURL(r),a.download=e+".xlsx",a.click(),window.URL.revokeObjectURL(r),Object(n["Message"])({message:"下载成功"})}var o=function(t,e){console.log(t);var r=document.createElement("input");r.value=t,r.readOnly=!0,document.body.appendChild(r),r.select(),r.setSelectionRange(0,r.value.length),document.execCommand("Copy"),document.body.removeChild(r),window.scrollTo(0,0),e instanceof Function&&e()}},f201:function(t,e,r){"use strict";r.d(e,"U",(function(){return a})),r.d(e,"j",(function(){return o})),r.d(e,"zb",(function(){return u})),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 f})),r.d(e,"e",(function(){return b})),r.d(e,"h",(function(){return p})),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 _})),r.d(e,"w",(function(){return v})),r.d(e,"y",(function(){return j})),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 k})),r.d(e,"xb",(function(){return S})),r.d(e,"wb",(function(){return F})),r.d(e,"yb",(function(){return T})),r.d(e,"rb",(function(){return C})),r.d(e,"qb",(function(){return P})),r.d(e,"pb",(function(){return E})),r.d(e,"T",(function(){return D})),r.d(e,"tb",(function(){return L})),r.d(e,"R",(function(){return R})),r.d(e,"Q",(function(){return z})),r.d(e,"S",(function(){return $})),r.d(e,"A",(function(){return U})),r.d(e,"z",(function(){return q})),r.d(e,"t",(function(){return M})),r.d(e,"N",(function(){return N})),r.d(e,"P",(function(){return A})),r.d(e,"eb",(function(){return I})),r.d(e,"n",(function(){return J})),r.d(e,"a",(function(){return B})),r.d(e,"l",(function(){return H})),r.d(e,"d",(function(){return V})),r.d(e,"m",(function(){return W})),r.d(e,"O",(function(){return X})),r.d(e,"ib",(function(){return Y})),r.d(e,"nb",(function(){return G})),r.d(e,"jb",(function(){return K})),r.d(e,"lb",(function(){return Q})),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 ot})),r.d(e,"ab",(function(){return ut})),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 ft})),r.d(e,"I",(function(){return bt})),r.d(e,"L",(function(){return pt})),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 _t})),r.d(e,"p",(function(){return vt})),r.d(e,"s",(function(){return jt})),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 kt})),r.d(e,"W",(function(){return St})),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 o(t){return Object(n["b"])({url:"/withdrawal-net/index",method:"get",params:t})}function u(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 f(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 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 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 _(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 j(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 k(t){return Object(n["b"])({url:"/wallet/flash-exchange-export",method:"get",responseType:"blob",params:t})}function S(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 T(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 E(t){return Object(n["b"])({url:"/wallet/modify-wallet-operate-remark",method:"PATCH",data:t})}function D(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 R(t){return Object(n["b"])({url:"/recharge/confirm",method:"POST",data:t})}function z(t){return Object(n["b"])({url:"/recharge/abandon",method:"POST",data:t})}function $(t){return Object(n["b"])({url:"/recharge/export",method:"get",responseType:"blob",params:t})}function U(t){return Object(n["b"])({url:"/invite-profit-static/log",method:"get",params:t})}function q(t){return Object(n["b"])({url:"/invite-profit-static/change-type",method:"get",params:t})}function M(t){return Object(n["b"])({url:"/futures-order/index",method:"get",params:t})}function N(t){return Object(n["b"])({url:"/futures-order/close",method:"POST",data:t})}function A(t){return Object(n["b"])({url:"/futures-order/cancel-close",method:"POST",data:t})}function I(t){return Object(n["b"])({url:"/coin-control/index",method:"get",params:t})}function J(t,e){return Object(n["b"])({url:"/coin-control/update",method:"put",params:t,data:e})}function B(t){return Object(n["b"])({url:"/coin-control/create",method:"post",data:t})}function H(t,e){return Object(n["b"])({url:"/coin-control/delete",method:"DELETE",params:t,data:e})}function V(t){return Object(n["b"])({url:"/coin-control/coin",method:"get",params:t})}function W(t){return Object(n["b"])({url:"/futures-order/close-fee",method:"get",params:t})}function X(t){return Object(n["b"])({url:"/futures-order/close-all",method:"POST",params:t})}function Y(t){return Object(n["b"])({url:"/tutorial/index",method:"get",params:t})}function G(t){return Object(n["b"])({url:"/tutorial-type/index",method:"get",params:t})}function K(t){return Object(n["b"])({url:"/tutorial-type/create",method:"POST",data:t})}function Q(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 ot(t){return Object(n["b"])({url:"/task/create",method:"POST",data:t})}function ut(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 ft(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 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 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 _t(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 jt(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 kt(t){return Object(n["b"])({url:"/spread-level/delete",method:"delete",params:t})}function St(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})}}}]);