From 06c7348b197ede0b68e6d02f019bf81892329b88 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 19 三月 2024 18:07:12 +0800
Subject: [PATCH] 修改bug
---
cloud-server-management/src/main/webapp/static/modular/system/tDispatch/tDispatch.js | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tDispatch/tDispatch.js b/cloud-server-management/src/main/webapp/static/modular/system/tDispatch/tDispatch.js
index c5c3850..79d7273 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tDispatch/tDispatch.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tDispatch/tDispatch.js
@@ -14,7 +14,7 @@
TDispatch.initColumn = function () {
return [
{field: 'selectItem', radio: true},
- {title: '主键ID', field: 'id', visible: false, align: 'center', valign: 'middle'},
+ {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'},
{title: language==1?'添加时间':(language==2?'Add Time':'Tambahkan waktu'), field: 'insertTime', visible: true, align: 'center', valign: 'middle',width:'10%',
formatter: function (value, row) {
var btn = "";
@@ -94,13 +94,7 @@
TDispatch.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{
TDispatch.seItem = selected[0];
--
Gitblit v1.7.1