yjzj.jsp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. <div class="tab-group" style="position: relative;">
  122. <button class="btn btn1" :class="{active: tabActive === 1}" @click="onChangeActive(1)">固投项目</button>
  123. <button class="btn btn2" :class="{active: tabActive === 2}" @click="onChangeActive(2)">非固投项目</button>
  124. </div>
  125. <iframe :src="iframeUrl" style="min-height:900px;border:none;margin-top: 30px"></iframe>
  126. </div>
  127. </template>
  128. <script>
  129. new Vue({
  130. el: "#app",
  131. template: "#template",
  132. data: {
  133. winH: 0,
  134. collapse: false,
  135. tabActive: 1,
  136. active: 4, // 左侧菜单选中项
  137. imgLs: 10,
  138. yearsArray:[],
  139. planYear: "",
  140. iframeUrl: "",
  141. },
  142. mounted() {
  143. this.init()
  144. },
  145. methods: {
  146. init() {
  147. this.winH = document.body.clientHeight
  148. const { laydate, table } = layui
  149. var self = this;
  150. self.onChangeActive(self.tabActive);
  151. },
  152. onChangeActive(index) {
  153. this.tabActive = index
  154. if (index === 1) {
  155. //固投项目
  156. this.iframeUrl = App.getUrl("/subject/subInfo/projZj?code=104&title=援疆资金");
  157. }else if(index === 2){
  158. //非固投项目
  159. this.iframeUrl = App.getUrl("non/fixed/investment/project");
  160. }
  161. },
  162. }
  163. });
  164. </script>
  165. </body>
  166. </html>