大宝管理后台代码
jhzh
2024-09-28 451674dd4dd784fa0725b4ba052d94449d892712
src/views/userlist/agentlist.vue
@@ -48,7 +48,7 @@
        </a-form>
      </div>
      <div class="table-operator">
        <a-button type="primary" icon="plus" @click="$refs.addagentdialog.addUserdialog = true">添加下级代理</a-button>
        <a-button type="primary" icon="plus" @click="$refs.addagentdialog.addUserdialog = true, $refs.addagentdialog.initGetParensAgent()">添加下级代理</a-button>
      </div>
    </a-card>
@@ -150,6 +150,11 @@
          },
        },
        {
          title: '代理等级',
          dataIndex: 'agentLevel',
          align: 'center',
        },
        {
          title: '代理状态',
          dataIndex: 'isLock',
          align: 'center',
@@ -209,10 +214,10 @@
          }
          agentdelAgent(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)
            }
          })
        },
@@ -267,7 +272,7 @@
    },
    onSizeChange(current, pageSize) {
      this.agentqueryParam.pageNum = current
      this.pagination.current = page
      // this.pagination.current = page
      this.agentqueryParam.pageSize = pageSize
      this.getagentlist()
    },