Files
SIPAIIS_WMS_JSSW/WebRoot/jsp/info/infoForMain.jsp

39 lines
1.6 KiB
Plaintext
Raw Normal View History

2026-01-16 14:13:44 +08:00
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<script type="text/javascript">
var viewFun = function(id) {
$.post(ext.contextPath + '/info/view.do', {id:id} , function(data) {
$("#subDiv").html(data);
openModal('subModal');
});
};
</script>
<ul class="todo-list ui-sortable">
<c:set var="rowcount" value="${0}" />
<c:forEach var="current" items="${list }">
<li onclick="viewFun('${current.id}');" style="cursor:pointer ">
<!-- <i class="fa fa-ellipsis-v pull-left"></i> <i class="fa fa-ellipsis-v pull-left"></i> -->
<!-- todo text --><span
style="font-size:12px"
class="label pull-left
<c:if test="${current.typeid eq 'system'}">label-primary</c:if>
<c:if test="${current.typeid eq 'company'}">label-default</c:if>
">
<c:if test="${current.typeid eq 'system'}">系统公告</c:if> <c:if
test="${current.typeid eq 'company'}">内部公告</c:if>
</span> <span class="text">${current.title }</span> <!-- Emphasis label -->
<small
class="label pull-right
<c:if test="${rowcount <3}">label-success</c:if>
<c:if test="${rowcount >=3 }">label-default</c:if>
"
style="font-size:12px"><i class="fa fa-clock-o"></i>
${fn:substring(current.publishtime1,0,10)}</small>
<%-- <h5 class="" style="margin-left:10px">${fn:substring(current.matter,0,200) }</h5> --%>
</li>
<c:set var="rowcount" value="${rowcount+1}" />
</c:forEach>
</ul>