(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-36ce4d43"],{"45ff":function(t,e,n){"use strict";var a=n("9a53"),i=n.n(a);i.a},"9a53":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 r}),n.d(e,"e",function(){return o}),n.d(e,"d",function(){return s}),n.d(e,"k",function(){return c}),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 p}),n.d(e,"g",function(){return g});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 r(t){return Object(a["a"])({url:"web/getCurrency",method:"get",params:t})}function o(t){return Object(a["a"])({url:"agent/getAgentTakeList",method:"get",params:t})}function s(t){return Object(a["a"])({url:"agent/delAgentTake",method:"post",data:t})}function c(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 p(){return Object(a["a"])({url:"agent/clearCache",method:"post"})}function g(t){return Object(a["a"])({url:"agent/getAssetReport",method:"get",params:t})}},e1fc: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("span",{staticClass:"title"},[t._v("时间")]),t._v(" "),n("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.start_time,callback:function(e){t.start_time=e},expression:"start_time"}}),t._v(" "),n("span",{staticClass:"title"},[t._v("-")]),t._v(" "),n("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.end_time,callback:function(e){t.end_time=e},expression:"end_time"}}),t._v(" "),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:{align:"center",prop:"id",label:"编号",width:"80"}}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"nickname",label:"代理商名称",width:"200"}}),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:"bb_fee",label:"币币手续费",width:"160"}}),t._v(" "),n("el-table-column",{attrs:{align:"left",prop:"hy_fee",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")),r={data:function(){return{page:1,limit:10,layout:"total, sizes, prev, pager, next, jumper",total:0,list:[],phone:"",listLoading:!1,start_time:"",end_time:""}},mounted:function(){this.getList()},methods:{save:function(){var t=this,e={};this.dialogForm.forEach(function(n){!n.disabled&&t.dialogData[n.field]&&(e[n.field]=t.dialogData[n.field])}),e.id=this.list[this.dialogIndex].id,userEdit(e).then(function(n){for(var a in e)t.list[t.dialogIndex][a]="password"===a?"":e[a]})},edit:function(t){this.dialogData=this.list[t],this.dialogVisible=!0},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["g"])({page:this.page,limit:this.limit,phone:this.phone,start_time:this.start_time,end_time:this.end_time}).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})}}},o=r,s=(n("45ff"),n("2877")),c=Object(s["a"])(o,a,i,!1,null,null,null);e["default"]=c.exports}}]);