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 +++++++++---------
src/main/resources/templates/febs/views/modules/chat/groupList.html | 10 +++++-----
src/main/resources/templates/febs/views/modules/chat/mallRegisterMember.html | 2 +-
3 files changed, 15 insertions(+), 15 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();
});
}
diff --git a/src/main/resources/templates/febs/views/modules/chat/mallRegisterMember.html b/src/main/resources/templates/febs/views/modules/chat/mallRegisterMember.html
index ce23b5d..5b0944a 100644
--- a/src/main/resources/templates/febs/views/modules/chat/mallRegisterMember.html
+++ b/src/main/resources/templates/febs/views/modules/chat/mallRegisterMember.html
@@ -68,7 +68,7 @@
febs.post(ctx + 'admin/chat/updateRegisterMember', data.field, function () {
layer.closeAll();
febs.alert.success('操作成功');
- $('#febs-chat-user-list').find('#query').click();
+ $('#febs-chat-user-list').find('#reset').click();
});
return false;
});
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