From a9564eae9f0169ca39329b2f14a8f13d13358a0a Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期五, 17 十一月 2023 15:28:44 +0800
Subject: [PATCH] 11.7
---
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