toLeaderHome.jsp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@taglib prefix="f" uri="http://www.jee-soft.cn/functions" %>
  4. <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  5. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  6. <c:set var="ctx" value="${pageContext.request.contextPath}" />
  7. <head>
  8. <meta charset="utf-8">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <title>协同办公</title>
  12. <%@include file="include.jsp" %>
  13. <link href="${ctx}/js/tohome/images/bootstrap.min.css" rel="stylesheet">
  14. <link href="${ctx}/js/tohome/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet">
  15. <link href="${ctx}/js/tohome/images/s_index2.css" rel="stylesheet">
  16. <script src="${ctx}/js/tohome/images/bootstrap.min.js"></script>
  17. <script type="text/javascript" src="${ctx}/js/mySchedule/jquery.fullcalendar.js"></script>
  18. <script type="text/javascript" src="${ctx}/js/hotent/platform/form/AttachMent.js"></script>
  19. <script>
  20. $().ready(function (){
  21. AttachMent.init("r");
  22. });
  23. function alerts(){
  24. alert("正在开发中,敬请期待");
  25. }
  26. //待办事宜 执行任务
  27. function executeTask(taskId){
  28. var url="${ctx}/platform/bpm/task/doNext.ht?taskId="+taskId;
  29. window.open(url, '_blank');
  30. }
  31. function showDetail(obj){
  32. var url = $(obj).attr("action");
  33. window.open(url, '_blank');
  34. }
  35. function getOnClick(id){
  36. var url = '${ctx}/platform/system/sysBulletin/get.ht?id='+id;
  37. window.open(url, '_blank');
  38. }
  39. function subStr(param){
  40. document.write(param.slice(0,15));
  41. }
  42. var dialog;
  43. function add(date){
  44. var url="${ctx}/platform/console/addMySchedule.ht";
  45. dialog=DialogUtil.open({
  46. height : 550,
  47. width : 850,
  48. title : '新增日程',
  49. url: url
  50. });
  51. }
  52. function closeDia(){
  53. dialog.close();
  54. window.location.href="${ctx}/platform/console/toHome.ht";
  55. }
  56. function addMySchedule(html){
  57. $("#myScheduleDIV").append(html);
  58. }
  59. function clear(){
  60. $("#myScheduleDIV").empty();
  61. }
  62. function getMySchedule(id){
  63. var url="${ctx}/platform/console/getMySchedule.ht?id="+id;
  64. dialog=DialogUtil.open({
  65. height : 550,
  66. width : 850,
  67. title : '查看日程',
  68. url: url
  69. });
  70. }
  71. function messageRead(id){
  72. var url = '${ctx}/platform/system/messageRead/list.ht?messageId='+id;
  73. window.open(url, '_blank');
  74. }
  75. </script>
  76. </head>
  77. <body>
  78. <div class="content">
  79. <!-- 第一部分 开始-->
  80. <div class="row">
  81. <div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">
  82. <div class="row">
  83. <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
  84. <div class="top_row1 top_row clearfix">
  85. <div class="top_row_txt "><a href="${ctx}/platform/bpm/task/pendingMatters.ht"><i class="fa fa-hourglass-3 fa-lg"></i> 事项审批</a> </div>
  86. </div>
  87. </div>
  88. <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
  89. <div class="top_row2 top_row clearfix">
  90. <div class="top_row_txt"> <a onclick="alerts()"><i class="fa fa-pencil fa-lg"></i>发文签批</a> </div>
  91. </div>
  92. </div>
  93. <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
  94. <div class="top_row3 top_row clearfix">
  95. <div class="top_row_txt"> <a href="${ctx}/platform/system/sysBulletin/list.ht"><i class="fa fa-bullhorn fa-lg"></i> 会议通知</a> </div>
  96. </div>
  97. </div>
  98. <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
  99. <div class="top_row6 top_row clearfix">
  100. <div class="top_row_txt"> <a href="${ctx}/platform/oa/oaLinkman/list.ht"><i class="fa fa-address-book-o fa-lg"></i>通讯录</a> </div>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="row">
  105. <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
  106. <div class="mid_row_div">
  107. <h1><i class="fa fa-1x fa-commenting"></i>我的消息<a href="${ctx}/platform/system/sysBulletin/list.ht">更多+</a></h1>
  108. <ul id="myTab" class="nav nav-tabs wdsx">
  109. <li class="active"> <a href="#tab1" data-toggle="tab"> 通知公告 </a> </li>
  110. <li><a href="#tab2" data-toggle="tab">内部邮件</a></li>
  111. </ul>
  112. <div id="myTabContent" class="tab-content wdsx_con">
  113. <!-- 我的通知start -->
  114. <div class="tab-pane fade in active" id="tab1">
  115. <div class="table-responsive">
  116. <table class="table">
  117. <thead>
  118. <tr>
  119. <th>序号</th>
  120. <th>公告类型</th>
  121. <th>公告标题</th>
  122. <th>发起人</th>
  123. <th>发起时间</th>
  124. <th>是否紧急</th>
  125. <th>是否已读</th>
  126. </tr>
  127. </thead>
  128. <tbody>
  129. <c:forEach items="${SysBulletinList}" var="SysBulletinLists" begin="0" end="7" varStatus="status">
  130. <tr>
  131. <td>${status.index+1} </td>
  132. <c:choose>
  133. <c:when test="${SysBulletinLists.type == 0}">
  134. <td>会议通知</td>
  135. </c:when>
  136. <c:otherwise>
  137. <td>其他</td>
  138. </c:otherwise>
  139. </c:choose>
  140. <td><a name="processDetail" onclick="getOnClick('${SysBulletinLists.id}')" href="javascript:void(0);" title='${SysBulletinLists.subject}' class="text-link">${SysBulletinLists.subject}</a></td>
  141. <td>${SysBulletinLists.creator}</td>
  142. <td><fmt:formatDate value="${SysBulletinLists.createtime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
  143. <c:choose>
  144. <c:when test="${SysBulletinLists.isurgent == 1}">
  145. <td><span class="label label-danger">是</span></td>
  146. </c:when>
  147. <c:otherwise>
  148. <td><span class="label label-success">否</span></td>
  149. </c:otherwise>
  150. </c:choose>
  151. <c:choose>
  152. <c:when test="${sysBulletinItem.isRead == 0}">
  153. <td class="text-danger">未读</td>
  154. </c:when>
  155. <c:otherwise>
  156. <td class="text-success">已读</td>
  157. </c:otherwise>
  158. </c:choose>
  159. </tr>
  160. </c:forEach>
  161. </tbody>
  162. </table>
  163. </div>
  164. </div>
  165. <!-- 我的通知end -->
  166. <div class="tab-pane fade" id="tab2">
  167. <div class="table-responsive">
  168. <table class="table">
  169. <thead>
  170. <tr>
  171. <th>序号</th>
  172. <th>标题</th>
  173. <th>发起人</th>
  174. <th>发起时间</th>
  175. <th>附件</th>
  176. <th>是否需要回复</th>
  177. </tr>
  178. </thead>
  179. <tbody>
  180. <c:forEach items="${MessageSendQueryFilterList}" var="MessageSendQueryFilterList" begin="0" end="7" varStatus="status">
  181. <tr>
  182. <td> ${status.index+1 } </td>
  183. <td><a onclick="messageRead('${MessageSendQueryFilterList.id}')" title='${MessageSendQueryFilterList.subject}' class="text-link"><script>subStr('${MessageSendQueryFilterList.subject}')</script></a></td>
  184. <td>${MessageSendQueryFilterList.userName}</td>
  185. <td><fmt:formatDate value="${MessageSendQueryFilterList.sendTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
  186. <td>
  187. <c:choose>
  188. <c:when test="${MessageSendQueryFilterList.attachment==null}">
  189. 无附件
  190. </c:when>
  191. <c:otherwise>
  192. <div name="div_attachment_container">
  193. <div class="attachement"></div>
  194. <textarea style="display: none" controltype="attachment"
  195. name="attachment" lablename="附件" validate="{}">${MessageSendQueryFilterList.attachment}</textarea>
  196. </div>
  197. </c:otherwise>
  198. </c:choose>
  199. </td>
  200. <c:choose>
  201. <c:when test="${MessageSendQueryFilterList.canReply == 1}">
  202. <td><span class="label label-success">是</span></td>
  203. </c:when>
  204. <c:otherwise>
  205. <td><span class="label label-warning">否</span></td>
  206. </c:otherwise>
  207. </c:choose>
  208. </tr>
  209. </c:forEach>
  210. </tbody>
  211. </table>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
  220. <div class="mid_row_div div-bordered mr_top0">
  221. <!-- 我的日程 -->
  222. <iframe src="${ctx}/platform/console/mySchedule.ht" style="border: 0;width: 100%;height: 70%;" id="ifm" name="ifm" ></iframe>
  223. <div class="list-group" id="myScheduleDIV">
  224. </div>
  225. <!-- 我的日程 -->
  226. </div>
  227. </div>
  228. </div>
  229. <!-- 第一部分 结束-->
  230. <!-- 第二部分 开始-->
  231. <div class="row">
  232. <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
  233. <div class="mid_row_div">
  234. <h1><i class="fa fa-1x fa-cubes"></i>重大督办事项<a>更多+</a></h1>
  235. <div class="table-responsive table-zdsx">
  236. <table class="table">
  237. <thead>
  238. <tr>
  239. <th>序号</th>
  240. <th>督办任务名称</th>
  241. <th>责任人</th>
  242. <th>督办开始时间</th>
  243. <th>督办结束时间</th>
  244. <th>当前进度</th>
  245. </tr>
  246. </thead>
  247. <tbody>
  248. <tr>
  249. <td> 1 </td>
  250. <td><a href="javascript:void(0);" class="text-link">关于XXX的重点督办事项</a><span class="label label-warning" >关注</span></td>
  251. <td>XX</td>
  252. <td>2019年1月3日</td>
  253. <td>2019年2月1日</td>
  254. <td> <div class="progress progress-lg">
  255. <div class="progress-bar progress-bar-danger" style="width: 33%;" role="progressbar">33%</div>
  256. </div>
  257. </td>
  258. </tr>
  259. <tr>
  260. <td> 2 </td>
  261. <td><a href="javascript:void(0);" class="text-link">关于XXX的重点督办事项</a></td>
  262. <td>XX</td>
  263. <td>2019年1月3日</td>
  264. <td>2019年2月1日</td>
  265. <td>
  266. <div class="progress progress-lg">
  267. <div class="progress-bar progress-bar-success" style="width: 95%;" role="progressbar">95%</div>
  268. </div>
  269. </td>
  270. </tr>
  271. <tr>
  272. <td>3 </td>
  273. <td><a href="javascript:void(0);" class="text-link">关于XXX的重点督办事项</a><span class="label label-warning" >关注</span></td>
  274. <td>XX</td>
  275. <td>2019年1月3日</td>
  276. <td>2019年2月1日</td>
  277. <td><div class="progress progress-lg">
  278. <div class="progress-bar progress-bar-danger" style="width: 35%;" role="progressbar">35%</div>
  279. </div>
  280. </td>
  281. </tr>
  282. <tr>
  283. <td> 4 </td>
  284. <td><a href="javascript:void(0);" class="text-link">关于XXX的重点督办事项</a></td>
  285. <td>XX</td>
  286. <td>2019年1月3日</td>
  287. <td>2019年2月1日</td>
  288. <td><div class="progress progress-lg">
  289. <div class="progress-bar progress-bar-warning" style="width: 85%;" role="progressbar">85%</div>
  290. </div>
  291. </td>
  292. </tr>
  293. <tr>
  294. <td> 5 </td>
  295. <td><a href="javascript:void(0);" class="text-link">关于XXX的重点督办事项</a><span class="label label-warning" >关注</span></td>
  296. <td>XX</td>
  297. <td>2019年1月3日</td>
  298. <td>2019年2月1日</td>
  299. <td>
  300. <div class="progress progress-lg">
  301. <div class="progress-bar progress-bar-danger" style="width: 41%;" role="progressbar">41%</div>
  302. </div>
  303. </td>
  304. </tr>
  305. <tr>
  306. <td>6 </td>
  307. <td><a href="javascript:void(0);" class="text-link">关于XXX的重点督办事项</a><span class="label label-warning" >关注</span></td>
  308. <td>XX</td>
  309. <td>2019年1月3日</td>
  310. <td>2019年2月1日</td>
  311. <td><div class="progress progress-lg">
  312. <div class="progress-bar progress-bar-danger" style="width:45%;" role="progressbar">45%</div>
  313. </div>
  314. </td>
  315. </tr>
  316. </tbody>
  317. </table>
  318. </div>
  319. </div>
  320. </div>
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. <!-- 第二部分 结束-->
  326. </div>
  327. </body>
  328. </html>