From fd658508f4470f0c479b2a36738b0f50481cbbe9 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期六, 16 九月 2023 10:59:09 +0800 Subject: [PATCH] 后台代码 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionAdd.html | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionAdd.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionAdd.html index 247e10d..08f1a6a 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionAdd.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tQuestion/TQuestionAdd.html @@ -23,14 +23,15 @@ <label for="editor_1">*答复内容:</label> <textarea id="editor_1" type="text/plain" style="width:1200px;height:400px;"></textarea> </div> + + <label for="sort">*排 序:</label> + <input type="text" id="sort" placeholder="请输入排序"><span> 数字越大,权重越大</span> <div class="row btn-group-m-t"> <div class="col-sm-10 col-sm-offset-5"> <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="add();" /> <#button btnCss="info" name="关闭" id="close" icon="fa-check" clickFun="closeD();" /> </div> </div> - <label for="sort">*排 序:</label> - <input type="text" id="sort" placeholder="请输入排序"><span> 数字越大,权重越大</span> </div> </div> @@ -90,7 +91,9 @@ data: JSON.stringify(data), // 将数据转换为 JSON 字符串 success: function(response) { Feng.success("添加成功!"); - window.parent.TQuestion.table.refresh(); }, + window.parent.TQuestion.table.refresh(); + closeD(); + }, error: function(xhr, status, error) { var errorMessage = xhr.responseText ? xhr.responseText : "添加失败!"; Feng.error(errorMessage); -- Gitblit v1.7.1