页面JS调用,待接口可用之后调整返回数据

This commit is contained in:
wangxin
2018-06-14 10:16:19 +08:00
parent d9a7693ae5
commit 7334247f5b
3 changed files with 27 additions and 12 deletions

View File

@@ -5,6 +5,14 @@
<title><spring:message code="${cfgName}"></spring:message></title>
<script>
$(document).ready(function() {
$("td[compileId]").each(function(){
var data={};
data.date=new Date();
data.compileId=$(this).attr("compileId");
data.action=$(this).attr("action");
data.functionId=$(this).attr("functionId");
GetLogTotal('${ctx}',data);
});
//$("#loadingModal").modal("show");
//setTimeout(function(){
// $("#loadingModal").modal("hide");
@@ -311,7 +319,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}" ><div class="loading-total"></div></td>
<td functionId="${cfg.functionId}" compileId="${cfg.compileId}" action="${cfg.action}"><div class="loading-total"></div></td>
<td>${cfg.creatorName }</td>
<td><fmt:formatDate value="${cfg.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
<td>${cfg.editorName }</td>