chunk-04200bf1.d27adabe0e4d37fb8b27.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04200bf1"],{"3b82":function(t,e,r){},"894f":function(t,e,r){"use strict";var n=r("3b82"),u=r.n(n);u.a},d853: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:"header"},[r("div",{staticClass:"headerName"},[t._v("用户名称:"),r("span",[t._v(t._s(t.dataList.username))])]),r("div",{staticClass:"headerName"},[t._v("资产折合USDT:"),r("span",[t._v(t._s(t.dataList.to_usdt_total))]),t._v("("+t._s(t.dataList.to_cny_total)+" RMB)")])]),r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.dataList.wallets,border:"","cell-style":{textAlign:"center"},"header-cell-style":{textAlign:"center"},"min-height":"150"}},[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===this.$store.state.user.token.employee.role_id||2===this.$store.state.user.token.employee.role_id||44===this.$store.state.user.token.employee.role_id||44===this.$store.state.user.token.employee.role_id?r("el-table-column",{attrs:{label:"操作",width:"150px"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"handleIcon"},[r("el-button",{staticClass:"adjust",attrs:{type:"primary"},on:{click:function(r){return t.adjustclick(e.row)}}},[t._v("调节账户")])],1)]}}],null,!1,1780163048)}):t._e()],1),r("el-dialog",{attrs:{title:"调节钱包",visible:t.adjustPopup,width:"60%","before-close":t.adjusteClose},on:{"update:visible":function(e){t.adjustPopup=e}}},[r("div",{staticClass:"adjustdetails"},[r("el-form",{ref:"adjustFrom",attrs:{rules:t.rules,model:t.adjustFrom,"label-width":"140px"}},[r("el-form-item",{attrs:{label:"调节账户名:"}},[r("div",{staticClass:"name"},[t._v(" "+t._s(t.dataList.username)+" ")])]),r("el-form-item",{attrs:{label:"调节币种:"}},[r("div",{staticClass:"name"},[t._v(t._s(t.adjustFrom.currency))])]),r("el-form-item",{attrs:{label:"调节钱包:",prop:"wallet_type_id"}},[r("el-select",{attrs:{clearable:"",placeholder:"请选择钱包类型"},model:{value:t.adjustFrom.wallet_type_id,callback:function(e){t.$set(t.adjustFrom,"wallet_type_id",e)},expression:"adjustFrom.wallet_type_id"}},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:"调节类型:",prop:"operate_type"}},[r("el-radio",{attrs:{label:"add"},model:{value:t.adjustFrom.operate_type,callback:function(e){t.$set(t.adjustFrom,"operate_type",e)},expression:"adjustFrom.operate_type"}},[t._v("加款")]),r("el-radio",{attrs:{label:"sub"},model:{value:t.adjustFrom.operate_type,callback:function(e){t.$set(t.adjustFrom,"operate_type",e)},expression:"adjustFrom.operate_type"}},[t._v("减款")])],1),r("el-form-item",{attrs:{label:"变动类型:",prop:"change_type"}},[r("el-select",{attrs:{clearable:"",placeholder:"请选择变动类型"},model:{value:t.adjustFrom.change_type,callback:function(e){t.$set(t.adjustFrom,"change_type",e)},expression:"adjustFrom.change_type"}},t._l(t.changeTypes,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),r("el-form-item",{attrs:{label:"调节值:",prop:"amount"}},[r("el-input",{attrs:{type:"number",placeholder:"请输入调节值","οninput":"value=value.replace(/[^0-9]/g,'')"},on:{wheel:t.disableWheel},model:{value:t.adjustFrom.amount,callback:function(e){t.$set(t.adjustFrom,"amount",e)},expression:"adjustFrom.amount"}})],1),r("el-form-item",{attrs:{label:"调节备注:"}},[r("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入备注"},model:{value:t.adjustFrom.remark,callback:function(e){t.$set(t.adjustFrom,"remark",e)},expression:"adjustFrom.remark"}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(e){t.adjustPopup=!1}}},[t._v("取 消")]),r("el-button",{attrs:{type:"primary"},on:{click:t.adjustSubmit}},[t._v("确 定")])],1)])],1)},u=[],a=r("365c"),o=r("f201"),c={name:"meberPurse",components:{},data:function(){return{can_click:!0,id:"",dataList:{},adjustFrom:{change_type:"",currency:"",wallet_type_id:"",operate_type:"add",amount:"",remark:"",id:""},changeTypes:[{value:"system",label:"人工充值"},{value:"give",label:"彩金赠送"}],adjustPopup:!1,options:[{value:"1",label:"资金账户"}],rules:{wallet_type_id:[{required:!0,message:"请选择钱包类型",trigger:"change"}],operate_type:[{required:!0,message:"请选择调节类型",trigger:"change"}],change_type:[{required:!0,message:"请选择变动类型",trigger:"change"}],amount:[{required:!0,message:"请输入调节值",trigger:"blur"}]}}},computed:{},watch:{"djustFrom.amount":function(t,e){console("watch",t,e)}},mounted:function(){this.$route.query.id&&(this.id=this.$route.query.id),this.install()},methods:{install:function(){var t=this,e={id:this.id};Object(a["rc"])(e).then((function(e){t.dataList=e.data,console.log("详情",e)}))},adjustclick:function(t){this.adjustFrom=t,this.adjustFrom.id=this.id,this.adjustPopup=!0},adjusteClose:function(){this.adjustPopup=!1},adjustSubmit:function(){var t=this;if(this.can_click){this.can_click=!1,console.log("提交参数",this.adjustFrom);var e=this.adjustFrom,r={member_id:e.id,change_type:e.change_type,coin:e.currency,wallet_type_id:e.wallet_type_id,operate_type:e.operate_type,amount:e.amount,remark:e.remark},n=this;n.$refs["adjustFrom"].validate((function(e,u){e?Object(o["qb"])(r).then((function(e){t.can_click=!0,200===e.code?(n.$message.success(e.message),n.adjusteClose(),n.install(),n.editorClose()):n.$message.error(e.message)})):console.log("nihjao")}))}else this.$message.error("请勿重复点击")},disableWheel:function(t){return t=t||window.event,t.preventDefault?(t.preventDefault(),t.stopPropagation()):(t.cancelBubble=!0,t.returnValue=!1),!1}},beforeCreate:function(){},created:function(){},beforeMount:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}},i=c,l=(r("894f"),r("2877")),d=Object(l["a"])(i,n,u,!1,null,"610b8670",null);e["default"]=d.exports},f201:function(t,e,r){"use strict";r.d(e,"U",(function(){return u})),r.d(e,"j",(function(){return a})),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 b})),r.d(e,"g",(function(){return m})),r.d(e,"e",(function(){return p})),r.d(e,"h",(function(){return f})),r.d(e,"b",(function(){return h})),r.d(e,"v",(function(){return j})),r.d(e,"u",(function(){return O})),r.d(e,"x",(function(){return g})),r.d(e,"w",(function(){return _})),r.d(e,"y",(function(){return v})),r.d(e,"sb",(function(){return y})),r.d(e,"fb",(function(){return w})),r.d(e,"ob",(function(){return x})),r.d(e,"o",(function(){return k})),r.d(e,"xb",(function(){return F})),r.d(e,"wb",(function(){return T})),r.d(e,"yb",(function(){return P})),r.d(e,"rb",(function(){return S})),r.d(e,"qb",(function(){return $})),r.d(e,"pb",(function(){return C})),r.d(e,"T",(function(){return q})),r.d(e,"tb",(function(){return L})),r.d(e,"R",(function(){return D})),r.d(e,"Q",(function(){return z})),r.d(e,"S",(function(){return E})),r.d(e,"A",(function(){return A})),r.d(e,"z",(function(){return B})),r.d(e,"t",(function(){return J})),r.d(e,"N",(function(){return M})),r.d(e,"P",(function(){return N})),r.d(e,"eb",(function(){return U})),r.d(e,"n",(function(){return W})),r.d(e,"a",(function(){return H})),r.d(e,"l",(function(){return I})),r.d(e,"d",(function(){return R})),r.d(e,"m",(function(){return V})),r.d(e,"O",(function(){return G})),r.d(e,"ib",(function(){return K})),r.d(e,"nb",(function(){return Q})),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 ut})),r.d(e,"Z",(function(){return at})),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 bt})),r.d(e,"E",(function(){return mt})),r.d(e,"I",(function(){return pt})),r.d(e,"L",(function(){return ft})),r.d(e,"K",(function(){return ht})),r.d(e,"J",(function(){return jt})),r.d(e,"M",(function(){return Ot})),r.d(e,"r",(function(){return gt})),r.d(e,"p",(function(){return _t})),r.d(e,"s",(function(){return vt})),r.d(e,"q",(function(){return yt})),r.d(e,"V",(function(){return wt})),r.d(e,"Y",(function(){return xt})),r.d(e,"X",(function(){return kt})),r.d(e,"W",(function(){return Ft})),r.d(e,"ub",(function(){return Tt}));var n=r("b775");function u(t){return Object(n["b"])({url:"/common-dic/update2",method:"POST",data:t})}function a(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 b(t){return Object(n["b"])({url:"/coin-recharge-net",method:"get",params:t})}function m(t){return Object(n["b"])({url:"/coin-recharge-net/delete",method:"delete",params:t})}function p(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 j(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 g(t){return Object(n["b"])({url:"/invite-profit-static/index",method:"get",params:t})}function _(t){return Object(n["b"])({url:"/invite-profit-static/detail",method:"get",params:t})}function v(t){return Object(n["b"])({url:"/invite-profit-static/profit",method:"get",params:t})}function y(t){return Object(n["b"])({url:"/wallet/transfer-log",method:"get",params:t})}function w(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 F(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 P(t,e){return Object(n["b"])({url:"/withdraw/update",method:"put",params:t,data:e})}function S(t){return Object(n["b"])({url:"/wallet/operate-log",method:"get",params:t})}function $(t){return Object(n["b"])({url:"/wallet/operate",method:"POST",data:t})}function C(t){return Object(n["b"])({url:"/wallet/modify-wallet-operate-remark",method:"PATCH",data:t})}function q(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 D(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 E(t){return Object(n["b"])({url:"/recharge/export",method:"get",responseType:"blob",params:t})}function A(t){return Object(n["b"])({url:"/invite-profit-static/log",method:"get",params:t})}function B(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 M(t){return Object(n["b"])({url:"/futures-order/close",method:"POST",data:t})}function N(t){return Object(n["b"])({url:"/futures-order/cancel-close",method:"POST",data:t})}function U(t){return Object(n["b"])({url:"/coin-control/index",method:"get",params:t})}function W(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 I(t,e){return Object(n["b"])({url:"/coin-control/delete",method:"DELETE",params:t,data:e})}function R(t){return Object(n["b"])({url:"/coin-control/coin",method:"get",params:t})}function V(t){return Object(n["b"])({url:"/futures-order/close-fee",method:"get",params:t})}function G(t){return Object(n["b"])({url:"/futures-order/close-all",method:"POST",params:t})}function K(t){return Object(n["b"])({url:"/tutorial/index",method:"get",params:t})}function Q(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 ut(t,e){return Object(n["b"])({url:"/task/update",method:"put",params:t,data:e})}function at(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 bt(t){return Object(n["b"])({url:"/option-coin/delete",method:"delete",params:t})}function mt(t){return Object(n["b"])({url:"/option-coin/create",method:"post",data:t})}function pt(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 jt(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 gt(t){return Object(n["b"])({url:"/footer/index",method:"get",params:t})}function _t(t){return Object(n["b"])({url:"/footer/create",method:"post",data:t})}function vt(t,e){return Object(n["b"])({url:"/footer/update",method:"put",params:t,data:e})}function yt(t){return Object(n["b"])({url:"/footer/delete",method:"delete",params:t})}function wt(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 Ft(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})}}}]);