reportView.jsp 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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. </script>
  9. </head>
  10. <body>
  11. <div class="single-form">
  12. <div class="container${container} view-form">
  13. <div class="form-group layui-row first lw12">
  14. <div class="form-group-label"><h2>基本信息</h2></div>
  15. <div class="layui-item layui-col-sm6">
  16. <label class="layui-form-label"><span class="require-item">*</span>报告名称:</label>
  17. <div class="layui-input-block with-icon">
  18. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectcontentinfo.projectReportData.name}"/>
  19. </div>
  20. </div>
  21. <div class="layui-item layui-col-sm6">
  22. <label class="layui-form-label"><span class="require-item">*</span>报告编号:</label>
  23. <div class="layui-input-block">
  24. <div class="input-group">
  25. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectcontentinfo.projectReportData.number}"/>
  26. <span class="input-group-btn">
  27. <label class="form-status">
  28. <c:choose>
  29. <c:when test="${not empty projectcontentinfo.projectReportData.status}">${fns:getDictLabel(projectcontentinfo.projectReportData.status, 'audit_state', '')}
  30. </c:when>
  31. <c:otherwise>新添</c:otherwise>
  32. </c:choose></label>
  33. </span>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="layui-item layui-col-sm6">
  38. <label class="layui-form-label"><span class="require-item">*</span>工作内容类型:</label>
  39. <div class="layui-input-block">
  40. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${fns:getContentTypeName(projectcontentinfo.projectReportData.type,"")}"/>
  41. </div>
  42. </div>
  43. <div class="layui-item layui-col-sm6">
  44. <label class="layui-form-label">成果类型:</label>
  45. <div class="layui-input-block">
  46. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${fns:getMainDictLabel(projectcontentinfo.projectReportData.achievementType, 'achievement_type', '')}"/>
  47. </div>
  48. </div>
  49. <div class="layui-item layui-col-sm6">
  50. <label class="layui-form-label">复核标准:</label>
  51. <div class="layui-input-block">
  52. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${fns:getMainDictLabel(projectcontentinfo.projectReportData.reviewStandard, 'reviewStandard', '')}"/>
  53. </div>
  54. </div>
  55. <div class="layui-item layui-col-sm6">
  56. <label class="layui-form-label">报告日期:</label>
  57. <div class="layui-input-block">
  58. <input id="provideDate" name="projectReportData.provideDate" type="text" htmlEscape="false" readonly="true" class="laydate-icondate form-control layer-date required layui-input laydate-icon"
  59. value="<fmt:formatDate value="${projectcontentinfo.projectReportData.reportDate}" pattern="yyyy-MM-dd"/>"/>
  60. </div>
  61. </div>
  62. <%--<div class="layui-item layui-col-sm6">
  63. <label class="layui-form-label">签字造价师一:</label>
  64. <div class="layui-input-block">
  65. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectcontentinfo.projectReportData.signCostOne.name}"/>
  66. </div>
  67. </div>
  68. <div class="layui-item layui-col-sm6">
  69. <label class="layui-form-label">签字造价师二:</label>
  70. <div class="layui-input-block">
  71. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectcontentinfo.projectReportData.signCostTwo.name}"/>
  72. </div>
  73. </div>--%>
  74. <div class="layui-item layui-col-sm6">
  75. <label class="layui-form-label">签章类型:</label>
  76. <div class="layui-input-block">
  77. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${projectcontentinfo.projectReportData.reportType}"/>
  78. </div>
  79. </div>
  80. <div class="layui-item layui-col-sm6">
  81. <label class="layui-form-label">归档状态:</label>
  82. <div class="layui-input-block">
  83. <input htmlEscape="false" readonly="true" class="form-control layui-input" value="${fns:getDictLabel(projectcontentinfo.projectReportData.fileStatus, 'record_state', '')}"/>
  84. </div>
  85. </div>
  86. <c:if test="${not empty projectcontentinfo.projectReportData.invalidStatus}">
  87. <div class="layui-item layui-col-sm6">
  88. <label class="layui-form-label">作废原因:</label>
  89. <div class="layui-input-block">
  90. <textarea path="remarks" htmlEscape="false" readonly="true" rows="3" maxlength="20" class="form-control" >${projectcontentinfo.projectReportData.remarks}</textarea>
  91. </div>
  92. </div>
  93. </c:if>
  94. </div>
  95. <div class="form-group layui-row first lw12">
  96. <div class="form-group-label"><h2>项目信息</h2></div>
  97. <div class="layui-item layui-col-sm6">
  98. <label class="layui-form-label">送审价(元):</label>
  99. <div class="layui-input-block with-icon">
  100. <input id="projectReportData.reviewFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.reviewFee}" pattern="#,##0.00#"/>" />
  101. </div>
  102. </div>
  103. <div class="layui-item layui-col-sm6">
  104. <label class="layui-form-label">审定价(元):</label>
  105. <div class="layui-input-block with-icon">
  106. <input id="projectReportData.approvalFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.approvalFee}" pattern="#,##0.00#"/>" />
  107. </div>
  108. </div>
  109. <div class="layui-item layui-col-sm6">
  110. <label class="layui-form-label">合同价(元):</label>
  111. <div class="layui-input-block with-icon">
  112. <input id="projectReportData.contractFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.contractFee}" pattern="#,##0.00#"/>" />
  113. </div>
  114. </div>
  115. <div class="layui-item layui-col-sm6">
  116. <label class="layui-form-label">核增核减额(元):</label>
  117. <div class="layui-input-block with-icon">
  118. <input id="projectReportData.verifyFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.verifyFee}" pattern="#,##0.00#"/>" />
  119. </div>
  120. </div>
  121. <div class="layui-item layui-col-sm6">
  122. <label class="layui-form-label">核增核减率(%):</label>
  123. <div class="layui-input-block with-icon">
  124. <input id="projectReportData.verifyRate" readonly="true" class="form-control layui-input number" value="${projectcontentinfo.projectReportData.verifyRate}"/>
  125. </div>
  126. </div>
  127. <div class="layui-item layui-col-sm6">
  128. <label class="layui-form-label">咨询标的额(元):</label>
  129. <div class="layui-input-block with-icon">
  130. <input id="projectReportData.consultFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.consultFee}" pattern="#,##0.00#"/>" />
  131. </div>
  132. </div>
  133. <div class="layui-item layui-col-sm6">
  134. <label class="layui-form-label">土建造价(元):</label>
  135. <div class="layui-input-block with-icon">
  136. <input id="projectReportData.buildingFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.buildingFee}" pattern="#,##0.00#"/>" />
  137. </div>
  138. </div>
  139. <div class="layui-item layui-col-sm6">
  140. <label class="layui-form-label">安装造价(元):</label>
  141. <div class="layui-input-block with-icon">
  142. <input id="projectReportData.installFee" readonly="true" class="form-control layui-input number" value="<fmt:formatNumber value="${projectcontentinfo.projectReportData.installFee}" pattern="#,##0.00#"/>"/>
  143. </div>
  144. </div>
  145. </div>
  146. <div class="form-group layui-row first lw12">
  147. <div class="form-group-label"><h2>依据性资料明细</h2></div>
  148. <div class="layui-item layui-col-xs12 form-table-container">
  149. <table id="contentTableBase" class="table table-bordered table-condensed details">
  150. <thead>
  151. <tr>
  152. <th class="hide"></th>
  153. <th >资料编号</th>
  154. <th >资料名称</th>
  155. <th >资料类别</th>
  156. <th >上传人</th>
  157. <th >上传日期</th>
  158. </tr>
  159. </thead>
  160. <tbody id="workBaseDataList">
  161. <c:forEach items="${projectcontentinfo.projectReportData.projectBasedDataList}" var="projectBasedData" varStatus="idx">
  162. <tr>
  163. <td class="hide">
  164. <input type="hidden" id="workBaseDataList${idx.index}_id" value="${projectBasedData.id}">
  165. </td>
  166. <td style="text-align:center;">
  167. ${projectBasedData.number}
  168. </td>
  169. <td style="text-align:center;">
  170. ${projectBasedData.name}
  171. </td>
  172. <td style="text-align:center;">
  173. ${fns:getDictLabel(projectBasedData.type, 'project_document_type', '')}
  174. </td>
  175. <td style="text-align:center;">
  176. ${projectBasedData.uploadUser.name}
  177. </td>
  178. <td style="text-align:center;">
  179. <fmt:formatDate value="${projectBasedData.uploadDate}" pattern="yyyy-MM-dd"/>
  180. </td>
  181. </tr>
  182. </c:forEach>
  183. </tbody>
  184. </table>
  185. </div>
  186. </div>
  187. <div class="form-group layui-row first lw12">
  188. <div class="form-group-label"><h2>依据工作内容</h2></div>
  189. <!-- 表格 -->
  190. <div class="layui-item layui-col-xs12" style="padding:0 16px;">
  191. <table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable">
  192. <thead>
  193. <tr>
  194. <th style="text-align: center;width:20%">工作内容编号</th>
  195. <th style="text-align: center;width:20%">工作内容名称</th>
  196. <th style="text-align: center;width:20%">工作内容类型</th>
  197. <th style="text-align: center;width:20%">负责人</th>
  198. <th style="text-align: center;width:20%">创建时间</th>
  199. </tr>
  200. </thead>
  201. <tbody id="projectContentDataList">
  202. <c:forEach items="${projectcontentinfo.projectReportData.projectContentDataList}" var="projectContentData" varStatus="index">
  203. <tr>
  204. <td style="text-align:center;">
  205. ${projectContentData.number}
  206. </td>
  207. <td style="text-align:center;">
  208. ${projectContentData.name}
  209. </td>
  210. <td style="text-align:center;">
  211. ${fns:getContentTypeName(projectContentData.type,"")}
  212. </td>
  213. <td style="text-align:center;">
  214. ${projectContentData.master.name}
  215. </td>
  216. <td style="text-align:center;">
  217. <fmt:formatDate value="${projectContentData.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
  218. </td>
  219. </tr>
  220. </c:forEach>
  221. </tbody>
  222. </table>
  223. </div>
  224. </div>
  225. <div class="form-group layui-row">
  226. <div class="form-group-label"><h2>报告文件</h2></div>
  227. <div class="layui-item layui-col-xs12" style="padding:0 16px;">
  228. <table id="upTable" class="table table-bordered table-condensed details">
  229. <thead>
  230. <tr>
  231. <%-- <th>序号</th>--%>
  232. <th>文件预览</th>
  233. <th>上传人</th>
  234. <th>上传时间</th>
  235. <th width="200px">操作</th>
  236. </tr>
  237. </thead>
  238. <tbody id="file_attachment">
  239. <c:forEach items="${projectcontentinfo.projectReportData.workAttachments}" var = "workClientAttachment" varStatus="status">
  240. <tr>
  241. <%-- <td>${status.index + 1}</td>--%>
  242. <c:choose>
  243. <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
  244. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
  245. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
  246. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
  247. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
  248. <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}"></td>
  249. </c:when>
  250. <c:otherwise>
  251. <c:choose>
  252. <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
  253. <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>
  254. </c:when>
  255. <c:otherwise>
  256. <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>
  257. </c:otherwise>
  258. </c:choose>
  259. </c:otherwise>
  260. </c:choose>
  261. <td>${workClientAttachment.createBy.name}</td>
  262. <td><fmt:formatDate value="${workClientAttachment.createDate}" type="both"/></td>
  263. <td class="op-td">
  264. <div class="op-btn-box" >
  265. <c:set var="signflag" value="${fns:getSysParam('sign_flag',fns:getUser())}"/>
  266. <c:choose>
  267. <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')
  268. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'doc')
  269. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'docx')
  270. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xls')
  271. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xlsx')
  272. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'ppt')
  273. or fn:containsIgnoreCase(workClientAttachment.attachmentName,'pptx')}">
  274. <c:if test="${not empty gzr && gzr eq 'gzr'}">
  275. <a href="${ctx}/isignature/iSignatureDocument/sign?recordId=${workClientAttachment.id}&type=report" class="op-btn op-btn-sign" target="_blank">签章</a>
  276. </c:if>
  277. <a href="javascript:void(0);" onclick="openDialogView('查看电子签章信息', '${ctx}/isignature/iSignatureDocument/form?recordId=${workClientAttachment.id}','95%', '95%')" class="op-btn op-btn-view" ><i class="fa fa-search-plus"></i> 查看</a>
  278. <c:choose>
  279. <c:when test="${signflag == '是'}">
  280. <a href="javascript:location.href='${ctx}/isignature/iSignatureDocument/download?recordId=${workClientAttachment.id}'" class="op-btn op-btn-download"><i class="fa fa-download"></i>&nbsp;下载</a>
  281. </c:when>
  282. <c:otherwise>
  283. <a href="javascript:location.href='${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i>&nbsp;下载</a>
  284. </c:otherwise>
  285. </c:choose>
  286. </c:when>
  287. <c:otherwise>
  288. <a href="javascript:location.href='${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i>&nbsp;下载</a>
  289. </c:otherwise>
  290. </c:choose>
  291. </div>
  292. </td>
  293. </tr>
  294. </c:forEach>
  295. </tbody>
  296. </table>
  297. </div>
  298. </div>
  299. <div class="form-group layui-row">
  300. <div class="form-group-label"><h2>自检</h2></div>
  301. <div class="layui-item layui-col-xs12 form-table-container">
  302. <table id="contentTable2" class="table details table-bordered table-condensed">
  303. <thead>
  304. <tr>
  305. <th style="text-align: center;width:15%">序号</th>
  306. <th style="text-align: center;width:70%">复核内容及评分标准</th>
  307. <th style="text-align: center;width:15%">操作</th>
  308. </tr>
  309. </thead>
  310. <tbody id="projectContentDataList2">
  311. <c:forEach items="${projectcontentinfo.projectReportData.projectReviewList}" var="projectReview" varStatus="index">
  312. <tr>
  313. <td>
  314. <input id="projectReviewList${index.index}_id" name="projectReportData.projectReviewList[${index.index}].id" type="hidden" value="${projectReview.id}"/>
  315. <input id="projectReviewList${index.index}_delFalg" name="projectReportData.projectReviewList[${index.index}].delFalg" type="hidden" value="1"/>
  316. <input id="projectReviewList${index.index}_remarks" name="projectReportData.projectReviewList[${index.index}].remarks" type="hidden" value="${projectReview.remarks}"/>
  317. ${index.index + 1}
  318. </td>
  319. <td>
  320. ${projectReview.standardDetail}
  321. </td>
  322. <td>
  323. <c:choose>
  324. <c:when test="${not empty projectReview.remarks}">
  325. <div class="check-ok">
  326. <i class="fa fa-check"></i>
  327. </div>
  328. </c:when>
  329. <c:otherwise>
  330. <div id = "check1${projectReview.id}">
  331. </div>
  332. <div id = "check2${projectReview.id}" class="check-ok" style="display: none">
  333. <i class="fa fa-check"></i>
  334. </div>
  335. </c:otherwise>
  336. </c:choose>
  337. </td>
  338. </tr>
  339. </c:forEach>
  340. </tbody>
  341. </table>
  342. </div>
  343. </div>
  344. <c:if test="${not empty projectcontentinfo.projectReportData.act.procInsId}">
  345. <div class="form-group layui-row">
  346. <div class="form-group-label"><h2>审批意见</h2></div>
  347. <div class="layui-item layui-col-xs12 with-textarea" >
  348. <label class="layui-form-label">审批意见:</label>
  349. <div class="layui-input-block">
  350. <textarea name="projectReportData.act.comment" class="form-control" rows="4" maxlength="127" ></textarea>
  351. </div>
  352. </div>
  353. </div>
  354. </c:if>
  355. <c:if test="${not empty projectcontentinfo.projectReportData.act.procInsId}">
  356. <div class="form-group layui-row">
  357. <div class="form-group-label"><h2>审批流程</h2></div>
  358. <div class="layui-item layui-col-xs12 form-table-container" >
  359. <act:flowChart procInsId="${projectcontentinfo.projectReportData.act.procInsId}"/>
  360. <act:histoicFlow procInsId="${projectcontentinfo.projectReportData.act.procInsId}"/>
  361. </div>
  362. </div>
  363. </c:if>
  364. <div class="form-group layui-row page-end"></div>
  365. </div>
  366. </div>
  367. </body>
  368. </html>