first commit
This commit is contained in:
115
WebRoot/jsp/safety/SafetyCheckFlowPathView.jsp
Normal file
115
WebRoot/jsp/safety/SafetyCheckFlowPathView.jsp
Normal file
@ -0,0 +1,115 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8" %>
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
||||
<%String contextPath = request.getContextPath();%>
|
||||
<%String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();%>
|
||||
<%String serverPath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();%>
|
||||
<!-- bootstrap-star-rating -->
|
||||
<link rel="stylesheet"
|
||||
href="<%=request.getContextPath()%>/node_modules/bootstrap-star-rating/css/star-rating.min.css"/>
|
||||
<style type="text/css">
|
||||
.Icon::before {
|
||||
font-family: 'Glyphicons Halflings';
|
||||
content: "\e171";
|
||||
position: absolute;
|
||||
left: -36px;
|
||||
top: 73%;
|
||||
}
|
||||
|
||||
.element::before {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
font-size: 15px;
|
||||
content: "";
|
||||
line-height: 30px;
|
||||
position: absolute;
|
||||
left: -38px;
|
||||
top: 72%;
|
||||
color: #666;
|
||||
background: #d2d6de;
|
||||
/*background: red;*/
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript"
|
||||
src="<%=request.getContextPath()%>/node_modules/bootstrap-star-rating/js/star-rating.min.js"
|
||||
charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<!-- The time line -->
|
||||
<ul class="timeline">
|
||||
<c:forEach items="${list}" var="item" varStatus="">
|
||||
<li>
|
||||
<c:choose>
|
||||
<c:when test='${item.isDone}'>
|
||||
<i class="fa fa-clock-o bg-blue"></i>
|
||||
|
||||
</c:when>
|
||||
<c:otherwise >
|
||||
<i class="fa fa-clock-o bg-grey"></i>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<div class="timeline-item">
|
||||
|
||||
<c:if test='${item.isDone}'>
|
||||
<span class="time"><i class="fa fa-clock-o"></i> ${item.doneTime.substring(0,16)}</span>
|
||||
</c:if>
|
||||
|
||||
|
||||
<h3 class="timeline-header"><a href="#">${item.taskName}</a>
|
||||
<c:choose>
|
||||
<c:when test='${item.isDone && (item.taskName=="结束" || item.taskName=="项目结束")}'>
|
||||
</c:when>
|
||||
<c:when test='${item.isDone}'>
|
||||
<a style="cursor:pointer;margin-left: 100px">已完成</a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a style="cursor:pointer;color: grey">进行中</a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</h3>
|
||||
<div class="timeline-body" style="padding-left:10px;padding-right:5px;">
|
||||
<div>
|
||||
|
||||
<c:forEach var="item2" items="${item.recordList}">
|
||||
<div style="padding-top: 10px">
|
||||
${item2.record}
|
||||
</div>
|
||||
</c:forEach>
|
||||
|
||||
</div>
|
||||
|
||||
<c:if test="${item.copy!=null && item.copy!=''}">
|
||||
<div class="element" style="margin-top: 5px">
|
||||
<div class="Icon" style="padding: 5px">
|
||||
<a>抄送至:${item.copy}</a>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
</c:forEach>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
|
||||
|
||||
<form class="form-horizontal" id="subForm">
|
||||
<div class="form-group">
|
||||
<!-- <label class="col-sm-2 control-label">文件附件:</label> -->
|
||||
</div>
|
||||
<!-- 文件上传,显示 -->
|
||||
<%--<div class="file-border" id="fileArea"></div>--%>
|
||||
</form>
|
||||
|
||||
<!-- 流程打印布局 结束-->
|
||||
Reference in New Issue
Block a user