修改BUG:程序异常页面,服务器日志按钮应该先隐藏然后再显示
This commit is contained in:
parent
071403bcae
commit
d02e95d2d7
|
@ -1,5 +1,4 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
var url = '../api/Exceptions/';
|
|
||||||
var $dialog = $('#dialogNew');
|
var $dialog = $('#dialogNew');
|
||||||
var $dataForm = $('#dataForm');
|
var $dataForm = $('#dataForm');
|
||||||
var $dataFormDetail = $('#dataFormDetail');
|
var $dataFormDetail = $('#dataFormDetail');
|
||||||
|
@ -8,12 +7,12 @@
|
||||||
var $errorDetailTitle = $('#myDetailModalLabel');
|
var $errorDetailTitle = $('#myDetailModalLabel');
|
||||||
|
|
||||||
var bsa = new BootstrapAdmin({
|
var bsa = new BootstrapAdmin({
|
||||||
url: url,
|
url: Exceptions.url,
|
||||||
validateForm: null
|
validateForm: null
|
||||||
});
|
});
|
||||||
|
|
||||||
$('table').smartTable({
|
$('table').smartTable({
|
||||||
url: url,
|
url: Exceptions.url,
|
||||||
sortName: 'LogTime',
|
sortName: 'LogTime',
|
||||||
queryParams: function (params) { return $.extend(params, { StartTime: $("#txt_operate_start").val(), EndTime: $("#txt_operate_end").val() }); },
|
queryParams: function (params) { return $.extend(params, { StartTime: $("#txt_operate_start").val(), EndTime: $("#txt_operate_end").val() }); },
|
||||||
columns: [
|
columns: [
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</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">
|
<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>
|
<i class="fa fa-file-text-o" aria-hidden="true"></i><span class="hidden-tb">服务器日志</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue