From d5479a9d39c1ea901f46c8253bb38ff4047b18a6 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Thu, 18 Apr 2024 15:24:29 +0800
Subject: [PATCH] first

---
 src/views/userlist/index.vue |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/src/views/userlist/index.vue b/src/views/userlist/index.vue
index 7d5a519..f5283b6 100644
--- a/src/views/userlist/index.vue
+++ b/src/views/userlist/index.vue
@@ -197,14 +197,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',
@@ -269,7 +270,7 @@
   methods: {
     getMoneyzj(record) {
       console.log(record.id)
-      getMoney({ userId: 391 }).then((res) => {
+      getMoney({ userId: record.id }).then((res) => {
         if (res.status === 0) {
           const arr = res.data.filter((item) => item.accectType !== 'ALL')
           this.activeArr = arr
@@ -289,10 +290,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)
             }
           })
         },
@@ -338,8 +339,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