From 4742874ad840d7e1e3ac79dc288b38e9a642319d Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 02 六月 2025 19:11:00 +0800 Subject: [PATCH] bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/tUser.js | 25 ++++--------------------- 1 files changed, 4 insertions(+), 21 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/tUser.js b/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/tUser.js index eca00b8..1447ef5 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/tUser.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/sysCouponActivity/tUser.js @@ -21,6 +21,7 @@ TUser.initColumn = function () { return [ {field: 'selectItem', radio: true}, + {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, {title:language == 1 ? '注册时间' : ( language == 2 ? 'Registration time' : 'Waktu pendaftaran'), field: 'insertTime', visible: true, align: 'center', valign: 'middle',width:'10%', // formatter: function (value, row) { // var btn = ""; @@ -198,13 +199,7 @@ TUser.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 条记录 in the table first!"); - }else { - Feng.info("Pilih catatan di tabel terlebih dahulu!"); - } + Feng.info("请先选中表格中的某一记录!"); return false; }else{ TUser.seItem = selected[0]; @@ -224,13 +219,7 @@ TUser.selectUserOpt = function () { var selected = $('#' + this.id).bootstrapTable('getSelections'); if (selected.length == 0) { - if(language==1){ - Feng.info("请先选中表格中的某一记录!"); - }else if(language==2){ - Feng.info("Please select 条记录 in the table first!"); - }else { - Feng.info("Pilih catatan di tabel terlebih dahulu!"); - } + Feng.info("请先选中表格中的某一记录!"); return false; } var id = selected[0].id; @@ -239,13 +228,7 @@ var nickName = selected[0].nickName; var phone = selected[0].phone; if ("" == id || null == id || undefined == id){ - if(language==1){ - Feng.info("请先选中表格中的某一记录!"); - }else if(language==2){ - Feng.info("Please select 条记录 in the table first!"); - }else { - Feng.info("Pilih catatan di tabel terlebih dahulu!"); - } + Feng.info("请先选中表格中的某一记录!"); return ; } var obj = $("#obj").val(); -- Gitblit v1.7.1