(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["applyWithdrawal"],{"270f":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[n("div",[t._m(0),n("div",{staticClass:"tableStyle"},[n("a-table",{attrs:{columns:t.columns,"data-source":t.tabledData,pagination:!1,loading:t.tableLoading,"row-key":function(t){return t.id},"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onChange},bordered:""},scopedSlots:t._u([{key:"status",fn:function(e,a){return n("span",{},[0==e?n("a-badge",{attrs:{color:"#67C23A"}}):t._e(),1==e?n("a-badge",{attrs:{color:"#108ee9"}}):2==e?n("a-badge",{attrs:{color:"#F56C6C"}}):t._e(),n("span",[t._v(t._s(0==a.status?"可提现":2==a.status?"提现中":2==a.status?"已提现":"--"))])],1)}}])}),n("div",{staticClass:"btn"},[n("a-button",{staticClass:"margin_right10",on:{click:function(){return t.$router.go(-1)}}},[t._v("取消")]),n("a-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("确定")])],1)],1)]),n("router-view")],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header"},[n("div",{staticClass:"title"},[t._v("提现")])])}],o=n("f64c"),s=n("ed3b"),i=n("81c8"),c={created:function(){this.candListFn()},data:function(){return{tableLoading:!0,selectedRowKeys:[],columns:[{title:"时间",dataIndex:"datetime",width:"33.3%",key:"datetime"},{title:"金额",dataIndex:"amount",width:"33.3%",key:"amount"},{title:"状态",dataIndex:"status",width:"33.3%",key:"status",scopedSlots:{customRender:"status"}}],tabledData:[]}},methods:{onChange:function(t){this.selectedRowKeys=t},candListFn:function(){var t=this;Object(i["d"])().then((function(e){var n=e.code,a=e.data;200===n?(t.tableLoading=!1,t.tabledData=a):t.tableLoading=!1}))},onSubmit:function(){var t=this;if(this.selectedRowKeys.length<1)return o["a"].error("请选择要提现的数据"),!1;s["a"].confirm({title:"确定后将发起提现请求",okText:"确定",okType:"primary",cancelText:"取消",onOk:function(){Object(i["b"])({ids:t.selectedRowKeys}).then((function(e){200===e.code&&(t.selectedRowKeys=[],t.tabledData=[],t.tableLoading=!0,o["a"].success("已申请提现!请耐心等待"),t.candListFn())}))}})}}},d=c,u=(n("a722"),n("2877")),l=Object(u["a"])(d,a,r,!1,null,"261def0c",null);e["default"]=l.exports},"3c76":function(t,e,n){},"81c8":function(t,e,n){"use strict";n.d(e,"h",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"i",(function(){return d})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return l})),n.d(e,"j",(function(){return f})),n.d(e,"g",(function(){return p}));var a=n("284b"),r=function(t){return a["a"].post("/agent/admin/order/orderlist",t)},o=function(t){return a["a"].post("/agent/admin/proceeds/candrawcashlist",t)},s=function(t){return a["a"].post("/agent/admin/proceeds/applydrawcash",t)},i=function(t){return a["a"].post("/agent/admin/proceeds/applydrawcashlist",t)},c=function(t){return a["a"].post("/agent/admin/proceeds/agreeapply",t)},d=function(t){return a["a"].post("/agent/admin/proceeds/refuseapply",t)},u=function(t){return a["a"].post("/agent/admin/proceeds/drawcashrecord",t)},l=function(t){return a["a"].post("/agent/admin/order/exportorder",t)},f=function(t){return a["a"].post("/agent/admin/order/someonorders",t)},p=function(t){return a["a"].post("/agent/admin/order/oldorderlist",t)}},a722:function(t,e,n){"use strict";n("3c76")}}]); //# sourceMappingURL=applyWithdrawal.5078f7d8.js.map