From 2b6370e31f46eb49dfea453def3be734745e936c Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 11 三月 2024 17:50:59 +0800
Subject: [PATCH] 修改bug
---
cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/sysCouponActivity_info.js | 32 ++++----------------------------
1 files changed, 4 insertions(+), 28 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/sysCouponActivity_info.js b/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/sysCouponActivity_info.js
index 0597d01..510883e 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/sysCouponActivity_info.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/sysCouponActivity_info.js
@@ -153,23 +153,11 @@
}
//提交信息
var ajax = new $ax(Feng.ctxPath + "/sysCouponActivity/add", function(data){
- if(language==1){
- Feng.success("添加成功!");
- }else if(language==2){
- Feng.success("Successfully added!");
- }else {
- Feng.success("Sangat berhasil ditambah!");
- }
+ Feng.success("添加成功!");
window.parent.SysCouponActivity.table.refresh();
SysCouponActivityInfoDlg.close();
},function(data){
- if(language==1){
- Feng.error("添加失败!" + data.responseJSON.message + "!");
- }else if(language==2){
- Feng.error("Fail to add!" + data.responseJSON.message + "!");
- }else {
- Feng.error("Gagal menambah!" + data.responseJSON.message + "!");
- }
+ Feng.error("添加失败!" + data.responseJSON.message + "!");
});
ajax.set(this.sysCouponActivityInfoData);
ajax.set("activityId",activityId);
@@ -224,23 +212,11 @@
}
//提交信息
var ajax = new $ax(Feng.ctxPath + "/sysCouponActivity/update", function(data){
- if(language==1){
- Feng.success("添加成功!");
- }else if(language==2){
- Feng.success("Successfully added!");
- }else {
- Feng.success("Sangat berhasil ditambah!");
- }
+ Feng.success("添加成功!");
window.parent.SysCouponActivity.table.refresh();
SysCouponActivityInfoDlg.close();
},function(data){
- if(language==1){
- Feng.error("添加失败!" + data.responseJSON.message + "!");
- }else if(language==2){
- Feng.error("Fail to add!" + data.responseJSON.message + "!");
- }else {
- Feng.error("Gagal menambah!" + data.responseJSON.message + "!");
- }
+ Feng.error("添加失败!" + data.responseJSON.message + "!");
});
ajax.set(this.sysCouponActivityInfoData);
ajax.set("activityId",activityId);
--
Gitblit v1.7.1