From e1dde4d2bf754b4d643ba6ab662af90c944145c3 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 02 Mar 2023 10:12:50 +0800
Subject: [PATCH] 增加活动公告
---
src/main/resources/templates/febs/views/modules/system/agentAmountSet.html | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html b/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
index bf9b704..fcf7164 100644
--- a/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
+++ b/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
@@ -73,7 +73,6 @@
form.render();
function initagentAmountSetValue() {
- alert(agentAmountSet.giveState);
form.val("agent-amount-set-form", {
"agentAmountValue": agentAmountSet.agentAmountValue,
"giveState": agentAmountSet.giveState,
@@ -105,9 +104,13 @@
form.on('submit(agent-amount-set-form-submit)', function (data) {
console.log(data);
febs.post(ctx + 'admin/system/agentAmountSetSetting', data.field, function (res) {
- febs.alert.success('设置成功');
+ if (res.code == 200) {
+ febs.alert.success(res.message);
+ } else {
+ febs.alert.warn(res.message);
+ }
});
- window.location.reload();
+ // window.location.reload();
return false;
});
});
--
Gitblit v1.9.1