修改BUG:程序异常页面,服务器日志按钮应该先隐藏然后再显示
This commit is contained in:
parent
071403bcae
commit
d02e95d2d7
|
@ -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: [
|
||||
|
@ -26,13 +25,13 @@
|
|||
});
|
||||
|
||||
$('.form_date').datetimepicker({
|
||||
language: 'zh-CN',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
minView: 2,
|
||||
language: 'zh-CN',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
minView: 2,
|
||||
forceParse: 0,
|
||||
format: 'yyyy-mm-dd',
|
||||
pickerPosition: 'bottom-left'
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue