detailViewYjzj.jsp 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
  4. <%@ page isELIgnored="false"%>
  5. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  6. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  7. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta charset="utf-8" />
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  13. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
  14. <title>项目信息</title>
  15. </head>
  16. <jsp:include page="../../common/common-meta-include.jsp"></jsp:include>
  17. <jsp:include page="../../common/common-js-include.jsp"></jsp:include>
  18. <jsp:include page="../../common/common-css-include.jsp"></jsp:include>
  19. <style>
  20. .project-title{
  21. width:100%;
  22. margin:17px 0;
  23. font-weight: 500;
  24. font-size: 27px;
  25. color: #333333;
  26. text-align:center;
  27. }
  28. .project-status{
  29. display:flex;
  30. align-items:center;
  31. justify-content:center;
  32. width:100%;
  33. height: 45px;
  34. font-weight: 400;
  35. font-size: 14px;
  36. color: #333333;
  37. background: rgba(28,86,163,0.05);
  38. }
  39. /*.project-status-light img{*/
  40. /* width:18px;*/
  41. /* height:20px;*/
  42. /* margin-top:-3px;*/
  43. /*}*/
  44. .project-status-offset,
  45. .project-status-info{
  46. height:14px;
  47. margin-left:10px;
  48. padding-left:10px;
  49. line-height:14px;
  50. box-sizing:border-box;
  51. color: #999999;
  52. font-size: 12px;
  53. }
  54. .project-status-info button{
  55. width:fit-content;
  56. height:18px;
  57. margin:-2px 2px 0 2px;
  58. padding:2px;
  59. box-sizing:border-box;
  60. line-height:14px;
  61. color:#fff;
  62. border-radius:2px;
  63. cursor:pointer;
  64. }
  65. .project-status-plan{
  66. display:flex;
  67. align-items:center;
  68. }
  69. .plan-box{
  70. display:flex;
  71. align-items:center;
  72. height:14px;
  73. margin-left:10px;
  74. padding-left:10px;
  75. line-height:14px;
  76. box-sizing:border-box;
  77. }
  78. .plan-icon{
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. width: 16px;
  83. height: 16px;
  84. margin-right:3px;
  85. border-radius: 50%;
  86. color: #fff;
  87. background: gray;
  88. }
  89. .plan-icon-done{
  90. background: #4979cf;
  91. }
  92. .light-rgb{
  93. width:32px;
  94. height:32px;
  95. margin: auto;
  96. }
  97. .page-table{
  98. margin: 0 0 22px !important;
  99. }
  100. .table_box .table1 .label{
  101. color:#999;
  102. }
  103. .right_title{
  104. /*margin-bottom: 20px;*/
  105. }
  106. .layui-layout::-webkit-scrollbar{
  107. width: 0;
  108. }
  109. .amt-value{
  110. font-weight: bold;
  111. color: #1C56A3;
  112. }
  113. .amt-rate{
  114. color: #FF3300;
  115. }
  116. </style>
  117. <body>
  118. <div id="app"></div>
  119. <template id="template">
  120. <div class="layui-layout layui-layout-admin" style="padding: 0 20px 150px;overflow: auto">
  121. <input type="hidden" id="subId" value="${sunInfo.id }"/>
  122. <input type="hidden" id="projectName" value="${sunInfo.sub_name }"/>
  123. <input type="hidden" id="unitName" value="${sunInfo.unitName }"/>
  124. <!-- 内容区域 -->
  125. <div class="right_title">
  126. <div class="project-title">
  127. <c:choose>
  128. <c:when test="${sunInfo.isBl == '1'}">
  129. <div>${sunInfo.sub_name}</div>
  130. </c:when>
  131. <c:otherwise>
  132. <div>${sunInfo.sub_name}</div>
  133. </c:otherwise>
  134. </c:choose>
  135. </div>
  136. <div class="project-status">
  137. <div class="project-status-light">
  138. <c:choose>
  139. <c:when test="${sunInfo.status_fgw == '2'}">
  140. <image class="light-rgb" src="${WebSite.asset}/css/images/light-red.png"></image>:${sunInfo.problemReason}
  141. </c:when>
  142. <c:when test="${sunInfo.status_fgw == '1'}">
  143. <div><image class="light-rgb" src="${WebSite.asset}/css/images/light-yellow.png"></image>:${sunInfo.problemReason }</div>
  144. </c:when>
  145. <c:otherwise>
  146. <div><image class="light-rgb" src="${WebSite.asset}/css/images/light-green.png"></image></div>
  147. </c:otherwise>
  148. </c:choose>
  149. </div>
  150. <%--
  151. <div class="project-status-offset">偏离度:<span class="amt-value">${sunInfo.offset}%</span></div>--%>
  152. <div class="project-status-info">项目状况:<span class="amt-value">${sunInfo.statusName}</span></div>
  153. <div class="project-status-plan">
  154. <div class="project-status-offset">总投资:<span class="amt-value">${totalAmt }亿</span></div>
  155. <div class="project-status-offset">已完成投资:<span class="amt-value">${allEndAmt }亿</span>(<span class="amt-rate">${allEndAmtRate }%</span>)</div>
  156. <div class="project-status-offset">年度计划投资:<span class="amt-value">${yearAmt}亿</span></div>
  157. <div class="project-status-offset">年度完成投资:<span class="amt-value">${yearAmtSj }亿</span>(<span class="amt-rate">${yearEndAmtRate }%</span>)</div>
  158. <div class="project-status-offset">累计拨付金额:<span class="amt-value">${sumPay }万</span></div>
  159. <div class="project-status-offset">年度拨付金额:<span class="amt-value">${yearPay }万</span></div>
  160. <div class="project-status-offset">月度拨付金额:<span class="amt-value">${monthPay }万</span></div>
  161. </div>
  162. </div>
  163. </div>
  164. <div class="tab-group" style="position: relative;">
  165. <button class="btn btn1" :class="{active: tabActive === 1}" @click="onChangeActive(1)">项目信息</button>
  166. <button class="btn btn1" :class="{active: tabActive === 2}" @click="onChangeActive(2)">重要项目补充信息</button>
  167. <button class="btn btn1" :class="{active: tabActive === 3}" @click="onChangeActive(3)">资金来源</button>
  168. <button class="btn btn2" :class="{active: tabActive === 4}" @click="onChangeActive(4)">项目进度</button>
  169. <!-- <button class="btn btn2" :class="{active: tabActive === 3}" @click="onChangeActive(3)">历史记录</button> -->
  170. <!-- <button class="btn btn2" :class="{active: tabActive === 4}" @click="onChangeActive(4)">周报</button>
  171. <button class="btn btn2" :class="{active: tabActive === 5}" @click="onChangeActive(5)">年度计划</button> -->
  172. <button class="btn btn2" :class="{active: tabActive === 7}" @click="onChangeActive(7)">项目前期手续办理情况</button>
  173. <button class="btn btn2" :class="{active: tabActive === 8}" @click="onChangeActive(8)">问题督办</button>
  174. <!-- <button class="btn btn2" :class="{active: tabActive === 8}" @click="onChangeActive(8)">牵头领导及部门</button> -->
  175. <button class="btn btn2" :class="{active: tabActive === 10}" @click="onChangeActive(10)">项目图片及影像</button>
  176. <button class="btn btn2" :class="{active: tabActive === 12}" @click="onChangeActive(12)">重大事项</button>
  177. <!-- <button class="btn btn2" :class="{active: tabActive === 12}" @click="onChangeActive(12)">短信发送</button>
  178. <button class="btn btn2" :class="{active: tabActive === 13}" @click="onChangeActive(13)">项目日志</button> -->
  179. <%--竣工项目 才有竣工报告--%>
  180. <c:if test="${completeCheck}">
  181. <button class="btn btn2" :class="{active: tabActive === 11}" @click="onChangeActive(11)">竣工报告</button>
  182. </c:if>
  183. <button class="layui-btn layui-btn-normal" style="position:relative;z-index:9;float: right" @click="backHis()">返回</button>
  184. </div>
  185. <iframe :src="iframeUrl" style="min-height:600px;border:none;margin-top: 30px"></iframe>
  186. </div>
  187. </template>
  188. <script>
  189. new Vue({
  190. el: "#app",
  191. template: "#template",
  192. data: {
  193. winH: 0,
  194. iframeUrl: "",
  195. subId: "${sunInfo.id}",
  196. collapse: false,
  197. tabActive: 1
  198. },
  199. mounted: function() {
  200. this.init()
  201. },
  202. methods: {
  203. init: function() {
  204. this.winH = document.body.clientHeight;
  205. this.onChangeActive(1);
  206. },
  207. backHis(){
  208. if(${layer}) {
  209. App.closeCurrentLayer();
  210. }else {
  211. window.location.href="${lastUrl}";
  212. }
  213. },
  214. changeSide() {
  215. this.collapse = !this.collapse
  216. },
  217. onChangeActive(index) {
  218. var subId = this.subId;
  219. this.tabActive = index
  220. if (index === 1) {
  221. this.iframeUrl = App.getUrl("/overdue/projectInfo?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  222. }else if(index === 2){
  223. this.iframeUrl = App.getUrl("/subMajor/viewBySub?layer=${layer}&subId="+subId +"&zjlyId=${zjlyId}&queryYear=${queryYear}&lastUrl=${lastUrl}");
  224. }else if(index === 3){
  225. this.iframeUrl = App.getUrl("/subject/subInfo/editFund?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  226. }else if(index === 4){
  227. this.iframeUrl = App.getUrl("/rptCont/viewBySub?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  228. }else if(index === 5){
  229. this.iframeUrl = App.getUrl("/weekReport/detailView?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  230. }else if(index === 6){
  231. this.iframeUrl = App.getUrl("/amtPlan/detailView?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  232. }/* else{
  233. window.location.href = App.getUrl("/overdue/projHistory?layer=${layer}&subId="+subId + "&lastUrl=${lastUrl}");
  234. } */
  235. else if(index === 7) {
  236. //项目前期
  237. this.iframeUrl = App.getUrl("/subPreNew/subList?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  238. } else if(index === 8) {
  239. //问题督办
  240. this.iframeUrl = App.getUrl("/problemreport/subDetail?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  241. } else if(index === 9) {
  242. //牵头领导
  243. this.iframeUrl = App.getUrl("/secUserSub/subDetail?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  244. } else if(index === 10) {
  245. //现场影像
  246. this.iframeUrl = App.getUrl("/rptCont/fileDetail?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  247. } else if(index === 11) {
  248. //竣工报告
  249. this.iframeUrl = App.getUrl("/subComplete/view?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  250. } else if(index === 12) {
  251. //重大事项
  252. this.iframeUrl = App.getUrl("/meetingRecords/listBySubId?layer=${layer}&subId="+subId + "&queryYear=${queryYear}&lastUrl=${lastUrl}");
  253. } else if(index === 13) {
  254. //短信发送
  255. this.iframeUrl = App.getUrl("/msgLog/subDetail?layer=${layer}&subId="+subId+"&queryYear=${queryYear}&lastUrl=${lastUrl}");
  256. } else if(index === 14) {
  257. //项目日志
  258. this.iframeUrl = App.getUrl("/subDataLog/subList?layer=${layer}&subId="+subId+"&queryYear=${queryYear}&lastUrl=${lastUrl}");
  259. }
  260. }
  261. }
  262. })
  263. </script>
  264. </body>
  265. </html>