workThreeGradeExaminationView.jsp 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>工程项目信息管理</title>
  6. <meta name="decorator" content="default"/>
  7. <script type="text/javascript">
  8. $(function(){
  9. $("img").not(".upload_ico").each(function () {
  10. var num = 1 ;
  11. $(this).click(function () {
  12. var flag = num%2;
  13. if(flag == 1){
  14. $(this).css("width","90%");
  15. $(this).css("height","90%");
  16. num++;
  17. }else if(flag ==0){
  18. $(this).css("width","50px");
  19. $(this).css("height","50px");
  20. num++;
  21. }
  22. })
  23. });
  24. })
  25. var validateForm;
  26. function doSubmit(obj){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
  27. if(validateForm.form()){
  28. $("#plan").val(obj);
  29. $("#name").val("allocation");
  30. $("#inputForm").submit();
  31. return true;
  32. }
  33. return false;
  34. }
  35. $(document).ready(function() {
  36. validateForm = $("#inputForm").validate({
  37. submitHandler: function(form){
  38. loading('正在提交,请稍等...');
  39. form.submit();
  40. },
  41. errorContainer: "#messageBox",
  42. errorPlacement: function(error, element) {
  43. $("#messageBox").text("输入有误,请先更正。");
  44. if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
  45. error.appendTo(element.parent().parent());
  46. } else {
  47. error.insertAfter(element);
  48. }
  49. }
  50. });
  51. laydate.render({
  52. elem: '#workStartDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
  53. event: 'focus' //响应事件。如果没有传入event,则按照默认的click
  54. });
  55. laydate.render({
  56. elem: '#workEndDate', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎,因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
  57. event: 'focus' //响应事件。如果没有传入event,则按照默认的click
  58. });
  59. $("#attachment_btn_report").click(function () {
  60. $("#attachment_report").click();
  61. });
  62. $("#attachment_btn_basis").click(function () {
  63. $("#attachment_basis").click();
  64. });
  65. $("#attachment_btn_remote").click(function () {
  66. $("#attachment_remote").click();
  67. });
  68. $("#attachment_btn_summary").click(function () {
  69. $("#attachment_summary").click();
  70. });
  71. $("#attachment_btn_other").click(function () {
  72. $("#attachment_other").click();
  73. });
  74. var oneSize = $(".oneTab").size();
  75. for(var i = 0;i < oneSize;i++){
  76. var hei = $(".oneTab:eq("+i+")").parent().height()-20;
  77. $(".oneTab:eq("+i+")").css("height",hei)
  78. .css("vertical-align","middle")
  79. .css("line-height",hei+"px")
  80. }
  81. });
  82. function reportInsertTitle(tValue){
  83. $("#attachment_title_report_div").remove();
  84. var t1 = tValue.lastIndexOf("\\");
  85. if(t1 >= 0 && t1 < tValue.length){
  86. $("#attachment_title_report").text(tValue.substring(t1+1));
  87. $("#attachment_title_report").after("<div id='attachment_title_report_div' style='float: right'>&nbsp;&nbsp;<span id='attachment_delete' onclick='attachment_report_del()'style='color: red ; cursor: pointer;'>x</span></div>");
  88. }
  89. }
  90. function basisInsertTitle(tValue){
  91. $("#attachment_title_basis_div").remove();
  92. var t1 = tValue.lastIndexOf("\\");
  93. if(t1 >= 0 && t1 < tValue.length){
  94. $("#attachment_title_basis").text(tValue.substring(t1+1));
  95. $("#attachment_title_basis").after("<div id='attachment_title_basis_div' style='float: right'>&nbsp;&nbsp;<span id='attachment_basis_delete' onclick='attachment_basis_del()'style='color: red ; cursor: pointer;'>x</span></div>");
  96. }
  97. }
  98. function remoteInsertTitle(tValue){
  99. $("#attachment_title_remoteInsert_div").remove();
  100. var t1 = tValue.lastIndexOf("\\");
  101. if(t1 >= 0 && t1 < tValue.length){
  102. $("#attachment_title_remote").text(tValue.substring(t1+1));
  103. $("#attachment_title_remote").after("<div id='attachment_title_div' style='float: right'>&nbsp;&nbsp;<span id='attachment_remote_delete' onclick='attachment_remote_del()'style='color: red ; cursor: pointer;'>x</span></div>");
  104. }
  105. }
  106. function summaryInsertTitle(tValue){
  107. $("#attachment_title_summary_div").remove();
  108. var t1 = tValue.lastIndexOf("\\");
  109. if(t1 >= 0 && t1 < tValue.length){
  110. $("#attachment_title_summary").text(tValue.substring(t1+1));
  111. $("#attachment_title_summary").after("<div id='attachment_title_summary_div' style='float: right'>&nbsp;&nbsp;<span id='attachment_summary_delete' onclick='attachment_summary_del()'style='color: red ; cursor: pointer;'>x</span></div>");
  112. }
  113. }
  114. function otherInsertTitle(tValue){
  115. $("#attachment_title_other_div").remove();
  116. var t1 = tValue.lastIndexOf("\\");
  117. if(t1 >= 0 && t1 < tValue.length){
  118. $("#attachment_title_other").text(tValue.substring(t1+1));
  119. $("#attachment_title_other").after("<div id='attachment_title_other_div' style='float: right'>&nbsp;&nbsp;<span id='attachment_other_delete' onclick='attachment_other_del()'style='color: red ; cursor: pointer;'>x</span></div>");
  120. }
  121. }
  122. function attachment_report_del() {
  123. $("#attachment_report").val("");
  124. $("#attachment_title_report").text("");
  125. $("#attachment_report_delete").remove();
  126. $("#attachment_title_report_div").remove();
  127. }
  128. function attachment_basis_del() {
  129. $("#attachment_basis").val("");
  130. $("#attachment_title_basis").text("");
  131. $("#attachment_basis_delete").remove();
  132. $("#attachment_title_basis_div").remove();
  133. }
  134. function attachment_remote_del() {
  135. $("#attachment_remote").val("");
  136. $("#attachment_title_remote").text("");
  137. $("#attachment_remote_delete").remove();
  138. $("#attachment_title_remote_div").remove();
  139. }
  140. function attachment_summary_del() {
  141. $("#attachment_summary").val("");
  142. $("#attachment_title_summary").text("");
  143. $("#attachment_summary_delete").remove();
  144. $("#attachment_title_summary_div").remove();
  145. }
  146. function attachment_other_del() {
  147. $("#attachment_other").val("");
  148. $("#attachment_title_other").text("");
  149. $("#attachment_other_delete").remove();
  150. $("#attachment_title_other_div").remove();
  151. }
  152. </script>
  153. </head>
  154. <body class="hideScroll">
  155. <form:form id="inputForm" modelAttribute="workEngineeringProject" action="${ctx}/projectManagement/projectManagement/save" method="post" enctype="multipart/form-data" class="form-horizontal">
  156. <form:hidden path="id"/>
  157. <form:hidden path="name"/>
  158. <form:hidden path="plan"/>
  159. <sys:message content="${message}"/>
  160. <div class="wrapper wrapper-content">
  161. <div class="ibox">
  162. <div class="ibox-content">
  163. <div class="col-sm-12">
  164. <div class="col-sm-2 gray-bg text-center oneTab">
  165. <label>文件信息</label>
  166. </div>
  167. <div class="col-sm-10 " >
  168. <table class="table table-striped table-bordered table-hover table-condensed dataTables-example">
  169. <tbody>
  170. <tr>
  171. <td class="width-35" colspan="4">
  172. <label class="pull-left">报告文件:</label>
  173. <table id="workReportList" style="text-align: center;width: 100%;margin-top:10px;" class="table table-striped table-bordered table-condensed" >
  174. <tr>
  175. <%-- <td>序号</td>--%><td>文件名</td><td>上传人</td><td>上传时间</td><td>操作</td>
  176. </tr>
  177. <c:forEach items="${workReportList}" var="attachment" varStatus="status">
  178. <tr>
  179. <%--<td>${status.index + 1}</td>--%>
  180. <%--<c:choose>
  181. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  182. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  183. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  184. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  185. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  186. </c:when>
  187. <c:otherwise>
  188. <c:choose>
  189. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  190. <td><a href="${attachment.url}">${attachment.attachmentName}</a></td>
  191. </c:when>
  192. <c:otherwise>
  193. <td><a href="javascript:void(0)" onclick="openDialogViewPre('预览','${ctx}/previewController/previewUrl?fileUrl=${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  194. </c:otherwise>
  195. </c:choose>
  196. </c:otherwise>
  197. </c:choose>--%>
  198. <c:choose>
  199. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  200. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  201. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  202. or fn:containsIgnoreCase(attachment.attachmentName,'bmp')
  203. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  204. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  205. </c:when>
  206. <c:otherwise>
  207. <c:choose>
  208. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  209. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%','1')">${attachment.attachmentName}</a></td>
  210. </c:when>
  211. <c:otherwise>
  212. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('${ctx}/previewController/previewUrl?fileUrl=${workClientAttachment.url}','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  213. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openword','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  214. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  215. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openexcel','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  216. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openppt','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  217. </c:otherwise>
  218. </c:choose>
  219. </c:otherwise>
  220. </c:choose>
  221. <td>${attachment.attachmentUser}</td>
  222. <td><fmt:formatDate value="${attachment.createDate}" pattern="yyyy-MM-dd"/></td>
  223. <td>
  224. <a href="${ctx}/workfullmanage/workFullManage/downLoadAttach?file=${attachment.url}" class="btn btn-success btn-xs">下载</a>
  225. </td>
  226. </tr>
  227. </c:forEach>
  228. </table>
  229. </td>
  230. </tr>
  231. <tr>
  232. <td class="width-35" colspan="4">
  233. <label class="pull-left">依据性资料:</label>
  234. <table id="workBasisInformationList" style="text-align: center;width: 100%;margin-top:10px;" class="table table-striped table-bordered table-condensed" >
  235. <tr>
  236. <%--<td>序号</td>--%><td>文件名</td><td>上传人</td><td>上传时间</td><td>操作</td>
  237. </tr>
  238. <c:forEach items="${workBasisInformationList}" var="attachment" varStatus="status">
  239. <tr>
  240. <%--<td>${status.index + 1}</td>--%>
  241. <%-- <c:choose>
  242. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  243. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  244. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  245. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  246. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  247. </c:when>
  248. <c:otherwise>
  249. <c:choose>
  250. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  251. <td><a href="${attachment.url}">${attachment.attachmentName}</a></td>
  252. </c:when>
  253. <c:otherwise>
  254. <td><a href="javascript:void(0)" onclick="openDialogViewPre('预览','${ctx}/previewController/previewUrl?fileUrl=${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  255. </c:otherwise>
  256. </c:choose>
  257. </c:otherwise>
  258. </c:choose>--%>
  259. <c:choose>
  260. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  261. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  262. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  263. or fn:containsIgnoreCase(attachment.attachmentName,'bmp')
  264. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  265. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  266. </c:when>
  267. <c:otherwise>
  268. <c:choose>
  269. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  270. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%','1')">${attachment.attachmentName}</a></td>
  271. </c:when>
  272. <c:otherwise>
  273. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('${ctx}/previewController/previewUrl?fileUrl=${workClientAttachment.url}','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  274. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openword','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  275. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  276. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openexcel','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  277. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openppt','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  278. </c:otherwise>
  279. </c:choose>
  280. </c:otherwise>
  281. </c:choose>
  282. <td>${attachment.attachmentUser}</td>
  283. <td><fmt:formatDate value="${attachment.createDate}" pattern="yyyy-MM-dd"/></td>
  284. <td>
  285. <a href="${ctx}/workfullmanage/workFullManage/downLoadAttach?file=${attachment.url}" class="btn btn-success btn-xs">下载</a>
  286. </td>
  287. </tr>
  288. </c:forEach>
  289. </table>
  290. </td>
  291. </tr>
  292. <tr>
  293. <td class="width-35" colspan="4">
  294. <label class="pull-left">过程控制资料:</label>
  295. <table id="workRemoteControlList" style="text-align: center;width: 100%;margin-top:10px;" class="table table-striped table-bordered table-condensed" >
  296. <tr>
  297. <%--<td>序号</td>--%><td>文件名</td><td>上传人</td><td>上传时间</td><td>操作</td>
  298. </tr>
  299. <c:forEach items="${workRemoteControlList}" var="attachment" varStatus="status">
  300. <tr>
  301. <%--<td>${status.index + 1}</td>--%>
  302. <%--<c:choose>
  303. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  304. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  305. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  306. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  307. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  308. </c:when>
  309. <c:otherwise>
  310. <c:choose>
  311. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  312. <td><a href="${attachment.url}">${attachment.attachmentName}</a></td>
  313. </c:when>
  314. <c:otherwise>
  315. <td><a href="javascript:void(0)" onclick="openDialogViewPre('预览','${ctx}/previewController/previewUrl?fileUrl=${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  316. </c:otherwise>
  317. </c:choose>
  318. </c:otherwise>
  319. </c:choose>--%>
  320. <c:choose>
  321. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  322. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  323. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  324. or fn:containsIgnoreCase(attachment.attachmentName,'bmp')
  325. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  326. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  327. </c:when>
  328. <c:otherwise>
  329. <c:choose>
  330. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  331. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%','1')">${attachment.attachmentName}</a></td>
  332. </c:when>
  333. <c:otherwise>
  334. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('${ctx}/previewController/previewUrl?fileUrl=${workClientAttachment.url}','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  335. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openword','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  336. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  337. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openexcel','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  338. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openppt','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  339. </c:otherwise>
  340. </c:choose>
  341. </c:otherwise>
  342. </c:choose>
  343. <td>${attachment.attachmentUser}</td>
  344. <td><fmt:formatDate value="${attachment.createDate}" pattern="yyyy-MM-dd"/></td>
  345. <td>
  346. <a href="${ctx}/workfullmanage/workFullManage/downLoadAttach?file=${attachment.url}" class="btn btn-success btn-xs">下载</a>
  347. </td>
  348. </tr>
  349. </c:forEach>
  350. </table>
  351. </td>
  352. </tr>
  353. <tr>
  354. <td class="width-35" colspan="4">
  355. <label class="pull-left">汇总表:</label>
  356. <table id="workSummaryList" style="text-align: center;width: 100%;margin-top:10px;" class="table table-striped table-bordered table-condensed" >
  357. <tr>
  358. <%--<td>序号</td>--%><td>文件名</td><td>上传人</td><td>上传时间</td><td>操作</td>
  359. </tr>
  360. <c:forEach items="${workSummaryList}" var="attachment" varStatus="status">
  361. <tr>
  362. <%-- <td>${status.index + 1}</td>--%>
  363. <%--<c:choose>
  364. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  365. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  366. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  367. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  368. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  369. </c:when>
  370. <c:otherwise>
  371. <c:choose>
  372. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  373. <td><a href="${attachment.url}">${attachment.attachmentName}</a></td>
  374. </c:when>
  375. <c:otherwise>
  376. <td><a href="javascript:void(0)" onclick="openDialogViewPre('预览','${ctx}/previewController/previewUrl?fileUrl=${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  377. </c:otherwise>
  378. </c:choose>
  379. </c:otherwise>
  380. </c:choose>--%>
  381. <c:choose>
  382. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  383. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  384. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  385. or fn:containsIgnoreCase(attachment.attachmentName,'bmp')
  386. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  387. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  388. </c:when>
  389. <c:otherwise>
  390. <c:choose>
  391. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  392. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%','1')">${attachment.attachmentName}</a></td>
  393. </c:when>
  394. <c:otherwise>
  395. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('${ctx}/previewController/previewUrl?fileUrl=${workClientAttachment.url}','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  396. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openword','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  397. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  398. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openexcel','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  399. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openppt','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  400. </c:otherwise>
  401. </c:choose>
  402. </c:otherwise>
  403. </c:choose>
  404. <td>${attachment.attachmentUser}</td>
  405. <td><fmt:formatDate value="${attachment.createDate}" pattern="yyyy-MM-dd"/></td>
  406. <td>
  407. <a href="${ctx}/workfullmanage/workFullManage/downLoadAttach?file=${attachment.url}" class="btn btn-success btn-xs">下载</a>
  408. <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/workengineeringproject/workEngineeringProject/deleteFileFromAliyun?attachmentId=${attachment.id}&id=${workEngineeringProject.id}&type=2')" class="btn btn-primary btn-xs" >删除</a>
  409. </td>
  410. </tr>
  411. </c:forEach>
  412. </table>
  413. </td>
  414. </tr>
  415. <tr>
  416. <td class="width-35" colspan="4">
  417. <label class="pull-left">其他资料:</label>
  418. <table id="workOtherList" style="text-align: center;width: 100%;margin-top:10px;" class="table table-striped table-bordered table-condensed" >
  419. <tr>
  420. <%-- <td>序号</td>--%><td>文件名</td><td>上传人</td><td>上传时间</td><td>操作</td>
  421. </tr>
  422. <c:forEach items="${workOtherList}" var="attachment" varStatus="status">
  423. <tr>
  424. <%--<td>${status.index + 1}</td>--%>
  425. <%-- <c:choose>
  426. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  427. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  428. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  429. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  430. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  431. </c:when>
  432. <c:otherwise>
  433. <c:choose>
  434. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  435. <td><a href="${attachment.url}">${attachment.attachmentName}</a></td>
  436. </c:when>
  437. <c:otherwise>
  438. <td><a href="javascript:void(0)" onclick="openDialogViewPre('预览','${ctx}/previewController/previewUrl?fileUrl=${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  439. </c:otherwise>
  440. </c:choose>
  441. </c:otherwise>
  442. </c:choose>--%>
  443. <c:choose>
  444. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'jpg')
  445. or fn:containsIgnoreCase(attachment.attachmentName,'png')
  446. or fn:containsIgnoreCase(attachment.attachmentName,'gif')
  447. or fn:containsIgnoreCase(attachment.attachmentName,'bmp')
  448. or fn:containsIgnoreCase(attachment.attachmentName,'jpeg')}">
  449. <td><img src="${attachment.url}" width="50" height="50" alt="${attachment.attachmentName}"/></td>
  450. </c:when>
  451. <c:otherwise>
  452. <c:choose>
  453. <c:when test="${fn:containsIgnoreCase(attachment.attachmentName,'pdf')}">
  454. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%','1')">${attachment.attachmentName}</a></td>
  455. </c:when>
  456. <c:otherwise>
  457. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('${ctx}/previewController/previewUrl?fileUrl=${workClientAttachment.url}','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  458. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openword','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  459. <td><a href="javascript:void(0)" onclick="preview('预览','${attachment.url}','80%','80%')">${attachment.attachmentName}</a></td>
  460. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openexcel','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  461. <%--<td><a href="javascript:void(0)" onclick="POBrowser.openWindow('/ruihua/openppt','80%','80%')">${workClientAttachment.attachmentName}</a></td>--%>
  462. </c:otherwise>
  463. </c:choose>
  464. </c:otherwise>
  465. </c:choose>
  466. <td>${attachment.attachmentUser}</td>
  467. <td><fmt:formatDate value="${attachment.createDate}" pattern="yyyy-MM-dd"/></td>
  468. <td>
  469. <a href="${ctx}/workfullmanage/workFullManage/downLoadAttach?file=${attachment.url}" class="btn btn-success btn-xs">下载</a>
  470. </td>
  471. </tr>
  472. </c:forEach>
  473. </table>
  474. </td>
  475. </tr>
  476. </tbody>
  477. </table>
  478. </div>
  479. </div>
  480. <div class="col-sm-12 m-t-xs">
  481. <div class="col-sm-2 gray-bg text-center oneTab">
  482. <label>价格信息</label>
  483. </div>
  484. <div class="col-sm-10 " >
  485. <table class="table table-striped table-bordered table-hover table-condensed dataTables-example">
  486. <tbody>
  487. <tr>
  488. <td class="width-15 active"><label class="pull-right">送审价(元):</label></td>
  489. <td class="width-35">
  490. ${workEngineeringProject.workEngineeringPrice.sendPrice}
  491. </td>
  492. <td class="width-15 active"><label class="pull-right">审定价(元):</label></td>
  493. <td class="width-35">
  494. ${workEngineeringProject.workEngineeringPrice.approvedPrice}
  495. </td>
  496. </tr>
  497. <tr>
  498. <td class="width-15 active"><label class="pull-right">合同价(元):</label></td>
  499. <td class="width-35">
  500. ${workEngineeringProject.workEngineeringPrice.contractPrice}
  501. </td>
  502. <td class="width-15 active"><label class="pull-right">核增核减额(元):</label></td>
  503. <td class="width-35">
  504. ${workEngineeringProject.workEngineeringPrice.addEditAmount}
  505. </td>
  506. </tr>
  507. <tr>
  508. <td class="width-15 active"><label class="pull-right">核增核减率(元):</label></td>
  509. <td class="width-35">
  510. ${workEngineeringProject.workEngineeringPrice.addEditRate}
  511. </td>
  512. <td class="width-15 active"><label class="pull-right">咨询标的额(元):</label></td>
  513. <td class="width-35">
  514. ${workEngineeringProject.workEngineeringPrice.consultAmount}
  515. </td>
  516. </tr>
  517. <tr>
  518. <td class="width-15 active"><label class="pull-right">其中土建造价(元):</label></td>
  519. <td class="width-35">
  520. ${workEngineeringProject.workEngineeringPrice.civilEngineeringCost}
  521. </td>
  522. <td class="width-15 active"><label class="pull-right">其中安装造价(元):</label></td>
  523. <td class="width-35">
  524. ${workEngineeringProject.workEngineeringPrice.installationCost}
  525. </td>
  526. </tr>
  527. </tbody>
  528. </table>
  529. </div>
  530. </div>
  531. <div class="col-sm-12 m-t-xs">
  532. <div class="col-sm-2 gray-bg text-center oneTab">
  533. <label>合同信息</label>
  534. </div>
  535. <div class="col-sm-10 " >
  536. <table class="table table-striped table-bordered table-hover table-condensed dataTables-example">
  537. <tbody>
  538. <c:choose>
  539. <c:when test="${workEngineeringProject.isExt eq 1}">
  540. <tr>
  541. <td class="width-15 active"><label class="pull-right">合同名称:<font color="red">*</font></label></td>
  542. <td class="width-35" colspan="3">
  543. ${workEngineeringProject.contractInfoName}
  544. </td>
  545. </tr>
  546. </c:when>
  547. <c:otherwise>
  548. <tr>
  549. <td class="width-15 active"><label class="pull-right">合同名称:<font color="red">*</font></label></td>
  550. <td class="width-35" colspan="3">
  551. ${workEngineeringProject.contractId.name}
  552. </td>
  553. </tr>
  554. <tr>
  555. <td class="width-15 active"><label class="pull-right">合同编号:<font color="red">*</font></label></td>
  556. <td class="width-35">
  557. ${workEngineeringProject.contractId.contractNum}
  558. </td>
  559. </tr>
  560. </c:otherwise>
  561. </c:choose>
  562. </tbody>
  563. </table>
  564. </div>
  565. </div>
  566. <div class="col-sm-12 m-t-xs">
  567. <div class="col-sm-2 gray-bg text-center oneTab">
  568. <label>项目信息</label>
  569. </div>
  570. <div class="col-sm-10 " >
  571. <table class="table table-striped table-bordered table-hover table-condensed dataTables-example">
  572. <tbody>
  573. <tr>
  574. <td class="width-15 active">项目名称:</td>
  575. <td class="width-35" colspan="3">
  576. <span title="${workEngineeringProject.projectId.name}">${fns:abbr(workEngineeringProject.projectId.name,30)}</span>
  577. </td>
  578. </tr>
  579. <tr>
  580. <td class="width-15 active">项目编号:</td>
  581. <td class="width-35">
  582. <span title="${workEngineeringProject.projectId.number}">${fns:abbr(workEngineeringProject.projectId.number,30)}</span>
  583. </td>
  584. <td class="width-15 active">业务类型:</td>
  585. <td class="width-35">
  586. ${fns:getMainDictLabel(workEngineeringProject.businessType, 'business_type', '')}
  587. </td>
  588. </tr>
  589. <tr>
  590. <td class="width-15 active"><label class="pull-right">预送审金额:</label></td>
  591. <td class="width-35">
  592. ${workEngineeringProject.preTrialAmount}
  593. </td>
  594. </tr>
  595. </tbody>
  596. </table>
  597. </div>
  598. </div>
  599. <div class="col-sm-12 m-t-xs">
  600. <div class="col-sm-2 gray-bg text-center oneTab">
  601. <label>客户信息</label>
  602. </div>
  603. <div class="col-sm-10 " >
  604. <table class="table table-striped table-bordered table-hover table-condensed dataTables-example">
  605. <tbody>
  606. <tr>
  607. <td class="width-15 active"><label class="pull-right">客户单位:<font color="red">*</font></label></td>
  608. <td class="width-35" colspan="3">
  609. ${workEngineeringProject.workClientInfo.name}
  610. </td>
  611. </tr>
  612. <tr>
  613. <td class="width-15 active"><label class="pull-right">联系人姓名:</label></td>
  614. <td class="width-35">
  615. ${workEngineeringProject.workClientLinkman.name}
  616. </td>
  617. <td class="width-15 active"><label class="pull-right">职务:</label></td>
  618. <td class="width-35">
  619. ${workEngineeringProject.workClientLinkman.position}
  620. </td>
  621. </tr>
  622. <tr>
  623. <td class="width-15 active"><label class="pull-right"> 联系方式:</label></td>
  624. <td class="width-35">
  625. ${workEngineeringProject.workClientLinkman.linkPhone}
  626. </td>
  627. <td class="width-15 active"><label class="pull-right">E-mail:</label></td>
  628. <td class="width-35">
  629. ${workEngineeringProject.workClientLinkman.email}
  630. </td>
  631. </tr>
  632. </tbody>
  633. </table>
  634. </div>
  635. </div>
  636. <div class="col-sm-12 m-t-xs">
  637. <div class="col-sm-2 gray-bg text-center oneTab">
  638. <label>人员安排</label>
  639. </div>
  640. <div class="col-sm-10 " >
  641. <table class="table table-striped table-bordered table-hover table-condensed dataTables-example">
  642. <tbody>
  643. <tr>
  644. <td class="width-15 active"><label class="pull-right">主办公司/部门</br>项目负责人:<font color="red">*</font></label></td>
  645. <td class="width-35">
  646. ${workEngineeringProject.hostOfficeMasterName}
  647. </td>
  648. <td class="width-15 active"><label class="pull-right">协办公司/部门</br>项目负责人:</label></td>
  649. <td class="width-35">
  650. ${workEngineeringProject.jointlyOfficeMasterName}
  651. </td>
  652. </tr>
  653. <tr>
  654. <td class="width-15 active"><label class="pull-right">主办公司/部门</br>项目组成员:</label></td>
  655. <td class="width-35" colspan="3">
  656. ${workEngineeringProject.hostOfficeMemberNames}
  657. </td>
  658. </tr>
  659. <tr>
  660. <td class="width-15 active"><label class="pull-right">协办公司/部门</br>项目组成员:</label></td>
  661. <td class="width-35" colspan="3">
  662. ${workEngineeringProject.jointlyOfficeMemberNames}
  663. </td>
  664. </tr>
  665. </tbody>
  666. </table>
  667. </div>
  668. </form:form>
  669. </div>
  670. </div>
  671. </div>
  672. </div>
  673. </div>
  674. </body>
  675. </html>