From 3404a6d368ae4b7fe12374d245b48a3c0706b544 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期一, 16 十月 2023 15:39:00 +0800
Subject: [PATCH] 10.16
---
cloud-server-management/src/main/webapp/static/modular/system/tQuestion/TQuestion.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tQuestion/TQuestion.js b/cloud-server-management/src/main/webapp/static/modular/system/tQuestion/TQuestion.js
index 19bf113..6755585 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tQuestion/TQuestion.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tQuestion/TQuestion.js
@@ -14,7 +14,7 @@
TQuestion.initColumn = function () {
return [
{field: 'selectItem', checkbox: true},
- {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'},
+ {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'},
{title: '问题标题', field: 'content', visible: true, align: 'center', valign: 'middle'},
{title: '添加时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle',
formatter: function (value, row, index) {
@@ -213,6 +213,7 @@
success: function(response) {
Feng.success("删除成功!");
window.parent.TQuestion.table.refresh();
+ TQuestion.table.refresh();
},
error: function(xhr, status, error) {
var errorMessage = xhr.responseText ? xhr.responseText : "删除失败!";
@@ -260,6 +261,7 @@
};
$(function () {
+
const data1 = {
id:null,
phone:null,
@@ -361,6 +363,7 @@
data: JSON.stringify(data1), // 将数据转换为 JSON 字符串
success: function(response) {
Feng.success("添加成功!");
+ TQuestion.table.refresh();
// window.parent.TQuestion.table.refresh();
TQuestion.phone = "";
},
--
Gitblit v1.7.1