(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ce753"],{6014:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"new-app-container layout-vertical"},[a("YMTableSearch",{attrs:{loading:e.loading,"search-form":e.searchForm},on:{onValueChange:e.onValueChange,submit:e.onSubmit}}),a("YMTable",{ref:"table",attrs:{"table-key":1,index:!0,selection:!1,"table-options":e.tableOptions,"edit-form":e.editForm,"edit-config":e.editConfig,columns:e.columns,"rows-actions":e.rowsActions,"show-summary":!1,apis:e.apis,"custom-style":{height:"calc(100vh - 150px)"}}}),a("Dialog",{ref:"dialog"},[a("template",{slot:"content"})],2)],1)},o=[],l=(a("a9e3"),a("9039")),r=a("7e1e"),i={components:{Dialog:l["a"]},data:function(){var e=this;return{loading:!1,visibleBasicDrawer:!1,renderContent:"",searchForm:[{label:"会员ID",type:"input",prop:"member_id",clearable:!1},{label:"会员昵称",type:"input",prop:"first_name",clearable:!0},{label:"日期",type:"month",format:"yyyy年MM月",prop:"date",clearable:!1}],columns:[{label:"月份",prop:"date"},{label:"会员ID",prop:"member_id",width:120},{label:"会员昵称",popover:!0,width:140,props:["first_name"],options:[{label:"会员ID",value:["member_id"]},{label:"用户名称",value:["username"]},{label:"异常信息",vShow:function(e){return!(null===e||void 0===e||!e.user_admin_note)},value:["user_admin_note"]}]},{label:"充值金额",prop:"recharge_amount"},{label:"提现金额",prop:"withdrawal_amount"},{label:"公司盈亏",method:function(e){return Number(e.recharge_amount)+Number(e.withdrawal_amount)}},{label:"汇率",prop:"backflow_ratio",method:function(e){return 100*e.backflow_ratio+"%"}},{label:"回水金额",prop:"amount"},{label:"状态",prop:"status",method:function(e){return 0===e.status?"未回水":"已回水"}},{label:"返拥时间",prop:"grant_time"}],rowsActions:[{key:"rebate",label:"发放佣金",vIF:function(e){return 0===e.status},method:function(t){e.$confirm("确定发放佣金?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(r["b"])({id:t.id}).then((function(){e.onSubmit(),e.$message({type:"success",message:"操作成功"})}))}))}}],apis:{list:{url:"backflow",dataParam:"data.data",resultParam:"data",init:!1}},tableOptions:{},editForm:[],editConfig:{}}},created:function(){},mounted:function(){this.onSubmit()},methods:{handleSubmit:function(e){console.log("提交数据:",e)},handleClickDrawer:function(e){},onValueChange:function(e){},onSubmit:function(e){this.$refs.table.getList(e)}}},u=i,s=a("2877"),c=Object(s["a"])(u,n,o,!1,null,null,null);t["default"]=c.exports}}]);