index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1" />
  7. <!-- 引入样式 -->
  8. <link rel="stylesheet" href="./styles/element-ui@2.15.9.css" />
  9. <link rel="stylesheet" href="./styles/normalize.css" />
  10. <link rel="stylesheet" href="./styles/index.css" />
  11. <!-- 引入js -->
  12. <script src="./libs/vue@2.7.10.js"></script>
  13. <!-- <script src="https://unpkg.com/@jiaminghi/data-view/dist/datav.min.vue.js"></script> -->
  14. <script src="./libs/echarts.min.js"></script>
  15. <script src="./libs/datav.min.js"></script>
  16. <script src="./libs/element-ui@2.15.9.js"></script>
  17. <script src="./libs/axios.min.js"></script>
  18. <script src="./libs/lodash.min.js"></script>
  19. <script src="./js/request.js"></script>
  20. <script src="./js/data.js"></script>
  21. <script src="./js/zhb.js"></script>
  22. <script src="./js/li.js"></script>
  23. <script src="./js/fjx.js"></script>
  24. <script src="./libs/echarts-tooltip-carousel.js"></script>
  25. </head>
  26. <body>
  27. <div id="app" v-cloak @click="showTip = false">
  28. <header class="my-header">
  29. <span>国有资本数智化平台人力资源系统</span>
  30. <span class="right">{{time}}</span>
  31. </header>
  32. <div class="main">
  33. <div class="left">
  34. <dv-border-box-8 :dur="10" style="flex: 1;">
  35. <div class="my-panel">
  36. <div class="panel-title flex-between ">
  37. <span class="text">定机构</span>
  38. <span class="tip-window" @click.stop="handleShowTip(0)">智能分析</span>
  39. </div>
  40. <div class="content flex">
  41. <div ref="echartL1" style="flex: 1;height: 100%;"></div>
  42. <div ref="echartL2" style="flex: 1;height: 100%;"></div>
  43. </div>
  44. </div>
  45. </dv-border-box-8>
  46. <dv-border-box-8 :dur="11" style="flex: 1;">
  47. <div class="my-panel">
  48. <div class="panel-title flex-between">
  49. <span class="text">定职数</span>
  50. <span class="tip-window" @click.stop="handleShowTip(1)">智能分析</span>
  51. </div>
  52. <div class="content flex">
  53. <div ref="echartL3" style="flex: 1;height: 100%;"></div>
  54. <div style="flex: 1;height: 100%; position: relative;">
  55. <div ref="echartL4" style="height: 100%; width: 100%;"></div>
  56. <div class="icon" @click="handleShowTip2(0)">?</div>
  57. </div>
  58. </div>
  59. </div>
  60. </dv-border-box-8>
  61. <dv-border-box-8 :dur="12" style="flex: 2;">
  62. <div class="my-panel">
  63. <div class="panel-title flex-between">
  64. <span class="text">定员额</span>
  65. <span class="tip-window" @click.stop="handleShowTip(2)">智能分析</span>
  66. </div>
  67. <div class="content flex flex-wrap">
  68. <div ref="echartL5" style="flex: 0 0 49.9%;height: 50%;"></div>
  69. <div ref="echartL6" style="flex: 0 0 49.9%;height: 50%;"></div>
  70. <div ref="echartL7" style="flex: 0 0 49.9%;height: 50%;"></div>
  71. <div ref="echartL8" style="flex: 0 0 49.9%;height: 50%;"></div>
  72. </div>
  73. </div>
  74. </dv-border-box-8>
  75. </div>
  76. <div class="center">
  77. <div class="top" v-if="centerData">
  78. <div class="box">
  79. <img src="./images/center-top1.png" />
  80. <div>
  81. <p>架构数</p>
  82. <p><i style="color: #45DAD1">{{numFormat(centerData.info.value1)}}</i></p>
  83. </div>
  84. </div>
  85. <div class="box">
  86. <img src="./images/center-top2.png" />
  87. <div>
  88. <p>岗位数</p>
  89. <p><i style="color: #8BA2FF">{{numFormat(centerData.info.value2)}}</i></p>
  90. </div>
  91. </div>
  92. <div class="box">
  93. <img src="./images/center-top3.png" />
  94. <div>
  95. <p>总人数</p>
  96. <p><i style="color: #69C0FF">{{numFormat(centerData.info.value3)}}</i></p>
  97. </div>
  98. </div>
  99. </div>
  100. <dv-border-box-8 :dur="10">
  101. <div class="my-panel" v-if="centerData">
  102. <div class="panel-title">
  103. <span class="text">六定改革成效</span>
  104. </div>
  105. <div class="content flex" style="padding: 10px;">
  106. <div class="box-center">
  107. <div class="t">
  108. <p>{{centerData.changeInfo[0].value1}}<span>%</span></p>
  109. <p>总部机构压缩率</p>
  110. </div>
  111. <div class="flex">
  112. <div>
  113. <p style="color:#FBE139">{{centerData.changeInfo[0].value2}}</p>
  114. <p>改革前总部机构平均数</p>
  115. </div>
  116. <div>
  117. <p style="color:#17AC76">{{centerData.changeInfo[0].value3}}</p>
  118. <p>改革后总部机构平均数
  119. </p>
  120. </div>
  121. </div>
  122. </div>
  123. <div class="box-center">
  124. <div class="t">
  125. <p>{{centerData.changeInfo[1].value1}}<span>%</span></p>
  126. <p>中层管理人数压缩率</p>
  127. </div>
  128. <div class="flex">
  129. <div>
  130. <p style="color:#FBE139">{{numFormat(centerData.changeInfo[1].value2)}}</p>
  131. <p>改革前中层管理人数</p>
  132. </div>
  133. <div>
  134. <p style="color:#17AC76">{{numFormat(centerData.changeInfo[1].value3)}}</p>
  135. <p>改革后中层管理人数</p>
  136. </div>
  137. </div>
  138. </div>
  139. <div class="box-center">
  140. <div>
  141. <p>{{centerData.changeInfo[2].value1}}<span>%</span></p>
  142. <p>在册职工压缩率</p>
  143. </div>
  144. <div class="flex">
  145. <div>
  146. <p style="color:#FBE139">{{numFormat(centerData.changeInfo[2].value2)}}</p>
  147. <p>改革前在册职工数</p>
  148. </div>
  149. <div>
  150. <p style="color:#17AC76">{{centerData.changeInfo[2].value3}}<span>万</span></p>
  151. <p>在册职工压缩数</p>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. </div>
  157. </dv-border-box-8>
  158. <dv-border-box-8 :dur="10">
  159. <div class="my-panel">
  160. <div class="panel-title flex-between">
  161. <span class="text">核心指标监测</span>
  162. <span class="tip-window" @click.stop="showTip3 = true">智能分析</span>
  163. </div>
  164. <div class="content flex">
  165. <div style="flex: 1;height: 100%; position: relative;">
  166. <div ref="echartC1" style="flex: 1;height: 100%;"></div>
  167. <div class="icon" @click="handleShowTip2(1)">?</div>
  168. </div>
  169. <div ref="echartC2" style="flex: 1;height: 100%;"></div>
  170. </div>
  171. </div>
  172. </dv-border-box-8>
  173. <dv-border-box-8 :dur="10">
  174. <div class="my-panel">
  175. <div class="panel-title">
  176. <span class="text">分析预警中心</span>
  177. </div>
  178. <div class="content yujing">
  179. <div class="flex1">
  180. <p class="s-title main-color">工作台分析</p>
  181. <dv-scroll-board :config="storageRecordConfig" class="content" />
  182. </div>
  183. <div class="flex1">
  184. <p class="s-title main-color">数据库预警</p>
  185. <dv-scroll-board :config="storageRecordConfig2" class="content" />
  186. </div>
  187. </div>
  188. </div>
  189. </dv-border-box-8>
  190. </div>
  191. <div class="right">
  192. <dv-border-box-8 :dur="10" style="flex: 2">
  193. <div class="my-panel">
  194. <div class="panel-title flex-between">
  195. <span class="text">定机制</span>
  196. <span class="tip-window" @click.stop="handleShowTip(4)">智能分析</span>
  197. </div>
  198. <div class="content flex flex-wrap">
  199. <div ref="echartR1" style="flex: 0 0 49.9%;height: 50%;"></div>
  200. <div ref="echartR2" style="flex: 0 0 49.9%;height: 50%;"></div>
  201. <div ref="echartR3" style="flex: 0 0 49.9%;height: 50%;"></div>
  202. <div ref="echartR4" style="flex: 0 0 49.9%;height: 50%;"></div>
  203. </div>
  204. </div>
  205. </dv-border-box-8>
  206. <dv-border-box-8 :dur="11" style="flex: 1">
  207. <div class="my-panel">
  208. <div class="panel-title flex-between">
  209. <span class="text">定薪酬</span>
  210. <span class="tip-window" @click.stop="handleShowTip(5)">智能分析</span>
  211. </div>
  212. <div class="content flex">
  213. <div ref="echartR5" style="flex: 1;height: 100%;"></div>
  214. <div ref="echartR6" style="flex: 1;height: 100%;"></div>
  215. </div>
  216. </div>
  217. </dv-border-box-8>
  218. <dv-border-box-8 :dur="12" style="flex: 1">
  219. <div class="my-panel">
  220. <div class="panel-title flex-between">
  221. <span class="text">定任期</span>
  222. <span class="tip-window" @click.stop="handleShowTip(6)">智能分析</span>
  223. </div>
  224. <div class="content flex">
  225. <div ref="echartR7" style="flex: 1;height: 100%;"></div>
  226. <div ref="echartR8" style="flex: 1;height: 100%;"></div>
  227. </div>
  228. </div>
  229. </dv-border-box-8>
  230. </div>
  231. </div>
  232. <div class="footer">
  233. <a class="item" v-for="(item,index) in companyList" :key="index" @click="handleGoPage(item.link)"><img
  234. :src="`./images/logos/logo${index+1}.png`"></img> {{item.name}}</a>
  235. </div>
  236. <div class="tip" @click="showTip = false" v-if="showTip">
  237. <div class="tip-box">
  238. <div class="tip-content">
  239. <div class="btm10" v-for="(item,index) in tipData[tipNum]" :key="index"> {{item}}</div>
  240. </div>
  241. </div>
  242. </div>
  243. <div class="tip" @click="showTip2 = false" v-if="showTip2">
  244. <div class="tip-box">
  245. <div class="tip-content">
  246. <div class="btm10" v-for="(item,index) in tipData2[tipNum]" :key="index"> {{item}}</div>
  247. </div>
  248. </div>
  249. </div>
  250. <!-- 核心指标监测专属 -->
  251. <div class="tip" @click="showTip3 = false" v-if="showTip3">
  252. <div class="tip-box" style="left:calc( 50% + 1300px )">
  253. <div class="tip-content">
  254. <div class="btm10" v-for="(item,index) in tipData[3]" :key="index"> {{item}}</div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. <script src="./js/index.js"></script>
  260. </body>
  261. </html>