大宝管理后台代码
ne1
zzzz
2024-04-07 69ff731fbacf2f2ae16f98a355506bfeb01dd567
src/views/userlist/index.vue
@@ -202,7 +202,7 @@
          dataIndex: 'userAmt',
          align: 'center',
          customRender: (text, row, index) => {
            return text.toFixed(2)
            return text ? text.toFixed(2) : '0'
          },
        },
        {
@@ -269,7 +269,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 +289,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)
            }
          })
        },