(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-63567c92"],{"15a7":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:"app-container"},[n("el-row",{staticClass:"ao-el-row"},[n("el-input",{staticStyle:{width:"50%","min-width":"200px"},attrs:{placeholder:"请输入手机号码或账号"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}},[n("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.search},slot:"append"})],1)],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{"margin-top":"16px"},attrs:{data:t.list,"element-loading-text":"加载中",border:""}},[n("el-table-column",{attrs:{label:"操作",align:"center",fixed:"left",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(n){return t.del(e.$index)}}},[t._v("删除")])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"id",label:"编号",width:"60"}}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"username",label:"代理账号",width:"200"}}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"phone",label:"电话",width:"120"}}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"address",label:"提现地址",width:"300"}}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"money",label:"提现金额",width:"120"}}),t._v(" "),n("el-table-column",{attrs:{label:"是否审核",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#aaaaaa"},on:{change:function(n){return t.switchChange(e.$index)}},model:{value:e.row.is_lock_checked,callback:function(n){t.$set(e.row,"is_lock_checked",n)},expression:"scope.row.is_lock_checked"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"time",label:"申请时间"}})],1),t._v(" "),n("el-pagination",{attrs:{"current-page":t.page,"page-sizes":[10,20,50,100],"page-size":t.limit,total:t.total,layout:t.layout},on:{"size-change":t.sizeChange,"current-change":t.currentChange}})],1)},i=[],l=(n("ac6a"),n("bbbc")),o={data:function(){return{page:1,limit:10,layout:"total, sizes, prev, pager, next, jumper",total:0,list:[],phone:"",listLoading:!1}},mounted:function(){this.getList()},methods:{switchChange:function(t){var e=this.list[t].is_lock_checked?1:0,n=this.list[t].id;Object(l["k"])({id:n,key:"status",status:e})},del:function(t){var e=this,n=this.list[t].id;Object(l["d"])({id:n,status:1,key:""}).then(function(){e.list.splice(t,1)})},sizeChange:function(t){this.page=1,this.limit=t,this.getList()},currentChange:function(t){this.page=t,this.getList()},search:function(){this.getList()},getList:function(){var t=this;this.listLoading=!0,Object(l["e"])({page:this.page,limit:this.limit,phone:this.phone}).then(function(e){e.list.forEach(function(t){t.is_lock_checked=!!t.is_auth}),t.total=e.total,t.list=e.list}).catch(function(){}).finally(function(){t.listLoading=!1})}}},c=o,r=(n("bf15"),n("2877")),s=Object(r["a"])(c,a,i,!1,null,null,null);e["default"]=s.exports},"1d74":function(t,e,n){},bbbc:function(t,e,n){"use strict";n.d(e,"i",function(){return i}),n.d(e,"f",function(){return l}),n.d(e,"h",function(){return o}),n.d(e,"e",function(){return c}),n.d(e,"d",function(){return r}),n.d(e,"k",function(){return s}),n.d(e,"a",function(){return u}),n.d(e,"b",function(){return d}),n.d(e,"j",function(){return h}),n.d(e,"c",function(){return g}),n.d(e,"g",function(){return p});var a=n("b775");function i(t){return Object(a["a"])({url:"agent/getDealLines",method:"get",params:t})}function l(t){return Object(a["a"])({url:"agent/getAssetList",method:"get",params:t})}function o(t){return Object(a["a"])({url:"web/getCurrency",method:"get",params:t})}function c(t){return Object(a["a"])({url:"agent/getAgentTakeList",method:"get",params:t})}function r(t){return Object(a["a"])({url:"agent/delAgentTake",method:"post",data:t})}function s(t){return Object(a["a"])({url:"agent/isAuth",method:"post",data:t})}function u(t){return Object(a["a"])({url:"agent/addAgentTake",method:"post",data:t})}function d(t){return Object(a["a"])({url:"agent/calcelAgentTake",method:"post",data:t})}function h(){return Object(a["a"])({url:"agent/home",method:"get"})}function g(){return Object(a["a"])({url:"agent/clearCache",method:"post"})}function p(t){return Object(a["a"])({url:"agent/getAssetReport",method:"get",params:t})}},bf15:function(t,e,n){"use strict";var a=n("1d74"),i=n.n(a);i.a}}]);