From e631f307d90aadf6e20d40d0d30a5f29d4b0767f Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 18 三月 2024 16:04:11 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

---
 cloud-server-management/src/main/webapp/static/modular/system/userCouponRecord/userCouponRecord.js |   24 +++---------------------
 1 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/userCouponRecord/userCouponRecord.js b/cloud-server-management/src/main/webapp/static/modular/system/userCouponRecord/userCouponRecord.js
index 7779dbc..89f7907 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/userCouponRecord/userCouponRecord.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/userCouponRecord/userCouponRecord.js
@@ -108,13 +108,7 @@
 UserCouponRecord.check = function () {
     var selected = $('#' + this.id).bootstrapTable('getSelections');
     if(selected.length == 0){
-        if(language==1){
-            Feng.info("请先选中表格中的某一记录!");
-        }else if(language==2){
-            Feng.info("Please select a record in the table first!");
-        }else {
-            Feng.info("Pilih catatan di tabel terlebih dahulu!");
-        }
+        Feng.info("请先选中表格中的某一记录!");
         return false;
     }else{
         UserCouponRecord.seItem = selected[0];
@@ -160,22 +154,10 @@
 UserCouponRecord.delete = function () {
     if (this.check()) {
         var ajax = new $ax(Feng.ctxPath + "/userCouponRecord/delete", function (data) {
-            if(language==1){
-                Feng.success("删除成功!");
-            }else if(language==2){
-                Feng.success("Delete succeeded!");
-            }else {
-                Feng.success("Hapus berhasil!");
-            }
+             Feng.success("删除成功!");
             UserCouponRecord.table.refresh();
         }, function (data) {
-            if(language==1){
-                Feng.error("删除失败!" + data.responseJSON.message + "!");
-            }else if(language==2){
-                Feng.error("Delete failed!" + data.responseJSON.message + "!");
-            }else {
-                Feng.error("Hapus gagal!" + data.responseJSON.message + "!");
-            }
+            Feng.error("删除失败!" + data.responseJSON.message + "!");
         });
         ajax.set("userCouponRecordId",this.seItem.id);
         ajax.start();

--
Gitblit v1.7.1