大宝管理后台代码
123
dcc
2024-06-11 8c3fe58c2e0afbd60cb8e197bbdf7a7ef295e77f
src/views/userlist/index.vue
@@ -200,14 +200,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',
@@ -292,10 +293,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)
            }
          })
        },
@@ -341,8 +342,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()
    },