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/groupList.html |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/chat/groupList.html b/src/main/resources/templates/febs/views/modules/chat/groupList.html
index a1043ac..1542b0a 100644
--- a/src/main/resources/templates/febs/views/modules/chat/groupList.html
+++ b/src/main/resources/templates/febs/views/modules/chat/groupList.html
@@ -110,7 +110,7 @@
         // 查询按钮
         $query.on('click', function () {
             var params = $.extend(getQueryParams(), {field: sortObject.field, order: sortObject.type});
-            tableIns.reload({where: params, page: {curr: currPageGroup}});
+            tableIns.reload({where: params, page: {curr: 1}});
         });
 
         // 刷新按钮
@@ -161,13 +161,13 @@
         function openSwitchAutoSend(id) {
             febs.get(ctx + 'admin/chat/openSwitchAutoSend/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         function closeSwitchAutoSend(id) {
             febs.get(ctx + 'admin/chat/closeSwitchAutoSend/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         form.on('switch(switchUseRobot)', function (data) {
@@ -180,13 +180,13 @@
         function openSwitchUseRobot(id) {
             febs.get(ctx + 'admin/chat/openSwitchUseRobot/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
         function closeSwitchUseRobot(id) {
             febs.get(ctx + 'admin/chat/closeSwitchUseRobot/' + id, null, function () {
                 febs.alert.success('操作成功');
-                $query.click();
+                $reset.click();
             });
         }
 

--
Gitblit v1.9.1