From 583ff2c3bfa45f6359a792c01f9bc3d37a6b2a0c Mon Sep 17 00:00:00 2001 From: luo <2855143437@qq.com> Date: 星期二, 26 九月 2023 18:55:08 +0800 Subject: [PATCH] 9.26。2 --- cloud-server-management/src/main/webapp/static/modular/system/driverActivity/driverActivity_info.js | 32 ++++---------------------------- 1 files changed, 4 insertions(+), 28 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/driverActivity/driverActivity_info.js b/cloud-server-management/src/main/webapp/static/modular/system/driverActivity/driverActivity_info.js index 369705c..caf84c3 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/driverActivity/driverActivity_info.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/driverActivity/driverActivity_info.js @@ -317,23 +317,11 @@ // 提交信息 var ajax = new $ax(Feng.ctxPath + "/driverActivity/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.DriverActivity.table.refresh(); DriverActivityInfoDlg.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("name",name); ajax.set("createTime",createTime); @@ -584,23 +572,11 @@ // 提交信息 var ajax = new $ax(Feng.ctxPath + "/driverActivity/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.DriverActivity.table.refresh(); DriverActivityInfoDlg.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("name",name); ajax.set("createTime",createTime); -- Gitblit v1.7.1