大宝管理后台代码
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>
@@ -148,6 +148,11 @@
          customRender: (text, row, index) => {
            return text
          },
        },
        {
          title: '代理等级',
          dataIndex: 'agentLevel',
          align: 'center',
        },
        {
          title: '代理状态',
@@ -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()
    },