86 lines
3.4 KiB
Plaintext
86 lines
3.4 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8" %>
|
||
<%@ include file="/webpage/include/taglib.jsp" %>
|
||
<html>
|
||
<head>
|
||
<title>接收任务</title>
|
||
<meta name="decorator" content="default"/>
|
||
<link rel="stylesheet" href="${ctxStatic}/layui-v2.4.5/layui/css/layui.css" media="all">
|
||
</head>
|
||
<body class="gray-bg">
|
||
<div class="wrapper wrapper-content">
|
||
<div class="ibox">
|
||
<div class="ibox-content">
|
||
<sys:message content="${message}"/>
|
||
<form:form id="searchForm" modelAttribute="task" action="${ctx}/assessment/questionnaireFile/viewHome" method="post" class="form-inline">
|
||
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
||
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
||
<table:sortColumn id="orderBy" name="orderBy" value="${page.orderBy}" callback="sortOrRefresh();"/><!-- 支持排序 -->
|
||
<div class="form-group">
|
||
<span>考核计划 :</span>
|
||
<form:select onchange="search()" id="standardPlanId" path="standardPlanId" class="form-control required">
|
||
<form:option value="0">请选择</form:option>
|
||
<c:forEach items="${plans}" var="plan">
|
||
<form:option value="${plan.id}">${plan.title}</form:option>
|
||
</c:forEach>
|
||
</form:select>
|
||
</div>
|
||
</form:form>
|
||
|
||
<br/>
|
||
<table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable">
|
||
<thead>
|
||
<tr>
|
||
<th>机构名称</th>
|
||
<th>计划名称</th>
|
||
<th>考核体系</th>
|
||
<%-- <th>已提交</th>
|
||
<th>未提交</th>--%>
|
||
<th>操作</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<c:forEach items="${page.list}" var="task">
|
||
<tr>
|
||
<td>${task.office.name}</td>
|
||
<td>${task.plan.title}</td>
|
||
<td>${task.plan.assessmentSystem.name}</td>
|
||
<%-- <td>${task.number1}</td>
|
||
<td>${task.number2}</td>--%>
|
||
<td>
|
||
<a href="#" onclick="assessmentJump('${ctx}/assessment/questionnaireFile/viewList?standardTaskId=${task.id}')" class="btn btn-primary btn-xs"><i class="fa fa-search"></i>查看</a>
|
||
</td>
|
||
</tr>
|
||
</c:forEach>
|
||
</tbody>
|
||
</table>
|
||
<div class="fixed-table-pagination">${page}</div>
|
||
<br/>
|
||
<br/>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="${ctxStatic}/layui-v2.4.5/layui/layui.js"></script>
|
||
<script type="application/javascript">
|
||
function initLayDate() {
|
||
layui.use('laydate', function () {
|
||
layui.laydate.render({
|
||
elem: '#startTime',
|
||
type: 'datetime',
|
||
format: 'yyyy-MM-dd',
|
||
value: new Date(),
|
||
btns: ['now', 'confirm']
|
||
});
|
||
});
|
||
}
|
||
|
||
//考核跳转
|
||
function assessmentJump(url){
|
||
window.location.href=url;
|
||
}
|
||
$(document).ready(function () {
|
||
initLayDate();
|
||
});
|
||
</script>
|
||
|
||
</body>
|
||
</html> |