From 8afc5bfc1e5df1e2f0a8872a344da3b3fd5d63b9 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 11 四月 2025 20:24:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0' into 2.0
---
cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionInfo.html | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionInfo.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionInfo.html
index 66986b0..86d58b0 100644
--- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionInfo.html
+++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionInfo.html
@@ -26,6 +26,9 @@
<textarea id="editor_1" type="text/plain" style="width:1200px;height:400px;">${info.answer}</textarea>
</div>
<div class="row btn-group-m-t">
+ <div class="col-sm-10 col-sm-offset-5">
+ <#button btnCss="info" name="关闭" id="close" icon="fa-check" clickFun="closeD();" />
+ </div>
</div>
<label for="sort">*排 序:</label>
<input type="text" id="sort" value="${info.sort}" placeholder="请输入排序"><span> 数字越大,权重越大</span>
@@ -42,7 +45,13 @@
</div>
<script type="text/javascript">
-
+ /**
+ * 关闭此对话框
+ */
+ function closeD(){
+ console.log("关闭");
+ parent.layer.close(window.parent.TQuestion.layerIndex);
+ }
const data1 = {
id:null,
content:"",
@@ -87,6 +96,7 @@
contentType: "application/json", // 设置请求头的 Content-Type
data: JSON.stringify(data), // 将数据转换为 JSON 字符串
success: function(response) {
+
Feng.success("修改成功!");
},
error: function(xhr, status, error) {
--
Gitblit v1.7.1