| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3e95f5bd"],{"0673":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"searchForm"},[n("div",{staticClass:"leftFrom"},[n("el-form",{ref:"searchForm",attrs:{model:t.searchForm,"label-width":"200px"}},[n("el-form-item",[n("div",{staticClass:"itemFrom"},[n("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"}}),n("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"}}),n("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"}}),n("el-select",{attrs:{clearable:"",placeholder:"兑换类型"},model:{value:t.searchForm.from_coin,callback:function(e){t.$set(t.searchForm,"from_coin",e)},expression:"searchForm.from_coin"}},t._l(t.coinList,(function(t){return n("el-option",{key:t.id,attrs:{label:t.currency,value:t.currency}})})),1),n("el-select",{attrs:{clearable:"",placeholder:"获得类型"},model:{value:t.searchForm.to_coin,callback:function(e){t.$set(t.searchForm,"to_coin",e)},expression:"searchForm.to_coin"}},t._l(t.coinList,(function(t){return n("el-option",{key:t.id,attrs:{label:t.currency,value:t.currency}})})),1),n("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),n("div",{staticClass:"inquire"},[n("el-button",{staticClass:"demand",attrs:{type:"primary"},on:{click:t.inquire}},[t._v("查询")])],1),n("div",{staticClass:"inquire",staticStyle:{"margin-left":"30px"}},[n("el-button",{staticClass:"demand",attrs:{type:"primary"},on:{click:t.excel}},[t._v("导出EXCEL")])],1)]),n("div",[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.dataList,border:"","cell-style":{textAlign:"center"},"header-cell-style":{textAlign:"center"},"min-height":"150",height:"600"}},[t._v(" > "),n("el-table-column",{attrs:{prop:"username",label:"用户名称"}}),n("el-table-column",{attrs:{prop:"ordernum",label:"订单号"}}),n("el-table-column",{attrs:{prop:"from_coin",label:"从币种"}}),n("el-table-column",{attrs:{prop:"to_coin",label:"到币种"}}),n("el-table-column",{attrs:{prop:"amount",label:"支出"}}),n("el-table-column",{attrs:{prop:"amount_in",label:"获得"}}),n("el-table-column",{attrs:{prop:"real_amount_in",label:"真实到账"}}),n("el-table-column",{attrs:{prop:"from_balance_after",label:"交易后余额"}}),n("el-table-column",{attrs:{prop:"from_balance_before",label:"交易前余额"}}),n("el-table-column",{attrs:{prop:"created_at",label:"交易时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v(" "+t._s(t.timestampToDatetime(e.row.created_at))+" ")])]}}])}),n("el-table-column",{attrs:{prop:"fee",label:"手续费"}})],1),n("Paginate",{attrs:{page:t.params.page,total:t.total},on:{currentChange:t.handleCurrentChange,sizeChange:t.handleSizeChange}})],1)])},o=[],a=(n("a9e3"),n("0238")),u=n("f201"),c=n("365c"),i=n("c466"),l=n("ed08"),d={name:"flashcash",components:{Paginate:a["a"]},data:function(){return{searchForm:{ordernum:"",member_id:"",username:"",from_coin:"",to_coin:"",start_time:"",end_time:""},coinList:[],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){console.log("icon",e.data.list),t.coinList=e.data.list}))},install:function(){var t=this,e=this.searchForm,n={ordernum:e.ordernum,member_id:e.member_id,username:e.username,from_coin:e.from_coin,to_coin:e.to_coin,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,is_faker:1};Object(u["ob"])(n).then((function(e){console.log(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["o"])().then((function(t){Object(l["b"])(t,"闪兑日志")}))},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=(n("30da"),n("2877")),f=Object(m["a"])(s,r,o,!1,null,"e5dd3b76",null);e["default"]=f.exports},"0ccb":function(t,e,n){var r=n("50c4"),o=n("1148"),a=n("1d80"),u=Math.ceil,c=function(t){return function(e,n,c){var i,l,d=String(a(e)),s=d.length,m=void 0===c?" ":String(c),f=r(n);return f<=s||""==m?d:(i=f-s,l=o.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)}},1148:function(t,e,n){"use strict";var r=n("a691"),o=n("1d80");t.exports="".repeat||function(t){var e=String(o(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},"30da":function(t,e,n){"use strict";var r=n("86d2"),o=n.n(r);o.a},"4d63":function(t,e,n){var r=n("83ab"),o=n("da84"),a=n("94ca"),u=n("7156"),c=n("9bf2").f,i=n("241c").f,l=n("44e7"),d=n("ad6d"),s=n("9f7f"),m=n("6eeb"),f=n("d039"),b=n("69f3").set,p=n("2626"),h=n("b622"),g=h("match"),O=o.RegExp,j=O.prototype,v=/a/g,_=/a/g,w=new O(v)!==v,x=s.UNSUPPORTED_Y,y=r&&a("RegExp",!w||x||f((function(){return _[g]=!1,O(v)!=v||O(_)==_||"/a/i"!=O(v,"i")})));if(y){var k=function(t,e){var n,r=this instanceof k,o=l(t),a=void 0===e;if(!r&&o&&t.constructor===k&&a)return t;w?o&&!a&&(t=t.source):t instanceof k&&(a&&(e=d.call(t)),t=t.source),x&&(n=!!e&&e.indexOf("y")>-1,n&&(e=e.replace(/y/g,"")));var c=u(w?new O(t,e):O(t,e),r?this:j,k);return x&&n&&b(c,{sticky:n}),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++]);j.constructor=k,k.prototype=j,m(o,"RegExp",k)}p("RegExp")},"4d90":function(t,e,n){"use strict";var r=n("23e7"),o=n("0ccb").start,a=n("9a0c");r({target:"String",proto:!0,forced:a},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"86d2":function(t,e,n){},"9a0c":function(t,e,n){var r=n("342f");t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},ed08:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));n("4160"),n("c975"),n("d3b7"),n("4d63"),n("ac1f"),n("25f0"),n("3ca3"),n("4d90"),n("5319"),n("1276"),n("159b"),n("ddb0"),n("2b3d"),n("53ca");var r=n("5c96");function o(t,e){var n=new Blob([t],{type:"application/vnd.ms-excel;charset=utf-8"}),o=document.createElement("a");o.href=window.URL.createObjectURL(n),o.download=e+".xlsx",o.click(),window.URL.revokeObjectURL(n),Object(r["Message"])({message:"下载成功"})}var a=function(t,e){console.log(t);var n=document.createElement("input");n.value=t,n.readOnly=!0,document.body.appendChild(n),n.select(),n.setSelectionRange(0,n.value.length),document.execCommand("Copy"),document.body.removeChild(n),window.scrollTo(0,0),e instanceof Function&&e()}},f201:function(t,e,n){"use strict";n.d(e,"U",(function(){return o})),n.d(e,"j",(function(){return a})),n.d(e,"zb",(function(){return u})),n.d(e,"B",(function(){return c})),n.d(e,"k",(function(){return i})),n.d(e,"vb",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"i",(function(){return s})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return f})),n.d(e,"e",(function(){return b})),n.d(e,"h",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"v",(function(){return g})),n.d(e,"u",(function(){return O})),n.d(e,"x",(function(){return j})),n.d(e,"w",(function(){return v})),n.d(e,"y",(function(){return _})),n.d(e,"sb",(function(){return w})),n.d(e,"fb",(function(){return x})),n.d(e,"ob",(function(){return y})),n.d(e,"o",(function(){return k})),n.d(e,"xb",(function(){return S})),n.d(e,"wb",(function(){return F})),n.d(e,"yb",(function(){return T})),n.d(e,"rb",(function(){return C})),n.d(e,"qb",(function(){return P})),n.d(e,"pb",(function(){return E})),n.d(e,"T",(function(){return L})),n.d(e,"tb",(function(){return R})),n.d(e,"R",(function(){return D})),n.d(e,"Q",(function(){return z})),n.d(e,"S",(function(){return U})),n.d(e,"A",(function(){return $})),n.d(e,"z",(function(){return q})),n.d(e,"t",(function(){return M})),n.d(e,"N",(function(){return N})),n.d(e,"P",(function(){return A})),n.d(e,"eb",(function(){return I})),n.d(e,"n",(function(){return J})),n.d(e,"a",(function(){return B})),n.d(e,"l",(function(){return H})),n.d(e,"d",(function(){return V})),n.d(e,"m",(function(){return W})),n.d(e,"O",(function(){return X})),n.d(e,"ib",(function(){return Y})),n.d(e,"nb",(function(){return G})),n.d(e,"jb",(function(){return K})),n.d(e,"lb",(function(){return Q})),n.d(e,"kb",(function(){return Z})),n.d(e,"gb",(function(){return tt})),n.d(e,"mb",(function(){return et})),n.d(e,"hb",(function(){return nt})),n.d(e,"db",(function(){return rt})),n.d(e,"cb",(function(){return ot})),n.d(e,"Z",(function(){return at})),n.d(e,"ab",(function(){return ut})),n.d(e,"bb",(function(){return ct})),n.d(e,"H",(function(){return it})),n.d(e,"D",(function(){return lt})),n.d(e,"C",(function(){return dt})),n.d(e,"G",(function(){return st})),n.d(e,"F",(function(){return mt})),n.d(e,"E",(function(){return ft})),n.d(e,"I",(function(){return bt})),n.d(e,"L",(function(){return pt})),n.d(e,"K",(function(){return ht})),n.d(e,"J",(function(){return gt})),n.d(e,"M",(function(){return Ot})),n.d(e,"r",(function(){return jt})),n.d(e,"p",(function(){return vt})),n.d(e,"s",(function(){return _t})),n.d(e,"q",(function(){return wt})),n.d(e,"V",(function(){return xt})),n.d(e,"Y",(function(){return yt})),n.d(e,"X",(function(){return kt})),n.d(e,"W",(function(){return St})),n.d(e,"ub",(function(){return Ft}));var r=n("b775");function o(t){return Object(r["b"])({url:"/common-dic/update2",method:"POST",data:t})}function a(t){return Object(r["b"])({url:"/withdrawal-net/index",method:"get",params:t})}function u(t){return Object(r["b"])({url:"/withdrawal-net/create",method:"POST",data:t})}function c(t,e){return Object(r["b"])({url:"/withdrawal-net/update",method:"put",params:t,data:e})}function i(t){return Object(r["b"])({url:"/common-dic/index2",method:"get",params:t})}function l(t){return Object(r["b"])({url:"/withdrawal-net/delete",method:"delete",params:t})}function d(t){return Object(r["b"])({url:"/coin/index",method:"get",params:t})}function s(t,e){return Object(r["b"])({url:"/coin/update",method:"put",params:t,data:e})}function m(t){return Object(r["b"])({url:"/coin-recharge-net",method:"get",params:t})}function f(t){return Object(r["b"])({url:"/coin-recharge-net/delete",method:"delete",params:t})}function b(t){return Object(r["b"])({url:"/coin/net",method:"get",params:t})}function p(t){return Object(r["b"])({url:"/coin-recharge-net/create",method:"POST",data:t})}function h(t){return Object(r["b"])({url:"/invite-level/index",method:"get",params:t})}function g(t,e){return Object(r["b"])({url:"/invite-level/update",method:"put",params:t,data:e})}function O(t){return Object(r["b"])({url:"/invite-level/create",method:"POST",data:t})}function j(t){return Object(r["b"])({url:"/invite-profit-static/index",method:"get",params:t})}function v(t){return Object(r["b"])({url:"/invite-profit-static/detail",method:"get",params:t})}function _(t){return Object(r["b"])({url:"/invite-profit-static/profit",method:"get",params:t})}function w(t){return Object(r["b"])({url:"/wallet/transfer-log",method:"get",params:t})}function x(t){return Object(r["b"])({url:"/wallet/transfer-export",method:"get",responseType:"blob",params:t})}function y(t){return Object(r["b"])({url:"/wallet/flash-exchange-log",method:"get",params:t})}function k(t){return Object(r["b"])({url:"/wallet/flash-exchange-export",method:"get",responseType:"blob",params:t})}function S(t){return Object(r["b"])({url:"/withdraw/index",method:"get",params:t})}function F(t){return Object(r["b"])({url:"/withdraw/export",method:"get",responseType:"blob",params:t})}function T(t,e){return Object(r["b"])({url:"/withdraw/update",method:"put",params:t,data:e})}function C(t){return Object(r["b"])({url:"/wallet/operate-log",method:"get",params:t})}function P(t){return Object(r["b"])({url:"/wallet/operate",method:"POST",data:t})}function E(t){return Object(r["b"])({url:"/wallet/modify-wallet-operate-remark",method:"PATCH",data:t})}function L(t){return Object(r["b"])({url:"/wallet/operate-export",method:"get",responseType:"blob",params:t})}function R(t){return Object(r["b"])({url:"/withdraw/abandon",method:"POST",data:t})}function D(t){return Object(r["b"])({url:"/recharge/confirm",method:"POST",data:t})}function z(t){return Object(r["b"])({url:"/recharge/abandon",method:"POST",data:t})}function U(t){return Object(r["b"])({url:"/recharge/export",method:"get",responseType:"blob",params:t})}function $(t){return Object(r["b"])({url:"/invite-profit-static/log",method:"get",params:t})}function q(t){return Object(r["b"])({url:"/invite-profit-static/change-type",method:"get",params:t})}function M(t){return Object(r["b"])({url:"/futures-order/index",method:"get",params:t})}function N(t){return Object(r["b"])({url:"/futures-order/close",method:"POST",data:t})}function A(t){return Object(r["b"])({url:"/futures-order/cancel-close",method:"POST",data:t})}function I(t){return Object(r["b"])({url:"/coin-control/index",method:"get",params:t})}function J(t,e){return Object(r["b"])({url:"/coin-control/update",method:"put",params:t,data:e})}function B(t){return Object(r["b"])({url:"/coin-control/create",method:"post",data:t})}function H(t,e){return Object(r["b"])({url:"/coin-control/delete",method:"DELETE",params:t,data:e})}function V(t){return Object(r["b"])({url:"/coin-control/coin",method:"get",params:t})}function W(t){return Object(r["b"])({url:"/futures-order/close-fee",method:"get",params:t})}function X(t){return Object(r["b"])({url:"/futures-order/close-all",method:"POST",params:t})}function Y(t){return Object(r["b"])({url:"/tutorial/index",method:"get",params:t})}function G(t){return Object(r["b"])({url:"/tutorial-type/index",method:"get",params:t})}function K(t){return Object(r["b"])({url:"/tutorial-type/create",method:"POST",data:t})}function Q(t,e){return Object(r["b"])({url:"/tutorial-type/update",method:"put",params:t,data:e})}function Z(t){return Object(r["b"])({url:"/tutorial-type/delete",method:"delete",params:t})}function tt(t){return Object(r["b"])({url:"/tutorial/create",method:"POST",data:t})}function et(t,e){return Object(r["b"])({url:"/tutorial/update",method:"put",params:t,data:e})}function nt(t){return Object(r["b"])({url:"/tutorial/delete",method:"delete",params:t})}function rt(t){return Object(r["b"])({url:"/task/index",method:"get",params:t})}function ot(t,e){return Object(r["b"])({url:"/task/update",method:"put",params:t,data:e})}function at(t){return Object(r["b"])({url:"/task/create",method:"POST",data:t})}function ut(t){return Object(r["b"])({url:"/task/delete",method:"delete",params:t})}function ct(t){return Object(r["b"])({url:"/task-member/index",method:"get",params:t})}function it(t){return Object(r["b"])({url:"/option-order/index",method:"get",params:t})}function lt(t){return Object(r["b"])({url:"/option-coin/index",method:"get",params:t})}function dt(t){return Object(r["b"])({url:"/option-coin/coin",method:"get",params:t})}function st(t,e){return Object(r["b"])({url:"/option-coin/update",method:"put",params:t,data:e})}function mt(t){return Object(r["b"])({url:"/option-coin/delete",method:"delete",params:t})}function ft(t){return Object(r["b"])({url:"/option-coin/create",method:"post",data:t})}function bt(t){return Object(r["b"])({url:"/option-rule/index",method:"get",params:t})}function pt(t,e){return Object(r["b"])({url:"/option-rule/update",method:"put",params:t,data:e})}function ht(t){return Object(r["b"])({url:"/option-rule/delete",method:"delete",params:t})}function gt(t){return Object(r["b"])({url:"/option-rule/create",method:"post",data:t})}function Ot(t){return Object(r["b"])({url:"/option-order/statistics",method:"get"})}function jt(t){return Object(r["b"])({url:"/footer/index",method:"get",params:t})}function vt(t){return Object(r["b"])({url:"/footer/create",method:"post",data:t})}function _t(t,e){return Object(r["b"])({url:"/footer/update",method:"put",params:t,data:e})}function wt(t){return Object(r["b"])({url:"/footer/delete",method:"delete",params:t})}function xt(t){return Object(r["b"])({url:"/spread-level/index",method:"get",params:t})}function yt(t,e){return Object(r["b"])({url:"/spread-level/update",method:"put",params:t,data:e})}function kt(t){return Object(r["b"])({url:"/spread-level/delete",method:"delete",params:t})}function St(t){return Object(r["b"])({url:"/spread-level/create",method:"post",data:t})}function Ft(t){return Object(r["b"])({url:"/withdraw-account/index",method:"get",params:t})}}}]);
|