无关风月
1 天以前 4742874ad840d7e1e3ac79dc288b38e9a642319d
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 a record 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 a record 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 a record in the table first!");
        }else {
            Feng.info("Pilih catatan di tabel terlebih dahulu!");
        }
         Feng.info("请先选中表格中的某一记录!");
return ;
    }
    var obj = $("#obj").val();