From 875570e93e6f0546e573103af303cabfb9ec650c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 18 Oct 2023 14:41:34 +0800
Subject: [PATCH] 一个商品领取一张卷,

---
 src/main/resources/templates/febs/views/modules/chat/userList.html |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/chat/userList.html b/src/main/resources/templates/febs/views/modules/chat/userList.html
index 845b51e..28748d6 100644
--- a/src/main/resources/templates/febs/views/modules/chat/userList.html
+++ b/src/main/resources/templates/febs/views/modules/chat/userList.html
@@ -120,7 +120,7 @@
         // 查询按钮
         $query.on('click', function () {
             var params = $.extend(getQueryParams(), {field: sortObject.field, order: sortObject.type});
-            tableIns.reload({where: params, page: {curr: currPageUser}});
+            tableIns.reload({where: params, page: {curr: 1}});
         });
 
         // 刷新按钮
@@ -236,13 +236,13 @@
         function openCreateGroup(userId) {
             febs.get(ctx + 'admin/chat/openCreateGroup/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         function closeCreateGroup(userId) {
             febs.get(ctx + 'admin/chat/closeCreateGroup/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
 
@@ -256,13 +256,13 @@
         function openModelType(userId) {
             febs.get(ctx + 'admin/chat/openModelType/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         function closeModelType(userId) {
             febs.get(ctx + 'admin/chat/closeModelType/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
 
@@ -276,13 +276,13 @@
         function openAccount(userId) {
             febs.get(ctx + 'admin/chat/openAccount/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         function closeAccount(userId) {
             febs.get(ctx + 'admin/chat/closeAccount/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
 
@@ -296,13 +296,13 @@
         function openSwitchIsRobot(userId) {
             febs.get(ctx + 'admin/chat/openSwitchIsRobot/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         function closeSwitchIsRobot(userId) {
             febs.get(ctx + 'admin/chat/closeSwitchIsRobot/' + userId, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
 

--
Gitblit v1.9.1