From 52e4976e00a512c7cfe554330517559c4e919aba Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 29 May 2024 19:49:38 +0800
Subject: [PATCH] 123
---
src/views/userlist/index.vue | 35 +++++++++++++++++++++++------------
1 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/src/views/userlist/index.vue b/src/views/userlist/index.vue
index 358408c..ec86970 100644
--- a/src/views/userlist/index.vue
+++ b/src/views/userlist/index.vue
@@ -60,6 +60,11 @@
</span>
</a-form-item>
</a-col>
+ <a-col :md="12" :lg="6" :sm="24">
+ <a-form-item label="用户ID">
+ <a-input v-model="queryParam.id" style="width: 100%" placeholder="请填写用户ID" />
+ </a-form-item>
+ </a-col>
</a-row>
</a-form>
</div>
@@ -167,6 +172,7 @@
agentId: undefined,
realName: '',
phone: '',
+ id: '',
pageNum: 1,
pageSize: 10,
accountType: 0
@@ -200,14 +206,15 @@
dataIndex: 'realName',
align: 'center'
},
- {
- title: '总资金',
- dataIndex: 'userAmt',
- align: 'center',
- customRender: (text, row, index) => {
- return text.toFixed(2)
- }
- },
+ // {
+ // title: '总资金',
+ // dataIndex: 'userAmt',
+ // align: 'center',
+ // customRender: (text, row, index) => {
+ // return text ? text.toFixed(2) : '0'
+ // // return text.toFixed(2)
+ // },
+ // },
{
title: '认证信息',
dataIndex: 'isActive',
@@ -274,7 +281,9 @@
console.log(record.id)
getMoney({ userId: record.id }).then((res) => {
if (res.status === 0) {
- const arr = res.data.filter((item) => item.accectType !== 'ALL')
+ console.log(res.data)
+ let arr = res.data.filter((item) => item.accectType !== 'ALL')
+ arr = res.data.filter((item) => item.accectType == 'US' || item.accectType == 'IN')
this.activeArr = arr
this.$refs.editCapitaluserdialog.getEditorder(record)
}
@@ -292,10 +301,10 @@
}
userdelete(data).then((res) => {
if (res.status == 0) {
- that.$message.success({ content: res.msg, duration: 2 })
+ that.$message.success(res.msg)
that.getinit()
} else {
- that.$message.error({ content: res.msg })
+ that.$message.error(res.msg)
}
})
},
@@ -309,6 +318,7 @@
agentId: undefined,
realName: '',
phone: '',
+ id: '',
pageNum: 1,
pageSize: 10,
accountType: 0
@@ -341,8 +351,9 @@
this.getuserList()
},
onSizeChange (current, pageSize) {
+ // console.log(current, pageSize)
this.queryParam.pageNum = current
- this.pagination.current = page
+ // this.pagination.current = page
this.queryParam.pageSize = pageSize
this.getuserList()
},
--
Gitblit v1.9.3