index.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. <div>
  39. <span class="tip-window" @click.stop="handleShowTip(0,'focus')">关注重点</span>
  40. <span class="tip-window" @click.stop="handleShowTip(0,'analysis')">智能分析</span>
  41. </div>
  42. </div>
  43. <div class="content flex">
  44. <div ref="echartL1" style="flex: 1;height: 100%;"></div>
  45. <div ref="echartL2" style="flex: 1;height: 100%;"></div>
  46. </div>
  47. </div>
  48. </dv-border-box-8>
  49. <dv-border-box-8 :dur="11" style="flex: 1;">
  50. <div class="my-panel">
  51. <div class="panel-title flex-between">
  52. <span class="text">定职数</span>
  53. <div>
  54. <span class="tip-window" @click.stop="handleShowTip(1,'focus')">关注重点</span>
  55. <span class="tip-window" @click.stop="handleShowTip(1,'analysis')">智能分析</span>
  56. </div>
  57. </div>
  58. <div class="content flex">
  59. <div ref="echartL3" style="flex: 1;height: 100%;"></div>
  60. <div style="flex: 1;height: 100%; position: relative;">
  61. <div ref="echartL4" style="height: 100%; width: 100%;"></div>
  62. <div class="icon" @click="handleShowTip2(0)">?</div>
  63. </div>
  64. </div>
  65. </div>
  66. </dv-border-box-8>
  67. <dv-border-box-8 :dur="12" style="flex: 2;">
  68. <div class="my-panel">
  69. <div class="panel-title flex-between">
  70. <span class="text">定员额</span>
  71. <div>
  72. <span class="tip-window" @click.stop="handleShowTip(2,'focus')">关注重点</span>
  73. <span class="tip-window" @click.stop="handleShowTip(2,'analysis')">智能分析</span>
  74. </div>
  75. </div>
  76. <div class="content flex flex-wrap">
  77. <div ref="echartL5" style="flex: 0 0 49.9%;height: 50%;"></div>
  78. <div ref="echartL6" style="flex: 0 0 49.9%;height: 50%;"></div>
  79. <div ref="echartL7" style="flex: 0 0 49.9%;height: 50%;"></div>
  80. <div ref="echartL8" style="flex: 0 0 49.9%;height: 50%;"></div>
  81. </div>
  82. </div>
  83. </dv-border-box-8>
  84. </div>
  85. <div class="center">
  86. <div class="top" v-if="centerData">
  87. <div class="box">
  88. <img src="./images/center-top1.png" />
  89. <div>
  90. <p>架构数</p>
  91. <p><i style="color: #45DAD1">{{numFormat(centerData.info.value1)}}</i></p>
  92. </div>
  93. </div>
  94. <div class="box">
  95. <img src="./images/center-top2.png" />
  96. <div>
  97. <p>岗位数</p>
  98. <p><i style="color: #8BA2FF">{{numFormat(centerData.info.value2)}}</i></p>
  99. </div>
  100. </div>
  101. <div class="box">
  102. <img src="./images/center-top3.png" />
  103. <div>
  104. <p>总人数</p>
  105. <p><i style="color: #69C0FF">{{numFormat(centerData.info.value3)}}</i></p>
  106. </div>
  107. </div>
  108. </div>
  109. <dv-border-box-8 :dur="10">
  110. <div class="my-panel" v-if="centerData">
  111. <div class="panel-title">
  112. <span class="text">六定改革成效</span>
  113. </div>
  114. <div class="content flex" style="padding: 10px;">
  115. <div class="box-center">
  116. <div class="t">
  117. <p>{{centerData.changeInfo[0].value1}}<span>%</span></p>
  118. <p>总部机构压缩率</p>
  119. </div>
  120. <div class="flex">
  121. <div>
  122. <p style="color:#FBE139">{{centerData.changeInfo[0].value2}}</p>
  123. <p>改革前总部机构平均数</p>
  124. </div>
  125. <div>
  126. <p style="color:#17AC76">{{centerData.changeInfo[0].value3}}</p>
  127. <p>改革后总部机构平均数
  128. </p>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="box-center">
  133. <div class="t">
  134. <p>{{centerData.changeInfo[1].value1}}<span>%</span></p>
  135. <p>中层管理人数压缩率</p>
  136. </div>
  137. <div class="flex">
  138. <div>
  139. <p style="color:#FBE139">{{numFormat(centerData.changeInfo[1].value2)}}</p>
  140. <p>改革前中层管理人数</p>
  141. </div>
  142. <div>
  143. <p style="color:#17AC76">{{numFormat(centerData.changeInfo[1].value3)}}</p>
  144. <p>改革后中层管理人数</p>
  145. </div>
  146. </div>
  147. </div>
  148. <div class="box-center">
  149. <div>
  150. <p>{{centerData.changeInfo[2].value1}}<span>%</span></p>
  151. <p>在册职工压缩率</p>
  152. </div>
  153. <div class="flex">
  154. <div>
  155. <p style="color:#FBE139">{{numFormat(centerData.changeInfo[2].value2)}}</p>
  156. <p>改革前在册职工数</p>
  157. </div>
  158. <div>
  159. <p style="color:#17AC76">{{centerData.changeInfo[2].value3}}<span>万</span></p>
  160. <p>在册职工压缩数</p>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </dv-border-box-8>
  167. <dv-border-box-8 :dur="10">
  168. <div class="my-panel">
  169. <div class="panel-title flex-between">
  170. <span class="text">核心指标监测</span>
  171. <div>
  172. <span class="tip-window" @click.stop="handleShowTip(3,'focus')">关注重点</span>
  173. <span class="tip-window" @click.stop="handleShowTip(3,'analysis')">智能分析</span>
  174. </div>
  175. </div>
  176. <div class="content flex">
  177. <div style="flex: 1;height: 100%; position: relative;">
  178. <div ref="echartC1" style="flex: 1;height: 100%;"></div>
  179. <div class="icon" @click="handleShowTip2(1)">?</div>
  180. </div>
  181. <div ref="echartC2" style="flex: 1;height: 100%;"></div>
  182. </div>
  183. </div>
  184. </dv-border-box-8>
  185. <dv-border-box-8 :dur="10">
  186. <div class="my-panel">
  187. <div class="panel-title">
  188. <span class="text">分析预警中心</span>
  189. </div>
  190. <div class="content yujing">
  191. <div class="flex1">
  192. <p class="s-title main-color">工作台分析</p>
  193. <dv-scroll-board :config="storageRecordConfig" class="content" />
  194. </div>
  195. <div class="flex1">
  196. <p class="s-title main-color">数据库预警</p>
  197. <dv-scroll-board :config="storageRecordConfig2" class="content" />
  198. </div>
  199. </div>
  200. </div>
  201. </dv-border-box-8>
  202. </div>
  203. <div class="right">
  204. <dv-border-box-8 :dur="10" style="flex: 2">
  205. <div class="my-panel">
  206. <div class="panel-title flex-between">
  207. <span class="text">定机制</span>
  208. <div>
  209. <span class="tip-window" @click.stop="handleShowTip(4,'focus')">关注重点</span>
  210. <span class="tip-window" @click.stop="handleShowTip(4,'analysis')">智能分析</span>
  211. </div>
  212. </div>
  213. <div class="content flex flex-wrap">
  214. <div ref="echartR1" style="flex: 0 0 49.9%;height: 50%;"></div>
  215. <div ref="echartR2" style="flex: 0 0 49.9%;height: 50%;"></div>
  216. <div ref="echartR3" style="flex: 0 0 49.9%;height: 50%;"></div>
  217. <div ref="echartR4" style="flex: 0 0 49.9%;height: 50%;"></div>
  218. </div>
  219. </div>
  220. </dv-border-box-8>
  221. <dv-border-box-8 :dur="11" style="flex: 1">
  222. <div class="my-panel">
  223. <div class="panel-title flex-between">
  224. <span class="text">定薪酬</span>
  225. <div>
  226. <span class="tip-window" @click.stop="handleShowTip(5,'focus')">关注重点</span>
  227. <span class="tip-window" @click.stop="handleShowTip(5,'analysis')">智能分析</span>
  228. </div>
  229. </div>
  230. <div class="content flex">
  231. <div ref="echartR5" style="flex: 1;height: 100%;"></div>
  232. <div ref="echartR6" style="flex: 1;height: 100%;"></div>
  233. </div>
  234. </div>
  235. </dv-border-box-8>
  236. <dv-border-box-8 :dur="12" style="flex: 1">
  237. <div class="my-panel">
  238. <div class="panel-title flex-between">
  239. <span class="text">定任期</span>
  240. <div>
  241. <span class="tip-window" @click.stop="handleShowTip(6,'focus')">关注重点</span>
  242. <span class="tip-window" @click.stop="handleShowTip(6,'analysis')">智能分析</span>
  243. </div>
  244. </div>
  245. <div class="content flex">
  246. <div ref="echartR7" style="flex: 1;height: 100%;"></div>
  247. <div ref="echartR8" style="flex: 1;height: 100%;"></div>
  248. </div>
  249. </div>
  250. </dv-border-box-8>
  251. </div>
  252. </div>
  253. <div class="footer">
  254. <a class="item" v-for="(item,index) in companyList" :key="index" @click="handleGoPage(item.link)"><img
  255. :src="`./images/logos/logo${index+1}.png`"></img> {{item.name}}</a>
  256. </div>
  257. <div class="tip" @click="showTip = false" v-if="showTip && tipNum != 3">
  258. <div class="tip-box">
  259. <div class="tip-content">
  260. <div class="btm10" v-for="(item,index) in tipData[tipNum]" :key="index"> {{item}}</div>
  261. </div>
  262. </div>
  263. </div>
  264. <!-- 问号弹窗 -->
  265. <div class="tip" @click="showTip2 = false" v-if="showTip2">
  266. <div class="tip-box" style="left:calc( 50% + 1300px )">
  267. <div class="tip-content">
  268. <div class="btm10" v-for="(item,index) in tipData2[tipNum]" :key="index"> {{item}}</div>
  269. </div>
  270. </div>
  271. </div>
  272. <!-- 核心指标监测专属 -->
  273. <div class="tip" @click="showTip = false" v-if="showTip && tipNum == 3">
  274. <div class="tip-box" style="left:calc( 50% + 1300px )">
  275. <div class="tip-content">
  276. <div class="btm10" v-for="(item,index) in tipData[tipNum]" :key="index"> {{item}}</div>
  277. </div>
  278. </div>
  279. </div>
  280. </div>
  281. <script src="./js/index.js"></script>
  282. </body>
  283. </html>