From b1fb83530b7105e4aa73e4101727dea945eb01c2 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 29 八月 2025 21:48:15 +0800 Subject: [PATCH] bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/tUserLargeCoupon/tUserLargeCoupon_info.js | 32 ++++---------------------------- 1 files changed, 4 insertions(+), 28 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tUserLargeCoupon/tUserLargeCoupon_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tUserLargeCoupon/tUserLargeCoupon_info.js index f4a576f..05f512d 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tUserLargeCoupon/tUserLargeCoupon_info.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tUserLargeCoupon/tUserLargeCoupon_info.js @@ -141,23 +141,11 @@ //提交信息 var ajax = new $ax(Feng.ctxPath + "/tUserLarge/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.TCarModel.table.refresh(); TCarModelInfoDlg.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.tCarModelInfoData); ajax.set("type",obj); @@ -178,23 +166,11 @@ } //提交信息 var ajax = new $ax(Feng.ctxPath + "/tCarModel/update", function(data){ - if(language==1){ - Feng.success("修改成功!"); - }else if(language==2){ - Feng.success("Modify successfully!"); - }else { - Feng.success("Mengubah dengan sukses!"); - } + Feng.success("修改成功!"); window.parent.TCarModel.table.refresh(); TCarModelInfoDlg.close(); },function(data){ - if(language==1){ - Feng.error("修改失败!" + data.responseJSON.message + "!"); - }else if(language==2){ - Feng.error("Fail to modify!" + data.responseJSON.message + "!"); - }else { - Feng.error("Gagal mengubah!" + data.responseJSON.message + "!");; - } + Feng.error("修改失败!" + data.responseJSON.message + "!"); }); ajax.set(this.tCarModelInfoData); ajax.set("language",$("#yy").val()); -- Gitblit v1.7.1