<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
|
<%
|
String path = request.getContextPath();
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
|
+ path + "/";
|
%>
|
|
<!DOCTYPE HTML>
|
<html>
|
<head>
|
<base href="<%=basePath%>">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<title>历史审批意见列表</title>
|
<link href="static/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
|
<link href="static/plugins/jquery-easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css">
|
<link rel="stylesheet" href="static/styles/material-teal.css" type="text/css">
|
<link rel="stylesheet" href="static/styles/initialize.css" type="text/css">
|
<link rel="stylesheet" href="static/styles/common.css" type="text/css">
|
<link rel="stylesheet" href="static/plugins/layer/skin/default/layer.css" type="text/css">
|
<link rel="stylesheet" href="static/plugins/webuploader/webuploader.css" type="text/css">
|
|
<script type="text/javascript" src="static/plugins/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery-easyui/jquery.easyui.min.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
|
<script type="text/javascript" src="static/plugins/slimScroll/jquery.slimscroll.min.js"></script>
|
<script type="text/javascript" src="static/plugins/layer/layer.js"></script>
|
|
<script type="text/javascript" src="static/plugins/spinjs/spin.js"></script>
|
<script type="text/javascript" src="static/plugins/spinjs/jquery.spin.js"></script>
|
<script type="text/javascript" src="static/plugins/jquery.blockUI.js"></script>
|
|
<script type="text/javascript" src="static/plugins/webuploader/webuploader.js"></script>
|
<script src="static/plugins/webuploader/webuploader.min.js"></script>
|
<script src="static/plugins/ptfileupload/pt.fileupload.js"></script>
|
|
<script type="text/javascript" src="static/wcp/scripts/wcp.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.layer.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.blockUI.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.spin.js"></script>
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.jquery.js"></script>
|
|
<script type="text/javascript" src="static/edof/scripts/common.js"></script>
|
<script type="text/javascript" src="static/edof/scripts/edof.js"></script>
|
<script type="text/javascript" src="static/edof/scripts/libs/edof.infoPicker.js"></script>
|
|
<!--[if lt IE 9]>
|
<script type="text/javascript" src="static/plugins/json2.js"></script>
|
<![endif]-->
|
<script type="text/javascript" src="static/wcp/scripts/libs/wcp.infoPicker.js"></script>
|
<style>
|
html, body {
|
height: 100%;
|
width: 100%;
|
overflow: hidden;
|
}
|
</style>
|
</head>
|
<body>
|
<div>
|
<div class="online-main-idea" style="width: 100%; padding: 5px; font-size: 12px;">
|
<h5 class="pt-color-primary">汇总意见</h5>
|
<div class="online-idea-list">
|
<c:forEach items="${leaderHistoryList}" var="leaderHistory">
|
<div class="pt-color-danger">
|
<h6>
|
<c:if test="${leaderHistory.assigneeType==0}">
|
${leaderHistory.assigneeUserName }
|
</c:if>
|
<c:if test="${leaderHistory.assigneeType!=0}">
|
${leaderHistory.claimUserName }
|
</c:if>
|
<span>[<fmt:formatDate value="${leaderHistory.endTime }" pattern="yyyy-MM-dd"/>]</span>
|
</h6>
|
<p>${leaderHistory.approvalComment }</p>
|
</div>
|
</c:forEach>
|
<c:forEach items="${otherHistoryList}" var="otherHistory">
|
<div>
|
<h6>
|
<c:if test="${otherHistory.assigneeType==0}">
|
${otherHistory.assigneeUserName }
|
</c:if>
|
<c:if test="${otherHistory.assigneeType!=0}">
|
${otherHistory.claimUserName }
|
</c:if>
|
<span>[<fmt:formatDate value="${otherHistory.endTime }" pattern="yyyy-MM-dd"/>]</span>
|
</h6>
|
<p>${otherHistory.approvalComment }</p>
|
</div>
|
</c:forEach>
|
</div>
|
<h5 class="pt-color-warning" style="margin-bottom: 5px; height: 24px; line-height: 24px;">您的意见
|
<button type="button" class="pt-btn pt-btn-info" style="padding:2px 5px;margin:0px;"
|
onclick="showFastDistribute();">快速批分
|
</button>
|
</h5>
|
<div class="online-textbox">
|
<input class="easyui-textbox" id="txt_Comment" name="txt_Comment" data-options="multiline:true"
|
style="height:160px;width:100%;">
|
</div>
|
</div>
|
</div>
|
<script type="text/javascript" src="static/scripts/ResizeScroll.js"></script>
|
<script>
|
$(function () {
|
if (window.parent) {
|
window.parent.getCommentFun = getComment;
|
window.parent.setCommentFun = setComment;
|
}
|
|
$("#txt_Comment").textbox({
|
onChange: function (newValue, oldValue) {
|
if (window.parent.setOpinionToField) {
|
window.parent.setOpinionToField(newValue);
|
}
|
}
|
});
|
|
new ResizeScroll({
|
"id": ".online-idea-list",
|
fun: function () {
|
var wh = $(window).height();
|
return (wh - 255);
|
}
|
});
|
});
|
|
function getComment() {
|
return $('#txt_Comment').textbox('getValue');
|
}
|
|
function setComment(val) {
|
$('#txt_Comment').textbox('setValue', val);
|
}
|
|
function showFastDistribute() {
|
if (window.parent && window.parent.getFormData) {
|
var formData = window.parent.getFormData(true);
|
var dealSponsorDeptIds = formData["DEAL_SPONSOR_DEPT_IDS"];
|
var dealSponsorDeptNames = formData["DEAL_SPONSOR_DEPT_NAMES"];
|
|
var dealCoSponsorDeptIds = formData["DEAL_CO_SPONSOR_DEPT_IDS"];
|
var dealCoSponsorDeptNames = formData["DEAL_CO_SPONSOR_DEPT_NAMES"];
|
|
edof.picker.selectDeptAndUser({
|
hasSelectIds: dealCoSponsorDeptIds,
|
hasSelectNames: dealCoSponsorDeptNames
|
}, function (data) {
|
dealCoSponsorDeptNames = "回写";
|
var takeDepts = data.takeDepts;
|
var sendDepts = data.sendDepts;
|
var sendLeaders = data.sendLeaders;
|
// 承办部门
|
var takeDeptIds = [];
|
var takeDeptNames = [];
|
for (var index in takeDepts) {
|
takeDeptIds.push(takeDepts[index].id);
|
takeDeptNames.push(takeDepts[index].name);
|
}
|
// 传阅部门
|
var sendDeptIds = [];
|
var sendDeptNames = [];
|
for (var index in sendDepts) {
|
sendDeptIds.push(sendDepts[index].id);
|
sendDeptNames.push(sendDepts[index].name);
|
}
|
// 传阅领导
|
var sendLeaderIds = [];
|
var sendLeaderNames = [];
|
for (var index in sendLeaders) {
|
sendLeaderIds.push(sendLeaders[index].id);
|
sendLeaderNames.push(sendLeaders[index].name);
|
}
|
// dealCoSponsorDeptNames = "回写";
|
|
newFormData = new Object();
|
newFormData["DEAL_CO_SPONSOR_DEPT_NAMES"] = dealCoSponsorDeptNames;
|
newFormData["DEAL_CO_SPONSOR_DEPT_NAMES"] = takeDeptNames;
|
newFormData["DEAL_CO_SPONSOR_DEPT_IDS"] = takeDeptIds;
|
newFormData["DEAL_CIRCULATE_DEPT_NAMES"] = sendDeptNames;
|
newFormData["DEAL_CIRCULATE_DEPT_IDS"] = sendDeptIds;
|
newFormData["DEAL_CIRCULATE_USER_NAMES"] = sendLeaderNames;
|
newFormData["DEAL_CIRCULATE_USER_IDS"] = sendLeaderIds;
|
|
window.parent.setFormData(newFormData);
|
});
|
}
|
}
|
</script>
|
</body>
|
</html>
|