From 52cfd50f3a812bf1c0a4c3ef2f1e65fcf8579adb Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 28 七月 2023 15:16:23 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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