大宝管理后台代码
xxx
dcc
2024-05-07 abcf89c0931fc453f4fd8e1d4d48b8b469d0f3c7
src/views/capital/withdrawallist.vue
@@ -65,7 +65,11 @@
                      @click=";(queryParam.pageNum = 1), getlist()"
                      >查询
                    </a-button>
                    <a-button type="primary" icon="vertical-align-bottom" style="margin-left: 8px" @click="getexport"
                    <a-button
                      type="primary"
                      icon="vertical-align-bottom"
                      style="margin-left: 8px"
                      @click="getexport"
                      >导出搜索数据
                    </a-button>
                  </span>
@@ -177,27 +181,27 @@
          width: 180,
          customRender: (text, row, index) => {
            return `${row.nickName}(${row.userId})`
          },
          }
        },
        {
          title: '订单ID',
          dataIndex: 'id',
          align: 'center',
          align: 'center'
        },
        {
          title: '代理id',
          dataIndex: 'agentId',
          align: 'center',
          align: 'center'
        },
        {
          title: '客户电话',
          dataIndex: 'userPhone',
          align: 'center',
          align: 'center'
        },
        {
          title: '代理ID',
          dataIndex: 'agentId',
          align: 'center',
          align: 'center'
        },
        {
          title: '应转金额',
@@ -205,45 +209,45 @@
          align: 'center',
          customRender: (text, row, index) => {
            return row.withAmt - row.withFee
          },
          }
        },
        {
          title: '出金金额',
          dataIndex: 'withAmt',
          align: 'center',
          align: 'center'
        },
        {
          title: '手续费',
          dataIndex: 'withFee',
          align: 'center',
          align: 'center'
        },
        {
          title: '状态',
          dataIndex: 'withStatus',
          align: 'center',
          scopedSlots: { customRender: 'withStatus' },
          scopedSlots: { customRender: 'withStatus' }
        },
        {
          title: '提现银行',
          dataIndex: 'bankName',
          align: 'center',
          align: 'center'
        },
        {
          title: '提现支行',
          dataIndex: 'bankAddress',
          align: 'center',
          width: 200,
          width: 200
        },
        {
          title: '银行号码',
          dataIndex: 'bankNo',
          align: 'center',
          align: 'center'
        },
        {
          title: '原因',
          dataIndex: 'withMsg',
          align: 'center',
          width: 200,
          width: 200
        },
        {
          title: '申请时间',
@@ -252,7 +256,7 @@
          width: 180,
          customRender: (text, row, index) => {
            return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : ''
          },
          }
        },
        {
          title: '出金时间',
@@ -261,7 +265,7 @@
          width: 180,
          customRender: (text, row, index) => {
            return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : ''
          },
          }
        },
        {
@@ -270,8 +274,8 @@
          align: 'center',
          width: 180,
          fixed: 'right',
          scopedSlots: { customRender: 'action' },
        },
          scopedSlots: { customRender: 'action' }
        }
      ],
      // 表头
      pagination: {
@@ -281,7 +285,7 @@
        pageSizeOptions: ['10', '20', '50', '100'], // 每页中显示的数据
        onShowSizeChange: (current, pageSize) => this.onSizeChange(current, pageSize), // 改变每页数量时更新显示
        onChange: (page, pageSize) => this.onPageChange(page, pageSize), // 点击页码事件
        showTotal: (total) => `共有 ${total} 条数据`, // 分页中显示总的数据
        showTotal: (total) => `共有 ${total} 条数据` // 分页中显示总的数据
      },
      loading: false,
      queryParam: {
@@ -292,7 +296,7 @@
        userId: '',
        realName: '',
        beginTime: '',
        endTime: '',
        endTime: ''
      },
      datalist: [],
      agentlist: [],
@@ -305,8 +309,8 @@
      agentqueryParam: {
        pageNum: 1,
        pageSize: 100,
      },
        pageSize: 100
      }
    }
  },
  created() {
@@ -368,7 +372,7 @@
        userId: '',
        realName: '',
        beginTime: '',
        endTime: '',
        endTime: ''
      }
      this.times = []
    },
@@ -401,8 +405,8 @@
      this.queryParam.pageNum = current
      this.queryParam.pageSize = pageSize
      this.getlist()
    },
  },
    }
  }
}
</script>
<style scoped>