| | |
| | | </div> |
| | | <div class="table-operator"> |
| | | <a-button type="primary" icon="plus" @click="$refs.addagentdialog.addUserdialog = true">添加下级代理</a-button> |
| | | <div class="table-operator_price">代理充值总资产:${{agentpricetotal.usTotalAmount}} ₹{{agentpricetotal.inTotalAmount}}</div> |
| | | <div class="table-operator_price" style="margin-left: 30px;">代理提现总资产:${{agentpricetotal.usTotalWithdrawAmount}} ₹{{agentpricetotal.inTotalWithdrawAmount}}</div> |
| | | <a @click="gettotalprice">(点击刷新)</a> |
| | | </div> |
| | | </a-card> |
| | | |
| | |
| | | import editCapitalAgentdialog from './agentcomponents/editCapitalAgentdialog' |
| | | import EditAgentinfodialog from './agentcomponents/EditAgentinfodialog' |
| | | import addagentdialog from './agentcomponents/addagentdialog' |
| | | import { nextagent, agentdelAgent } from '@/api/home' |
| | | import { nextagent, agentdelAgent,getagentprice } from '@/api/home' |
| | | import moment from 'moment' |
| | | export default { |
| | | name: 'AgentList', |
| | |
| | | pageSize: 10 |
| | | }, |
| | | agentloading: false, |
| | | agentpricetotal:'', |
| | | agentlist: [], |
| | | clickagentlist: [] |
| | | } |
| | | }, |
| | | created () { |
| | | this.getagentlist() |
| | | this.gettotalprice() |
| | | }, |
| | | methods: { |
| | | gettotalprice(){ |
| | | getagentprice().then((res) => { |
| | | this.agentpricetotal = res.data |
| | | }) |
| | | }, |
| | | getDelagent (val) { |
| | | var that = this |
| | | this.$confirm({ |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style > |
| | | .table-operator{ |
| | | display:flex; |
| | | align-items: center; |
| | | } |
| | | </style> |