(1)common.js加入ajax查询日志总量方法体,等待日志方面可用后完善方法
(2)list.jsp加入遮罩层,遮罩层的调用现阶段先注释
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
<title><spring:message code="${cfgName}"></spring:message></title>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
//$("#loadingModal").modal("show");
|
||||
//setTimeout(function(){
|
||||
// $("#loadingModal").modal("hide");
|
||||
//},1000);
|
||||
//$("#loadingModal").modal({backdrop:'static',keybord:false});
|
||||
//搜索框提示语初始化
|
||||
if("${cfg.srcIpAddress}"){
|
||||
$("#intype").val("${cfg.srcIpAddress}");
|
||||
@@ -222,6 +227,7 @@
|
||||
<th><spring:message code="label"/></th>
|
||||
<th><spring:message code="valid_identifier"/></th>
|
||||
<th><spring:message code="is_audit"/></th>
|
||||
<th><spring:message code="log_total"/></th>
|
||||
<th><spring:message code="creator"/></th>
|
||||
<th class="sort-column r.create_time"><spring:message code="config_time"/></th>
|
||||
<th><spring:message code="editor"/></th>
|
||||
@@ -305,6 +311,7 @@
|
||||
<c:if test="${cfg.isAudit eq auditC.itemCode and auditC.itemValue eq 'cancel'}"><span class="label label-warning"><spring:message code="cancel_approved"></spring:message></span></c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td compileId="${cfg.compileId}">0</td>
|
||||
<td>${cfg.creatorName }</td>
|
||||
<td><fmt:formatDate value="${cfg.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
|
||||
<td>${cfg.editorName }</td>
|
||||
@@ -321,6 +328,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="loadingModal">
|
||||
<div style="width:100%;height:100%; z-index:200000; position:absolute;text-align:center;left:50%;top:50%;margin-left:-100px;margin-top:-10px">
|
||||
<!-- <div class="progress progeress-striped active" style="margin-bottom: 0;">
|
||||
<div class="process-bar process-bar-info" role="processbar" style="width:100%"></div>
|
||||
</div>
|
||||
<h5><spring:message code="loading..."/></h5>-->
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -617,6 +617,27 @@ var viewAreaInfo=function(path,areaEffectiveIds,compileId){
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
var GetLogTotal=function(){
|
||||
$.ajax({
|
||||
type:'post',
|
||||
timeout:1000,//超时时间设置,查询接口时间过长超时
|
||||
url:path+'/logs/ajaxGetLogTotal',
|
||||
data:function(){//处理数据
|
||||
return {"functionId":functionId,"compileIds":compileIds};
|
||||
},
|
||||
dataType:'json',
|
||||
async:false,
|
||||
success:function(data,textStatus){//处理返回结果
|
||||
|
||||
},
|
||||
complete:function(XMLHttpRequest,status){//超时设置
|
||||
if(status=="timeout"){
|
||||
GetLogTotal.about();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
//删除区域IP
|
||||
function delAreaIp(obj){
|
||||
var thisObj=$(obj);
|
||||
|
||||
Reference in New Issue
Block a user