修改BUG:程序异常页面,服务器日志按钮应该先隐藏然后再显示

This commit is contained in:
Argo-Lenovo 2017-03-12 16:34:09 +08:00
parent 071403bcae
commit d02e95d2d7
2 changed files with 10 additions and 11 deletions

View File

@ -1,5 +1,4 @@
$(function () {
var url = '../api/Exceptions/';
var $dialog = $('#dialogNew');
var $dataForm = $('#dataForm');
var $dataFormDetail = $('#dataFormDetail');
@ -8,12 +7,12 @@
var $errorDetailTitle = $('#myDetailModalLabel');
var bsa = new BootstrapAdmin({
url: url,
url: Exceptions.url,
validateForm: null
});
$('table').smartTable({
url: url,
url: Exceptions.url,
sortName: 'LogTime',
queryParams: function (params) { return $.extend(params, { StartTime: $("#txt_operate_start").val(), EndTime: $("#txt_operate_end").val() }); },
columns: [

View File

@ -51,7 +51,7 @@
</form>
</div>
</div>
<div id="toolbar" class="btn-group">
<div id="toolbar" class="btn-group hidden">
<button id="btn_view" type="button" class="btn btn-danger">
<i class="fa fa-file-text-o" aria-hidden="true"></i><span class="hidden-tb">服务器日志</span>
</button>