| | |
| | | <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> |
| | | |
| | |
| | | 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); |