From 451674dd4dd784fa0725b4ba052d94449d892712 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 28 Sep 2024 15:12:16 +0800
Subject: [PATCH] Merge branch '6-29印度股票' of http://124.156.157.155:8060/r/dg/dabao_admin into 6-29印度股票

---
 src/views/userlist/agentlist.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/userlist/agentlist.vue b/src/views/userlist/agentlist.vue
index eb9613c..3834852 100644
--- a/src/views/userlist/agentlist.vue
+++ b/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()
     },

--
Gitblit v1.9.3