safecheck-client 3.0.30-62-t4 → 3.0.30-62-t6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (469) hide show
  1. package/docs/GridTree.md +47 -47
  2. package/docs/PrintFile.md +38 -38
  3. package/docs/tree.md +40 -40
  4. package/examples/ChangeConfig/comp.js +548 -548
  5. package/examples/PhoneSafePlan/comp.js +33 -33
  6. package/examples/SafePlan/App.vue +89 -89
  7. package/examples/SafePlan/comp.js +1527 -1527
  8. package/examples/SafePlan-aode/comp.js +1132 -1132
  9. package/examples/SafePlan-liaoyuan/App.vue +82 -82
  10. package/examples/SafePlan-liaoyuan/comp.js +1432 -1432
  11. package/examples/SafePlan-shaoguan/comp.js +1190 -1190
  12. package/examples/SafePlan-tongchuan/App.vue +81 -81
  13. package/examples/SafePlan-tongchuan/comp.js +1480 -1480
  14. package/examples/SafePlan-wenxi/App.vue +80 -80
  15. package/examples/SafePlan-wenxi/comp.js +1545 -1545
  16. package/examples/SafePlan-zhoukou/App.vue +81 -81
  17. package/examples/SafePlan-zhoukou/comp.js +1525 -1525
  18. package/examples/SafePlanItem/comp.js +69 -69
  19. package/examples/SafePlanrongcheng/comp.js +1141 -1141
  20. package/examples/SafePlanrongcheng-gs/comp.js +1140 -1140
  21. package/examples/SafePlanrongcheng-gssq/comp.js +1143 -1143
  22. package/examples/SafePlanrongcheng-mysq/comp.js +1144 -1144
  23. package/examples/UserFiles/comp.js +227 -227
  24. package/package.json +1 -1
  25. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  26. package/src/components/DefectDealMain/DefectPaperNew.vue +1052 -1052
  27. package/src/components/NewDefectList/DefectListNew.vue +617 -617
  28. package/src/components/NewDefectList/DefectPaperNew.vue +1079 -1079
  29. package/src/components/android/AddPlanItem.vue +447 -447
  30. package/src/components/android/AddPlanItemYy.vue +1 -1
  31. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  32. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -502
  33. package/src/components/android/BlackUserOnLine.vue +318 -318
  34. package/src/components/android/CurrentCreate.vue +1050 -1050
  35. package/src/components/android/CurrentCreateYy.vue +1 -1
  36. package/src/components/android/Devices.vue +327 -327
  37. package/src/components/android/Devicesm.vue +327 -327
  38. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +288 -288
  39. package/src/components/android/PaperFeedback.vue +1514 -1514
  40. package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
  41. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  42. package/src/components/android/PhoneRecordInfo.vue +113 -113
  43. package/src/components/android/PhoneSellInfo.vue +113 -113
  44. package/src/components/android/QRCode/QRCodeBinding.vue +2 -2
  45. package/src/components/android/QRCode/QRCodePage.vue +2 -2
  46. package/src/components/android/SafePlanItem.vue +509 -509
  47. package/src/components/android/SafecheckOrderV.vue +2805 -2805
  48. package/src/components/android/UserinfoSelect.vue +1 -1
  49. package/src/components/android/examples/SafeListExamples.vue +2 -2
  50. package/src/components/android/examples/UserExamples.vue +1 -1
  51. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -1235
  52. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  53. package/src/components/android/recheck/Recheck.vue +402 -402
  54. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  55. package/src/components/checkplan/checkmsg.vue +459 -459
  56. package/src/components/defect/DefectList.vue +507 -507
  57. package/src/components/defect/DefectListWeixiu.vue +484 -484
  58. package/src/components/defect/DefectPaper.vue +764 -764
  59. package/src/components/defect/DefectPaperWeiXiu.vue +508 -508
  60. package/src/components/filialCircle/CircleList.vue +139 -139
  61. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  62. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  63. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  64. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  65. package/src/components/inspections/InspectionList.vue +476 -476
  66. package/src/components/inspections/InspectionLists.vue +478 -478
  67. package/src/components/inspections/InspectionListss.vue +477 -477
  68. package/src/components/inspections/inspectionFeedback.vue +720 -720
  69. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  70. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  71. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  72. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  73. package/src/components/paper/PaperList.vue +790 -790
  74. package/src/components/pc/AnnouncementPC.vue +524 -524
  75. package/src/components/pc/DefectList.vue +742 -742
  76. package/src/components/pc/DeviceChange.vue +1068 -1068
  77. package/src/components/pc/PaperDefectMain.vue +866 -866
  78. package/src/components/pc/SafeVisitInfo.vue +1 -1
  79. package/src/components/planmanage/checkPlanList.vue +369 -369
  80. package/src/components/planmanage/checkUserList.vue +773 -773
  81. package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
  82. package/src/components/querycheckpaper/CheckSearchUserNew.vue +1109 -1109
  83. package/src/components/querycheckpaper/ShebeiSearchUser.vue +690 -690
  84. package/src/components/rongcheng/AspPaperFeedback.vue +1179 -1179
  85. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  86. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1 -1
  87. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  88. package/src/components/rongcheng/PaperFeedback.vue +1318 -1318
  89. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1236
  90. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  91. package/src/components/rongcheng/SafecheckOrderVCli.vue +1 -1
  92. package/src/components/rongcheng/report/CheckPlanAreaList.vue +435 -435
  93. package/src/components/safecheckNew/PaperList.vue +2 -2
  94. package/src/components/safecheckNew/android/AddPlanItem.vue +1 -1
  95. package/src/components/safecheckNew/android/AreaPlan.vue +561 -561
  96. package/src/components/safecheckNew/android/CurrentCreate.vue +1 -1
  97. package/src/components/safecheckNew/android/Recheck.vue +1 -1
  98. package/src/components/safecheckNew/android/SafecheckOrderV.vue +1 -1
  99. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  100. package/src/components/shaoguan/DefectList.vue +473 -473
  101. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  102. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  103. package/src/filiale/ALshan/pc/CheckSearchUser.vue +927 -927
  104. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  105. package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -1489
  106. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  107. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  108. package/src/filiale/ancheng/pc/PaperList.vue +659 -659
  109. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  110. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  111. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  112. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +1039 -1039
  113. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  114. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +545 -545
  115. package/src/filiale/ankangyihua/pc/PaperList.vue +656 -656
  116. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  117. package/src/filiale/baiyin/android/SafecheckOrderV.vue +1 -1
  118. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  119. package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
  120. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  121. package/src/filiale/baiyin/pc/DefectPaperNew.vue +3 -3
  122. package/src/filiale/baiyin/pc/PaperList.vue +2 -2
  123. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  124. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  125. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  126. package/src/filiale/bayan/android/AddPlanItem.vue +430 -430
  127. package/src/filiale/bayan/android/CheckPlanDown.vue +2 -2
  128. package/src/filiale/bayan/android/Edit.vue +1 -1
  129. package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
  130. package/src/filiale/bayan/android/SafecheckOrderV.vue +2866 -2866
  131. package/src/filiale/bayan/android/SafecheckUserInfo.vue +3 -3
  132. package/src/filiale/bayan/pc/CheckDetail.vue +205 -205
  133. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +1 -1
  134. package/src/filiale/bayan/pc/CheckSearchUser.vue +3 -3
  135. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  136. package/src/filiale/bayan/pc/DefectPaperNew.vue +4 -4
  137. package/src/filiale/bayan/pc/DeviceChange.vue +1 -1
  138. package/src/filiale/bayan/pc/HiddenSituation.vue +1 -1
  139. package/src/filiale/bayan/pc/PaperList.vue +3 -3
  140. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -333
  141. package/src/filiale/dexin/android/CasualSave.vue +1 -1
  142. package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
  143. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -377
  144. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -213
  145. package/src/filiale/dexin/pc/PaperList.vue +2 -2
  146. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  147. package/src/filiale/fugou/android/SafecheckOrderV.vue +1 -1
  148. package/src/filiale/fugou/pc/CheckBook.vue +303 -303
  149. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -146
  150. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -144
  151. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  152. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -94
  153. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  154. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  155. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -229
  156. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +1 -1
  157. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -674
  158. package/src/filiale/fugou/pc/CheckBookUser.vue +158 -158
  159. package/src/filiale/fugou/pc/DefectPaperNew.vue +3 -3
  160. package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
  161. package/src/filiale/fugou/pc/PaperList.vue +911 -911
  162. package/src/filiale/fugou/pc/PlanManage.vue +1061 -1061
  163. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  164. package/src/filiale/fugou/pc/checkUserList.vue +904 -904
  165. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  166. package/src/filiale/fugu/pc/CheckSearchUser.vue +977 -977
  167. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  168. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  169. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  170. package/src/filiale/ganquan/pc/DefectPaperNew.vue +1009 -1009
  171. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  172. package/src/filiale/ganquan/pc/PaperList.vue +654 -654
  173. package/src/filiale/gehua/pc/PaperList.vue +558 -558
  174. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  175. package/src/filiale/guangxi/pc/DefectPaperNew.vue +988 -988
  176. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  177. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  178. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  179. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -713
  180. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -573
  181. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -508
  182. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +1127 -1127
  183. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -595
  184. package/src/filiale/hanzhong/pc/PaperList.vue +702 -702
  185. package/src/filiale/huaran/android/SafecheckOrderV.vue +1 -1
  186. package/src/filiale/huaran/pc/CheckBook.vue +313 -313
  187. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -170
  188. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -166
  189. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -196
  190. package/src/filiale/huaran/pc/CheckBookList.vue +386 -386
  191. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -564
  192. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -229
  193. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -604
  194. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -112
  195. package/src/filiale/huaran/pc/PaperList.vue +2 -2
  196. package/src/filiale/huaran/pc/PlanManage.vue +4 -4
  197. package/src/filiale/huaran/pc/checkPlanList.vue +419 -419
  198. package/src/filiale/huaran/pc/checkUserList.vue +867 -867
  199. package/src/filiale/huatong/android/PaperFeedback.vue +1433 -1433
  200. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  201. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  202. package/src/filiale/huatong/pc/PaperDefectMain.vue +800 -800
  203. package/src/filiale/huatong/pc/PaperList.vue +789 -789
  204. package/src/filiale/huayin/android/PaperFeedback.vue +1422 -1422
  205. package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -2712
  206. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  207. package/src/filiale/huayin/pc/PaperList.vue +621 -621
  208. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  209. package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -1308
  210. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  211. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +1011 -1011
  212. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  213. package/src/filiale/jiaxian/android/AddPlanItem.vue +1 -1
  214. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -1229
  215. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +1 -1
  216. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +1 -1
  217. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  218. package/src/filiale/jingyang/android/AddPlanItem.vue +1 -1
  219. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
  220. package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
  221. package/src/filiale/jingyang/android/SafecheckOrderV.vue +1 -1
  222. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  223. package/src/filiale/jingyang/pc/CheckSearchUser.vue +1062 -1062
  224. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  225. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -543
  226. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  227. package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -747
  228. package/src/filiale/kelai/android/PaperFeedback.vue +1539 -1539
  229. package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -2448
  230. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  231. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  232. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -476
  233. package/src/filiale/kelai/pc/CheckSearchUser.vue +1011 -1011
  234. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  235. package/src/filiale/kelai/pc/DefectPaperNew.vue +1090 -1090
  236. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  237. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +897 -897
  238. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  239. package/src/filiale/kelai/pc/PaperList.vue +596 -596
  240. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  241. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1 -1
  242. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  243. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  244. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +963 -963
  245. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  246. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +1011 -1011
  247. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  248. package/src/filiale/liaoyuan/pc/PaperList.vue +637 -637
  249. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -373
  250. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  251. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  252. package/src/filiale/lixian/pc/CheckSearchUser.vue +927 -927
  253. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  254. package/src/filiale/lixian/pc/PaperList.vue +620 -620
  255. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  256. package/src/filiale/minsheng/pc/CheckSearchUser.vue +976 -976
  257. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  258. package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
  259. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  260. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  261. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  262. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1012 -1012
  263. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  264. package/src/filiale/pingxiang/pc/PaperList.vue +595 -595
  265. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  266. package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -1434
  267. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  268. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  269. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  270. package/src/filiale/qianneng/pc/DefectPaperNew.vue +1072 -1072
  271. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  272. package/src/filiale/qianneng/pc/PaperList.vue +2 -2
  273. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -1
  274. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  275. package/src/filiale/qingjian/pc/PaperDefectMain.vue +895 -895
  276. package/src/filiale/qingtongxia/android/AddPlanItem.vue +1 -1
  277. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -1053
  278. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -1230
  279. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  280. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +1 -1
  281. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  282. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +858 -858
  283. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  284. package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -1510
  285. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  286. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  287. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  288. package/src/filiale/rizhao/pc/NewCheckpaper.vue +1346 -1346
  289. package/src/filiale/rizhao/pc/PaperList.vue +714 -714
  290. package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -1455
  291. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +1 -1
  292. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  293. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -1342
  294. package/src/filiale/rongchuang/pc/PaperList.vue +2 -2
  295. package/src/filiale/ruihua/android/SafecheckOrderV.vue +1 -1
  296. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +1 -1
  297. package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -1422
  298. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  299. package/src/filiale/shanxian/android/AddPlanItem.vue +1 -1
  300. package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -1445
  301. package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
  302. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  303. package/src/filiale/shanxian/pc/CheckSearchUser.vue +1114 -1114
  304. package/src/filiale/shanxian/pc/DefectPaperNew.vue +1096 -1096
  305. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  306. package/src/filiale/shanxian/pc/PaperList.vue +2 -2
  307. package/src/filiale/shaoguan/pc/PaperList.vue +589 -589
  308. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  309. package/src/filiale/shexian/android/PaperFeedback.vue +1448 -1448
  310. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  311. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  312. package/src/filiale/shexian/pc/DefectPaperNew.vue +1161 -1161
  313. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  314. package/src/filiale/shexian/pc/PaperDefectMain.vue +893 -893
  315. package/src/filiale/shexian/pc/PaperList.vue +2 -2
  316. package/src/filiale/shimen/android/PaperFeedback.vue +1341 -1341
  317. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  318. package/src/filiale/shimen/pc/CheckSearchUser.vue +927 -927
  319. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  320. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  321. package/src/filiale/shimen/pc/PaperList.vue +547 -547
  322. package/src/filiale/siyang/android/AddPlanItem.vue +1 -1
  323. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -246
  324. package/src/filiale/siyang/android/CurrentCreate.vue +1 -1
  325. package/src/filiale/siyang/android/PhoneRecordInfo.vue +1 -1
  326. package/src/filiale/siyang/android/SafecheckOrderV.vue +1 -1
  327. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  328. package/src/filiale/siyang/pc/CheckBookList.vue +396 -396
  329. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -667
  330. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -512
  331. package/src/filiale/siyang/pc/CheckSearchUser.vue +2 -2
  332. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  333. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
  334. package/src/filiale/siyang/pc/PaperDefectMain.vue +1 -1
  335. package/src/filiale/siyang/pc/PaperList.vue +2 -2
  336. package/src/filiale/siyang/pc/PlanManage.vue +839 -839
  337. package/src/filiale/siyang/pc/checkPlanList.vue +367 -367
  338. package/src/filiale/siyang/pc/checkUserList.vue +790 -790
  339. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  340. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  341. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  342. package/src/filiale/tianke/pc/DefectListNew.vue +538 -538
  343. package/src/filiale/tianke/pc/PaperDefectMain.vue +891 -891
  344. package/src/filiale/tianke/pc/checkScreen.vue +786 -786
  345. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  346. package/src/filiale/tongchuan/android/PaperFeedback.vue +1316 -1316
  347. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  348. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  349. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -1323
  350. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3033 -3033
  351. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  352. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  353. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1040 -1040
  354. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  355. package/src/filiale/tongchuan/pc/DefectPaper.vue +764 -764
  356. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +593 -593
  357. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  358. package/src/filiale/tongchuan/pc/PaperList.vue +670 -670
  359. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -639
  360. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  361. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  362. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  363. package/src/filiale/weinan/android/PaperFeedback.vue +1410 -1410
  364. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  365. package/src/filiale/weinan/android/SafecheckOrderV.vue +3339 -3339
  366. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  367. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
  368. package/src/filiale/weinan/pc/CheckSearchUser.vue +2 -2
  369. package/src/filiale/weinan/pc/DefectListNew.vue +1 -1
  370. package/src/filiale/weinan/pc/DefectPaperNew.vue +1096 -1096
  371. package/src/filiale/weinan/pc/DeviceChange.vue +1 -1
  372. package/src/filiale/weinan/pc/NewCheckpaper.vue +1459 -1459
  373. package/src/filiale/weinan/pc/PaperList.vue +674 -674
  374. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +446 -446
  375. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  376. package/src/filiale/weinan/pc/checkUserList.vue +712 -712
  377. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  378. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  379. package/src/filiale/weinanct/pc/PaperList.vue +593 -593
  380. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  381. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  382. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  383. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  384. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  385. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -2
  386. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  387. package/src/filiale/wensu/pc/DefectPaperNew.vue +1148 -1148
  388. package/src/filiale/wensu/pc/PlanManage.vue +831 -831
  389. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  390. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  391. package/src/filiale/wenxi/android/PaperFeedback.vue +1607 -1607
  392. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  393. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +2 -2
  394. package/src/filiale/wenxi/pc/CheckSearchUser.vue +991 -991
  395. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  396. package/src/filiale/wenxi/pc/DefectPaper.vue +663 -663
  397. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  398. package/src/filiale/wenxi/pc/PaperList.vue +949 -949
  399. package/src/filiale/wuan/android/PaperFeedback.vue +1433 -1433
  400. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  401. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  402. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  403. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +515 -515
  404. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  405. package/src/filiale/wuan/pc/PaperList.vue +562 -562
  406. package/src/filiale/wuhai/android/PaperFeedback.vue +1350 -1350
  407. package/src/filiale/wuhai/android/SafecheckOrderV.vue +1 -1
  408. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  409. package/src/filiale/wuhai/pc/CheckSearchUser.vue +959 -959
  410. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  411. package/src/filiale/wuhai/pc/PaperList.vue +2 -2
  412. package/src/filiale/xilan/android/AddPlanItem.vue +1 -1
  413. package/src/filiale/xilan/android/CurrentCreate.vue +1 -1
  414. package/src/filiale/xilan/pc/checkUserList.vue +772 -772
  415. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  416. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  417. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  418. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  419. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +538 -538
  420. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  421. package/src/filiale/xinkang/pc/PaperList.vue +603 -603
  422. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  423. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  424. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  425. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +1 -1
  426. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  427. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  428. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +2 -2
  429. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  430. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  431. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1 -1
  432. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  433. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  434. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2 -2
  435. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  436. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +2 -2
  437. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +3 -3
  438. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +557 -557
  439. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +1 -1
  440. package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
  441. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -364
  442. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +138 -138
  443. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -539
  444. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -652
  445. package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -1488
  446. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  447. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  448. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
  449. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  450. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  451. package/src/filiale/yuansheng/pc/PaperList.vue +621 -621
  452. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  453. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -1508
  454. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2849 -2849
  455. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -784
  456. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +1538 -1538
  457. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  458. package/src/filiale/zhongsheng/android/PaperFeedback.vue +1341 -1341
  459. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  460. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  461. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  462. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +515 -515
  463. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  464. package/src/filiale/zhongsheng/pc/PaperList.vue +644 -644
  465. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  466. package/src/filiale/zhoukou/android/PaperFeedback.vue +1367 -1367
  467. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  468. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  469. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +923 -923
@@ -1,713 +1,713 @@
1
- <template lang="html">
2
- <div class="div-4">
3
- <div :style="{height:headheight,background:'#eaeff4'}" style="width:100%">
4
- <div class="div-2">
5
- <div class="form-group">
6
- <label v-show="full_screen" class="control-label">安检类型</label>
7
- <v-select v-show="full_screen" :value.sync="plan_type"
8
- :value-single="true"
9
- :options='plan_types' close-on-select clear-button> </v-select>
10
- <button class="but-1" @click="barrdios" v-show="full_screen"><img src='../../../assets/echarts6.png' class="img-1"/>&nbsp;全屏显示
11
- </button>
12
- <button @click="showall" v-show="show_all" class="but-2">返回</button>
13
- </div>
14
- </div>
15
- </div>
16
- <div v-bind:style="{height: barheight,width:'100%'}">
17
- <div class="flex-row" style="height: 90%;">
18
- <div class="span">
19
- <div class="form-inline" v-if="echartsshow" style="height: auto;margin-bottom: 5%;margin-top: 5%">
20
- <div class="form-group">
21
- <label for="startDate">开始日期:</label>
22
- <datepicker id="startDate" placeholder="开始日期"
23
- v-model="startDate"
24
- :value.sync="startDate"
25
- :disabled-days-of-Week="[]"
26
- :format="'yyyy-MM-dd'"
27
- :show-reset-button="reset">
28
- </datepicker>
29
- </div>
30
- <div class="form-group">
31
- <label for="endDate">截至日期:</label>
32
- <datepicker id="endDate" placeholder="结束日期"
33
- v-model="endDate"
34
- v-show="show_all"
35
- :value.sync="endDate"
36
- :disabled-days-of-Week="[]"
37
- :format="'yyyy-MM-dd'"
38
- :show-reset-button="reset">
39
- </datepicker>
40
- </div>
41
- <div class="form-group">
42
- <label class="control-label">安检类型</label>
43
- <v-select :value.sync="plan_type"
44
- :value-single="true"
45
- :options='plan_types' close-on-select clear-button> </v-select>
46
- </div>
47
- </div>
48
-
49
- <div id="hidden" style="width:45%;float:left;"></div>
50
- <div id="hiddenlevel" style="width: 45%;float:right;margin-left:-5px;"></div>
51
- </div>
52
-
53
- <!--调用子组件绘图查表-->
54
- <div v-show="echartsshow" style="overflow:scroll">
55
- <div class="div-3">
56
- <h4 v-if="plan_type == ''" align="center">隐患及整改率率一览表</h4>
57
- <h4 v-if="plan_type == 'false'" align="center">年度安检隐患及整改率率一览表</h4>
58
- <h4 v-if="plan_type == 'true'" align="center">首次通气隐患及整改率率一览表</h4>
59
- <criteria-paged :model="model1" v-ref:crip2 >
60
- <data-grid :model="model" partial='list' v-ref:grid2 classname="table table-bordered table table-hover">
61
- <template partial='head'>
62
- <tr>
63
- <th><nobr>分公司</nobr></th>
64
- <th><nobr>A</nobr></th>
65
- <th><nobr>B</nobr></th>
66
- <th><nobr>C</nobr></th>
67
- <th><nobr>A整改</nobr></th>
68
- <th><nobr>B整改</nobr></th>
69
- <th><nobr>C整改</nobr></th>
70
- </tr>
71
- </template>
72
- <template partial='body' >
73
- <tr class="tr-1">
74
- <td class="td-1" style="text-align: center;">
75
- {{row.f_subcompany}}
76
- </td>
77
- <td class="td-1" style="text-align: center;">
78
- {{row.a}}
79
- </td>
80
- <td class="td-1" style="text-align: center;">
81
- {{row.b}}
82
- </td>
83
- <td class="td-1" style="text-align: center;">
84
- {{row.c}}
85
- </td>
86
- <td class="td-1" style="text-align: center;">
87
- {{row.ac}}
88
- </td>
89
- <td class="td-1" style="text-align: center;">
90
- {{row.bc}}
91
- </td>
92
- <td class="td-1" style="text-align: center;">
93
- {{row.cc}}
94
- </td>
95
- </tr>
96
- </template>
97
- <template partial='foot'>
98
- <tr>
99
- <td colspan="1" style="text-align: right">合计:</td>
100
- <td style="text-align: center"><nobr>{{model.sums.a}}</nobr></td>
101
- <td style="text-align: center"><nobr>{{model.sums.b}}</nobr></td>
102
- <td style="text-align: center"><nobr>{{model.sums.c}}</nobr></td>
103
- <td style="text-align: center"><nobr>{{model.sums.ac}}</nobr></td>
104
- <td style="text-align: center"><nobr>{{model.sums.bc}}</nobr></td>
105
- <td style="text-align: center"><nobr>{{model.sums.cc}}</nobr></td>
106
- </tr>
107
- </template>
108
- </data-grid>
109
- </criteria-paged>
110
- </div>
111
-
112
- <div class="div-3" style="margin-top: 10%">
113
- <h4 align="center" v-if="plan_type == ''">安检状态一览表</h4>
114
- <h4 align="center" v-if="plan_type == 'false'">年度安检状态一览表</h4>
115
- <h4 align="center" v-if="plan_type == 'true'">首次通气安检状态一览表</h4>
116
- <criteria-paged :model="model" v-ref:crip >
117
- <data-grid :model="model" partial='list' id="datagridstyle1" v-ref:grid1 classname="table table-bordered table table-hover">
118
- <template partial='head'>
119
- <tr>
120
- <th><nobr>分公司</nobr></th>
121
- <th><nobr>入户</nobr></th>
122
- <th><nobr>入户(在用)</nobr></th>
123
- <th><nobr>入户(未用)</nobr></th>
124
- <th><nobr>到访不遇</nobr></th>
125
- <th><nobr>拒检</nobr></th>
126
- <th><nobr>小计</nobr></th>
127
- </tr>
128
- </template>
129
- <template partial='body' >
130
- <tr class="tr-1">
131
- <td class="td-1" style="text-align: center;">
132
- {{row.f_subcompany}}
133
- </td>
134
- <td class="td-1" style="text-align: center;">
135
- {{row.rh+row.wsy}}
136
- </td>
137
- <td class="td-1" style="text-align: center;">
138
- {{row.rh}}
139
- </td>
140
- <td class="td-1" style="text-align: center;">
141
- {{row.wsy}}
142
- </td>
143
- <td class="td-1" style="text-align: center;">
144
- {{row.dfby}}
145
- </td>
146
- <td class="td-1" style="text-align: center;">
147
- {{row.jj}}
148
- </td>
149
- <td class="td-1" style="text-align: center;">
150
- {{row.rh+row.dfby+row.jj+row.wsy}}
151
- </td>
152
- </tr>
153
- </template>
154
- <template partial='foot'>
155
- <tr>
156
- <td colspan="1" style="text-align: right">合计:</td>
157
- <td style="text-align: center"><nobr>{{model.sums.rh + model.sums.wsy}}</nobr></td>
158
- <td style="text-align: center"><nobr>{{model.sums.rh}}</nobr></td>
159
- <td style="text-align: center"><nobr>{{model.sums.wsy}}</nobr></td>
160
- <td style="text-align: center"><nobr>{{model.sums.dfby}}</nobr></td>
161
- <td style="text-align: center"><nobr>{{model.sums.jj}}</nobr></td>
162
- <td style="text-align: center"><nobr>{{model.sums.rh+model.sums.dfby+model.sums.jj+model.sums.wsy}}</nobr></td>
163
- </tr>
164
- </template>
165
- </data-grid>
166
- </criteria-paged>
167
- </div>
168
-
169
- </div>
170
-
171
- </div>
172
- </div>
173
- </div>
174
- </template>
175
-
176
- <script>
177
- import * as Util from '../../Util'
178
- import co from 'co'
179
- import echarts from 'echarts'
180
- import {HttpResetClass} from 'vue-client'
181
- import {PagedList} from 'vue-client'
182
-
183
- //后台查询数据
184
- let getData = function* (self) {
185
- let load = new HttpResetClass()
186
- load.load('POST', 'api/af-safecheck/sql/CheckStatusQuery', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
187
- {resolveMsg: null, rejectMsg: null})
188
- .then((res) => {
189
- let echartData = res.data
190
-
191
- var legendname = []
192
- echartData.forEach(function (items) {
193
- legendname.push(items.name)
194
- })
195
-
196
- self.setSafe(echartData, legendname)
197
- self.setstatustable()
198
- })
199
-
200
- }
201
-
202
-
203
- let getData1 = function* (self) {
204
- let Http = new HttpResetClass()
205
- Http.load('POST','api/af-safecheck/sql/HiddenLevel', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
206
- {resolveMsg: null, rejectMsg: null})
207
- .then((res) => {
208
- let legendname = [] //分类名,横坐标分类,隐患级别
209
- let metaDate = [] //二维数组 2*n 第一行为当前级别隐患总数,第二行为当前级别整改数
210
- let scaledata = [] //整改率
211
-
212
- let d1=[] // 隐患数
213
- let d2=[] //整改数
214
- //数据处理
215
- res.data.forEach(function (s) {
216
- legendname.push(s.name)
217
- d1.push(s.value)
218
- d2.push(s.change)
219
- var h=(s.change/s.value).toFixed(3)
220
- scaledata.push(h)
221
- })
222
- metaDate.push(d1)
223
- metaDate.push(d2)
224
- //掉绘图
225
- self.setBar(legendname,metaDate,scaledata)
226
- self.setleveltable()
227
- })
228
- }
229
-
230
- export default {
231
- name: "hidden-danger",
232
-
233
- data() {
234
- return {
235
- full_screen: true,//控制全屏按键显示状态
236
- show_all: false,//控制返回按键显示状态
237
- //控制图表的显示状态
238
- echartsshow: false,
239
- barshow: true,
240
- detailshows: true,
241
-
242
- //控制图表的style
243
- barheight: '88.37%',
244
- headheight: '11.61%',
245
- styledate: {
246
- echartsheight: '95%',
247
- echartsfloat: 'none',
248
- },
249
- echartswidth: '95%',
250
- barshowid: '1',
251
- model:new PagedList(),
252
- model1:new PagedList(),
253
- orgid: `('${this.$login.f.orgid}')`,
254
- f: this.$login.f,
255
- chosenOrg: {
256
- id: 0
257
- },
258
- startDate:(new Date()).getFullYear()+'-01-01',
259
- endDate: Util.toStandardDateString(),
260
- xc: '',
261
- plan_types:[{label:'全部',value:''},{label:'年度安检单',value:'false'},{label:'首次通气单',value:'true'}],
262
- plan_type:'',
263
- f_safecheck_type:''
264
- }
265
- },
266
- props:{
267
- f_filialeids:{
268
- type:String
269
- }
270
- },
271
- methods: {
272
- barrdios() {//全屏按键事件
273
- console.log("全屏显示事件")
274
- this.barshow = true
275
- this.detailshows = false
276
- this.echartsshow = true
277
- this.show_all = true
278
- this.full_screen = false
279
- this.buttonshow = true
280
- this.showdetail = false
281
- this.styledate.echartsfloat = 'left'
282
- this.styledate.echartsheight = '65%'
283
- this.echartswidth = '50%'
284
- this.headheight = '8%'
285
- this.$parent.echarts = '4'
286
- this.$emit('echarts-changed')
287
- this.newecharts = true
288
-
289
- console.log(this.$parent.echarts, '主图状态')
290
- },
291
- showall() {//返回按键事件
292
- //修改显示状态
293
- this.barshow = false
294
- this.detailshows = true
295
- this.echartsshow = false
296
- this.buttonshow = false
297
- this.newecharts = false
298
- this.show_all = false
299
- this.full_screen = true
300
- this.showdetail = false
301
- this.styledate.echartsheight = '95%'
302
- this.echartswidth = '95%'
303
- this.$parent.echarts = -1
304
- this.headheight = '11.61%'
305
- this.$emit('echarts-changed', this.echarts)
306
- },
307
- setstatustable() {
308
- this.model = new PagedList('api/af-safecheck/sql/QueryCheckStatus', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{rh:'',dfby:'',wsy:'',jj:''})
309
- this.model.startDate = this.startDate
310
- this.model.endDate = this.endDate
311
- this.model.orgid = this.orgid
312
- this.model.plan_type = this.plan_type
313
- this.model.f_safecheck_type = this.f_safecheck_type
314
- this.model.search('1=1')
315
- },
316
- setleveltable() {
317
- this.model1 = new PagedList('api/af-safecheck/sql/QueryHiddenLevel', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{a:'',b:'',c:'',ac:'',bc:'',cc:''})
318
- this.model1.startDate = this.startDate
319
- this.model1.endDate = this.endDate
320
- this.model1.orgid = this.orgid
321
- this.model1.plan_type = this.plan_type
322
- this.model1.f_safecheck_type = this.f_safecheck_type
323
- this.model1.search('1=1')
324
- },
325
- //隐患饼状图
326
- setSafe(echartData,legendname) {
327
- this.xc = echarts.init(document.getElementById('hidden'))
328
- var rich = {
329
- yellow: {
330
- color: "#ffc72b",
331
- fontSize: 12 * scale,
332
- padding: [5, 4],
333
- align: 'center'
334
- },
335
- total: {
336
- color: "#8ee6de",
337
- fontSize: 12 * scale,
338
- align: 'center',
339
- confine:true
340
- },
341
- white: {
342
- color: "#fff",
343
- align: 'center',
344
- fontSize: 12 * scale,
345
- padding: [11, 0, 11, 0]
346
- },
347
- blue: {
348
- color: '#6f8ba8',
349
- fontSize: 8 * scale,
350
- align: 'center',
351
- padding: [10, 0]
352
- },
353
- hr: {
354
- borderColor: '#ffffff',
355
- width: '100%',
356
- borderWidth: 0.5,
357
- height: 0,
358
- },
359
- }
360
- var scale = 0.8
361
- var total = 0; //安检总量
362
- echartData.forEach(function (value) {
363
- total = eval(total + '+' + value.value)
364
- });
365
- this.xc.setOption({
366
- title: [
367
- {
368
- text: '安检总量',
369
- x: '40%',
370
- y: '40%',
371
- textStyle: {
372
- color: '#6f8ba8',
373
- fontSize: 12 * scale,
374
- }
375
- },
376
- {
377
- text: total,
378
- x: '38%',
379
- y: '45%',
380
- padding: [15, 20],
381
- textStyle: {
382
- color: '#8ee6de',
383
- fontSize: 12 * scale,
384
- }
385
- }],
386
- legend: {
387
- orient: 'horizontal',
388
- icon: 'circle',
389
- x: 'right',
390
- right: 5,
391
- top: 20,
392
- itemWidth: 20 * scale,
393
- itemHeight: 10 * scale,
394
- textStyle: {
395
- fontSize: 12 * scale,
396
- padding: [0, 0, 0, 4],
397
- color: '#6f8ba8'
398
- },
399
- data: legendname
400
- },
401
- series: [{
402
- name: '安检总量',
403
- type: 'pie',
404
- radius: '40%',
405
- center: ['50%', '50%'],
406
- hoverAnimation: false,
407
- color: ['#8ee6de', '#fbd85f', '#9bb5eb','#38dcad'],
408
- label: {
409
- normal: {
410
- borderWidth: 20 * scale,
411
- borderRadius: 4,
412
- lineHeight:6,
413
- formatter: function (params, ticket, callback) {
414
- var total = 0; //隐患总数
415
- var percent = 0;
416
- echartData.forEach(function (value, index, array) {
417
- total += value.value;
418
- });
419
- percent = ((params.value / total) * 100).toFixed(1);
420
- return '{blue|' + params.name + '}\n{hr|}\n{total|' + params.value + '}{blue|\n\n}{yellow|' + percent + '%' + '}';
421
- },
422
- rich: rich,
423
- }
424
- },
425
- labelLine: {
426
- normal: {
427
- lineStyle: {
428
- formatter: function (params, ticket, callback) {
429
- var total = 0; //隐患总数
430
- var percent = 0; //用户占比
431
- echartData.forEach(function (value, index, array) {
432
- total += value.value;
433
- });
434
- percent = ((params.value / total) * 100).toFixed(1);
435
- return '{white|' + params.name + '}\n{hr|}\n{yellow|' + params.value + '}\n{blue|' + percent + '%}';
436
- },
437
- }
438
- }
439
- },
440
- data: echartData
441
- }]
442
- }, true)
443
- },
444
-
445
- setBar(legendname,metaDate,scaledata) {
446
- this.xc1 = echarts.init(document.getElementById('hiddenlevel'))
447
-
448
- let serieData = [{ //绘图数据
449
- name: '隐患总数',
450
- type: "bar",
451
- barWidth: '20%',
452
- barGap: "0",
453
- itemStyle: {
454
- normal: {
455
- barBorderRadius: 15,
456
- borderColor: '#00c0e9',
457
- color: '#fff',
458
- label: {
459
- show: true,
460
- textStyle: {
461
- color: "#4a7cae"
462
- },
463
- position: "top",
464
- formatter: function (p) {
465
- return p.value > 0 ? (p.value) : '';
466
- }
467
- }
468
- }
469
- },
470
- data: metaDate[0],
471
- },
472
- { //绘图数据
473
- name: '整改数',
474
- type: "bar",
475
- barWidth: '20%',
476
- barGap: "-100%",
477
- itemStyle: {
478
- normal: {
479
- barBorderRadius: 15,
480
- color: '#00c0e9',
481
- label: {
482
- show: true,
483
- textStyle: {
484
- color: "#4a7cae"
485
- },
486
- position: "insideTop",
487
- formatter: function (p) {
488
- return p.value > 0 ? (p.value) : '';
489
- }
490
- }
491
- }
492
- },
493
- data: metaDate[1],
494
- }]
495
-
496
-
497
- this.xc1.setOption({
498
- title: {
499
- text: '',
500
- x: '30%',
501
- textStyle: {color: "#333333", fontSize: "16", fontWeight: "normal"}
502
- },
503
- color: ['#3398DB'],
504
- tooltip: {
505
- trigger: 'axis',
506
- axisPointer: { // 坐标轴指示器,坐标轴触发有效
507
- type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
508
- },
509
- formatter: function (params) {
510
- if (params[0].axisValue == '') {
511
- return ''
512
- }
513
- var result = ''
514
- params.forEach(function (item) {
515
- result += item.seriesName + " : " + item.value + "</br>";
516
- });
517
- var h=eval(scaledata[params[0].dataIndex]*100).toString()
518
-
519
- return result+"整改率:"+h+'%'
520
- },
521
- extraCssText: 'width: 60%;height: 30%;'
522
- },
523
- grid: {
524
- left: '2%',
525
- right: '20%',
526
- bottom: '8%',
527
- containLabel: true
528
- },
529
- xAxis: [
530
- {
531
- type: 'category',
532
- name: "隐患等级",
533
- nameTextStyle: {color: "#6f8ba8"},
534
- axisTick: {
535
- alignWithLabel: true
536
- },
537
- axisLine: {show: true,lineStyle :{color:'#999999'}},
538
- axisLabel: {show: true, textStyle: {color: "#6f8ba8"}},
539
- data: legendname
540
- }
541
- ],
542
- yAxis: [{
543
- type: "value",
544
- name: "数量",
545
- nameTextStyle: {color: "#6f8ba8"},
546
- splitLine: {show: true,lineStyle:{type:'dashed',color:'#e1e1e1'}},
547
- axisTick: {show: true},
548
- axisLine: {show: true,lineStyle :{color:'#999999'}},
549
- axisLabel: {show: true, textStyle: {color: "#6f8ba8"}}
550
- }],
551
- series: serieData
552
- }, true)
553
- },
554
- searchdata () {
555
- let getGen =getData(this)
556
- co(getGen)
557
- },
558
- searchdata1 () {
559
- let getGen =getData1(this)
560
- co(getGen)
561
- }
562
- },
563
- ready () {
564
- // this.orgid = `('${this.$login.f.orgid}')`
565
- // this.searchdata()
566
- // this.searchdata1()
567
- },
568
- watch: {
569
- 'startDate' (val) {
570
- console.log("我是watch")
571
- this.searchdata()
572
- this.searchdata1()
573
- },
574
- 'endDate' (val) {
575
- console.log("我是watch")
576
- this.searchdata()
577
- this.searchdata1()
578
- },
579
- 'plan_type' (val) {
580
- console.log("我是watch")
581
- this.f_safecheck_type = ''
582
- if (this.plan_type == 'false') {
583
- this.f_safecheck_type = '年度普检'
584
- }
585
- if (this.plan_type == 'true') {
586
- this.f_safecheck_type = '首次通气'
587
- }
588
- this.searchdata()
589
- this.searchdata1()
590
- },
591
- 'f_filialeids'(){
592
- console.log('hidden改变了')
593
- this.orgid = this.f_filialeids
594
- this.searchdata()
595
- this.searchdata1()
596
- }
597
- }
598
- }
599
- </script>
600
- <style scoped>
601
- .div-1 {
602
- height: 85%;
603
- width: 10%;
604
- margin-left: 5%;
605
- float: left;
606
- margin-top: 1%;
607
- }
608
-
609
- .div-2 {
610
- float: right;
611
- width: 80%;
612
- height: 55.56%;
613
- margin-right: 1%;
614
- margin-top: 0.5%;
615
- }
616
-
617
- .div-3 {
618
- float: left;
619
- margin-left: 2%;
620
- padding-top: 2%;
621
- width: 96%;
622
- height: 99%;
623
- }
624
-
625
- .div-4 {
626
- background-color: #fafafa;
627
- }
628
-
629
- table {
630
- height: 100%;
631
- width: 100%;
632
- font-size: 12px
633
- }
634
-
635
- tr {
636
- height: 25%;
637
- width: 100%
638
- }
639
-
640
- td {
641
- width: 11%;
642
- font-size: 12px;
643
- color: #666666;
644
- }
645
-
646
- .td-1 {
647
- width: 16%;
648
- color: #90addf;
649
- font-size: 12px
650
- }
651
-
652
- .td-2 {
653
- width: 15%;
654
- color: #90addf;
655
- font-size: 12px
656
- }
657
-
658
- span {
659
- color: #90addf;
660
- font-size: 12px
661
- }
662
-
663
- .span-1 {
664
- color: #999999;
665
- font-size: 12px
666
- }
667
-
668
- .p-1 {
669
- font-size: 15px;
670
- height: 99%;
671
- width: 99%;
672
- font-weight: bold;
673
- color: #333333;
674
- }
675
-
676
- button {
677
- width: 10%;
678
- margin-top: 0%;
679
- margin-left: 2%;
680
- float: right;
681
- background-color: #73ca73;
682
- border-radius: 4px;
683
- border: 1px solid #73ca73;
684
- color: #ffffff;
685
- font-size: 15px;
686
- height: 120%;
687
- }
688
-
689
- .but-1 {
690
- width: 17%;
691
- float: right;
692
- border-radius: 4px;
693
- font-size: 12px;
694
- height: 130%;
695
- }
696
-
697
- .but-2 {
698
- background-color: #88b5e2;
699
- border: #88b5e2;
700
- width: 6%;
701
- }
702
-
703
- img {
704
- width: 5px;
705
- height: 18px;
706
- }
707
-
708
- .img-1 {
709
- height: 12px;
710
- width: auto;
711
- }
712
-
713
- </style>
1
+ <template lang="html">
2
+ <div class="div-4">
3
+ <div :style="{height:headheight,background:'#eaeff4'}" style="width:100%">
4
+ <div class="div-2">
5
+ <div class="form-group">
6
+ <label v-show="full_screen" class="control-label">安检类型</label>
7
+ <v-select v-show="full_screen" :value.sync="plan_type"
8
+ :value-single="true"
9
+ :options='plan_types' close-on-select clear-button> </v-select>
10
+ <button class="but-1" @click="barrdios" v-show="full_screen"><img src='../../../assets/echarts6.png' class="img-1"/>&nbsp;全屏显示
11
+ </button>
12
+ <button @click="showall" v-show="show_all" class="but-2">返回</button>
13
+ </div>
14
+ </div>
15
+ </div>
16
+ <div v-bind:style="{height: barheight,width:'100%'}">
17
+ <div class="flex-row" style="height: 90%;">
18
+ <div class="span">
19
+ <div class="form-inline" v-if="echartsshow" style="height: auto;margin-bottom: 5%;margin-top: 5%">
20
+ <div class="form-group">
21
+ <label for="startDate">开始日期:</label>
22
+ <datepicker id="startDate" placeholder="开始日期"
23
+ v-model="startDate"
24
+ :value.sync="startDate"
25
+ :disabled-days-of-Week="[]"
26
+ :format="'yyyy-MM-dd'"
27
+ :show-reset-button="reset">
28
+ </datepicker>
29
+ </div>
30
+ <div class="form-group">
31
+ <label for="endDate">截至日期:</label>
32
+ <datepicker id="endDate" placeholder="结束日期"
33
+ v-model="endDate"
34
+ v-show="show_all"
35
+ :value.sync="endDate"
36
+ :disabled-days-of-Week="[]"
37
+ :format="'yyyy-MM-dd'"
38
+ :show-reset-button="reset">
39
+ </datepicker>
40
+ </div>
41
+ <div class="form-group">
42
+ <label class="control-label">安检类型</label>
43
+ <v-select :value.sync="plan_type"
44
+ :value-single="true"
45
+ :options='plan_types' close-on-select clear-button> </v-select>
46
+ </div>
47
+ </div>
48
+
49
+ <div id="hidden" style="width:45%;float:left;"></div>
50
+ <div id="hiddenlevel" style="width: 45%;float:right;margin-left:-5px;"></div>
51
+ </div>
52
+
53
+ <!--调用子组件绘图查表-->
54
+ <div v-show="echartsshow" style="overflow:scroll">
55
+ <div class="div-3">
56
+ <h4 v-if="plan_type == ''" align="center">隐患及整改率率一览表</h4>
57
+ <h4 v-if="plan_type == 'false'" align="center">年度安检隐患及整改率率一览表</h4>
58
+ <h4 v-if="plan_type == 'true'" align="center">首次通气隐患及整改率率一览表</h4>
59
+ <criteria-paged :model="model1" v-ref:crip2 >
60
+ <data-grid :model="model" partial='list' v-ref:grid2 classname="table table-bordered table table-hover">
61
+ <template partial='head'>
62
+ <tr>
63
+ <th><nobr>分公司</nobr></th>
64
+ <th><nobr>A</nobr></th>
65
+ <th><nobr>B</nobr></th>
66
+ <th><nobr>C</nobr></th>
67
+ <th><nobr>A整改</nobr></th>
68
+ <th><nobr>B整改</nobr></th>
69
+ <th><nobr>C整改</nobr></th>
70
+ </tr>
71
+ </template>
72
+ <template partial='body' >
73
+ <tr class="tr-1">
74
+ <td class="td-1" style="text-align: center;">
75
+ {{row.f_subcompany}}
76
+ </td>
77
+ <td class="td-1" style="text-align: center;">
78
+ {{row.a}}
79
+ </td>
80
+ <td class="td-1" style="text-align: center;">
81
+ {{row.b}}
82
+ </td>
83
+ <td class="td-1" style="text-align: center;">
84
+ {{row.c}}
85
+ </td>
86
+ <td class="td-1" style="text-align: center;">
87
+ {{row.ac}}
88
+ </td>
89
+ <td class="td-1" style="text-align: center;">
90
+ {{row.bc}}
91
+ </td>
92
+ <td class="td-1" style="text-align: center;">
93
+ {{row.cc}}
94
+ </td>
95
+ </tr>
96
+ </template>
97
+ <template partial='foot'>
98
+ <tr>
99
+ <td colspan="1" style="text-align: right">合计:</td>
100
+ <td style="text-align: center"><nobr>{{model.sums.a}}</nobr></td>
101
+ <td style="text-align: center"><nobr>{{model.sums.b}}</nobr></td>
102
+ <td style="text-align: center"><nobr>{{model.sums.c}}</nobr></td>
103
+ <td style="text-align: center"><nobr>{{model.sums.ac}}</nobr></td>
104
+ <td style="text-align: center"><nobr>{{model.sums.bc}}</nobr></td>
105
+ <td style="text-align: center"><nobr>{{model.sums.cc}}</nobr></td>
106
+ </tr>
107
+ </template>
108
+ </data-grid>
109
+ </criteria-paged>
110
+ </div>
111
+
112
+ <div class="div-3" style="margin-top: 10%">
113
+ <h4 align="center" v-if="plan_type == ''">安检状态一览表</h4>
114
+ <h4 align="center" v-if="plan_type == 'false'">年度安检状态一览表</h4>
115
+ <h4 align="center" v-if="plan_type == 'true'">首次通气安检状态一览表</h4>
116
+ <criteria-paged :model="model" v-ref:crip >
117
+ <data-grid :model="model" partial='list' id="datagridstyle1" v-ref:grid1 classname="table table-bordered table table-hover">
118
+ <template partial='head'>
119
+ <tr>
120
+ <th><nobr>分公司</nobr></th>
121
+ <th><nobr>入户</nobr></th>
122
+ <th><nobr>入户(在用)</nobr></th>
123
+ <th><nobr>入户(未用)</nobr></th>
124
+ <th><nobr>到访不遇</nobr></th>
125
+ <th><nobr>拒检</nobr></th>
126
+ <th><nobr>小计</nobr></th>
127
+ </tr>
128
+ </template>
129
+ <template partial='body' >
130
+ <tr class="tr-1">
131
+ <td class="td-1" style="text-align: center;">
132
+ {{row.f_subcompany}}
133
+ </td>
134
+ <td class="td-1" style="text-align: center;">
135
+ {{row.rh+row.wsy}}
136
+ </td>
137
+ <td class="td-1" style="text-align: center;">
138
+ {{row.rh}}
139
+ </td>
140
+ <td class="td-1" style="text-align: center;">
141
+ {{row.wsy}}
142
+ </td>
143
+ <td class="td-1" style="text-align: center;">
144
+ {{row.dfby}}
145
+ </td>
146
+ <td class="td-1" style="text-align: center;">
147
+ {{row.jj}}
148
+ </td>
149
+ <td class="td-1" style="text-align: center;">
150
+ {{row.rh+row.dfby+row.jj+row.wsy}}
151
+ </td>
152
+ </tr>
153
+ </template>
154
+ <template partial='foot'>
155
+ <tr>
156
+ <td colspan="1" style="text-align: right">合计:</td>
157
+ <td style="text-align: center"><nobr>{{model.sums.rh + model.sums.wsy}}</nobr></td>
158
+ <td style="text-align: center"><nobr>{{model.sums.rh}}</nobr></td>
159
+ <td style="text-align: center"><nobr>{{model.sums.wsy}}</nobr></td>
160
+ <td style="text-align: center"><nobr>{{model.sums.dfby}}</nobr></td>
161
+ <td style="text-align: center"><nobr>{{model.sums.jj}}</nobr></td>
162
+ <td style="text-align: center"><nobr>{{model.sums.rh+model.sums.dfby+model.sums.jj+model.sums.wsy}}</nobr></td>
163
+ </tr>
164
+ </template>
165
+ </data-grid>
166
+ </criteria-paged>
167
+ </div>
168
+
169
+ </div>
170
+
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </template>
175
+
176
+ <script>
177
+ import * as Util from '../../Util'
178
+ import co from 'co'
179
+ import echarts from 'echarts'
180
+ import {HttpResetClass} from 'vue-client'
181
+ import {PagedList} from 'vue-client'
182
+
183
+ //后台查询数据
184
+ let getData = function* (self) {
185
+ let load = new HttpResetClass()
186
+ load.load('POST', 'api/af-safecheck/sql/CheckStatusQuery', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
187
+ {resolveMsg: null, rejectMsg: null})
188
+ .then((res) => {
189
+ let echartData = res.data
190
+
191
+ var legendname = []
192
+ echartData.forEach(function (items) {
193
+ legendname.push(items.name)
194
+ })
195
+
196
+ self.setSafe(echartData, legendname)
197
+ self.setstatustable()
198
+ })
199
+
200
+ }
201
+
202
+
203
+ let getData1 = function* (self) {
204
+ let Http = new HttpResetClass()
205
+ Http.load('POST','api/af-safecheck/sql/HiddenLevel', {data: {startDate:self.startDate,f_orgstr: self.orgid, endDate: self.endDate,plan_type:self.plan_type,f_safecheck_type:self.f_safecheck_type}},
206
+ {resolveMsg: null, rejectMsg: null})
207
+ .then((res) => {
208
+ let legendname = [] //分类名,横坐标分类,隐患级别
209
+ let metaDate = [] //二维数组 2*n 第一行为当前级别隐患总数,第二行为当前级别整改数
210
+ let scaledata = [] //整改率
211
+
212
+ let d1=[] // 隐患数
213
+ let d2=[] //整改数
214
+ //数据处理
215
+ res.data.forEach(function (s) {
216
+ legendname.push(s.name)
217
+ d1.push(s.value)
218
+ d2.push(s.change)
219
+ var h=(s.change/s.value).toFixed(3)
220
+ scaledata.push(h)
221
+ })
222
+ metaDate.push(d1)
223
+ metaDate.push(d2)
224
+ //掉绘图
225
+ self.setBar(legendname,metaDate,scaledata)
226
+ self.setleveltable()
227
+ })
228
+ }
229
+
230
+ export default {
231
+ name: "hidden-danger",
232
+
233
+ data() {
234
+ return {
235
+ full_screen: true,//控制全屏按键显示状态
236
+ show_all: false,//控制返回按键显示状态
237
+ //控制图表的显示状态
238
+ echartsshow: false,
239
+ barshow: true,
240
+ detailshows: true,
241
+
242
+ //控制图表的style
243
+ barheight: '88.37%',
244
+ headheight: '11.61%',
245
+ styledate: {
246
+ echartsheight: '95%',
247
+ echartsfloat: 'none',
248
+ },
249
+ echartswidth: '95%',
250
+ barshowid: '1',
251
+ model:new PagedList(),
252
+ model1:new PagedList(),
253
+ orgid: `('${this.$login.f.orgid}')`,
254
+ f: this.$login.f,
255
+ chosenOrg: {
256
+ id: 0
257
+ },
258
+ startDate:(new Date()).getFullYear()+'-01-01',
259
+ endDate: Util.toStandardDateString(),
260
+ xc: '',
261
+ plan_types:[{label:'全部',value:''},{label:'年度安检单',value:'false'},{label:'首次通气单',value:'true'}],
262
+ plan_type:'',
263
+ f_safecheck_type:''
264
+ }
265
+ },
266
+ props:{
267
+ f_filialeids:{
268
+ type:String
269
+ }
270
+ },
271
+ methods: {
272
+ barrdios() {//全屏按键事件
273
+ console.log("全屏显示事件")
274
+ this.barshow = true
275
+ this.detailshows = false
276
+ this.echartsshow = true
277
+ this.show_all = true
278
+ this.full_screen = false
279
+ this.buttonshow = true
280
+ this.showdetail = false
281
+ this.styledate.echartsfloat = 'left'
282
+ this.styledate.echartsheight = '65%'
283
+ this.echartswidth = '50%'
284
+ this.headheight = '8%'
285
+ this.$parent.echarts = '4'
286
+ this.$emit('echarts-changed')
287
+ this.newecharts = true
288
+
289
+ console.log(this.$parent.echarts, '主图状态')
290
+ },
291
+ showall() {//返回按键事件
292
+ //修改显示状态
293
+ this.barshow = false
294
+ this.detailshows = true
295
+ this.echartsshow = false
296
+ this.buttonshow = false
297
+ this.newecharts = false
298
+ this.show_all = false
299
+ this.full_screen = true
300
+ this.showdetail = false
301
+ this.styledate.echartsheight = '95%'
302
+ this.echartswidth = '95%'
303
+ this.$parent.echarts = -1
304
+ this.headheight = '11.61%'
305
+ this.$emit('echarts-changed', this.echarts)
306
+ },
307
+ setstatustable() {
308
+ this.model = new PagedList('api/af-safecheck/sql/QueryCheckStatus', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{rh:'',dfby:'',wsy:'',jj:''})
309
+ this.model.startDate = this.startDate
310
+ this.model.endDate = this.endDate
311
+ this.model.orgid = this.orgid
312
+ this.model.plan_type = this.plan_type
313
+ this.model.f_safecheck_type = this.f_safecheck_type
314
+ this.model.search('1=1')
315
+ },
316
+ setleveltable() {
317
+ this.model1 = new PagedList('api/af-safecheck/sql/QueryHiddenLevel', 20, {startDate: 'this.startDate',endDate: 'this.endDate', orgid: 'this.orgid',plan_type:'this.plan_type',f_safecheck_type: 'this.f_safecheck_type'},{a:'',b:'',c:'',ac:'',bc:'',cc:''})
318
+ this.model1.startDate = this.startDate
319
+ this.model1.endDate = this.endDate
320
+ this.model1.orgid = this.orgid
321
+ this.model1.plan_type = this.plan_type
322
+ this.model1.f_safecheck_type = this.f_safecheck_type
323
+ this.model1.search('1=1')
324
+ },
325
+ //隐患饼状图
326
+ setSafe(echartData,legendname) {
327
+ this.xc = echarts.init(document.getElementById('hidden'))
328
+ var rich = {
329
+ yellow: {
330
+ color: "#ffc72b",
331
+ fontSize: 12 * scale,
332
+ padding: [5, 4],
333
+ align: 'center'
334
+ },
335
+ total: {
336
+ color: "#8ee6de",
337
+ fontSize: 12 * scale,
338
+ align: 'center',
339
+ confine:true
340
+ },
341
+ white: {
342
+ color: "#fff",
343
+ align: 'center',
344
+ fontSize: 12 * scale,
345
+ padding: [11, 0, 11, 0]
346
+ },
347
+ blue: {
348
+ color: '#6f8ba8',
349
+ fontSize: 8 * scale,
350
+ align: 'center',
351
+ padding: [10, 0]
352
+ },
353
+ hr: {
354
+ borderColor: '#ffffff',
355
+ width: '100%',
356
+ borderWidth: 0.5,
357
+ height: 0,
358
+ },
359
+ }
360
+ var scale = 0.8
361
+ var total = 0; //安检总量
362
+ echartData.forEach(function (value) {
363
+ total = eval(total + '+' + value.value)
364
+ });
365
+ this.xc.setOption({
366
+ title: [
367
+ {
368
+ text: '安检总量',
369
+ x: '40%',
370
+ y: '40%',
371
+ textStyle: {
372
+ color: '#6f8ba8',
373
+ fontSize: 12 * scale,
374
+ }
375
+ },
376
+ {
377
+ text: total,
378
+ x: '38%',
379
+ y: '45%',
380
+ padding: [15, 20],
381
+ textStyle: {
382
+ color: '#8ee6de',
383
+ fontSize: 12 * scale,
384
+ }
385
+ }],
386
+ legend: {
387
+ orient: 'horizontal',
388
+ icon: 'circle',
389
+ x: 'right',
390
+ right: 5,
391
+ top: 20,
392
+ itemWidth: 20 * scale,
393
+ itemHeight: 10 * scale,
394
+ textStyle: {
395
+ fontSize: 12 * scale,
396
+ padding: [0, 0, 0, 4],
397
+ color: '#6f8ba8'
398
+ },
399
+ data: legendname
400
+ },
401
+ series: [{
402
+ name: '安检总量',
403
+ type: 'pie',
404
+ radius: '40%',
405
+ center: ['50%', '50%'],
406
+ hoverAnimation: false,
407
+ color: ['#8ee6de', '#fbd85f', '#9bb5eb','#38dcad'],
408
+ label: {
409
+ normal: {
410
+ borderWidth: 20 * scale,
411
+ borderRadius: 4,
412
+ lineHeight:6,
413
+ formatter: function (params, ticket, callback) {
414
+ var total = 0; //隐患总数
415
+ var percent = 0;
416
+ echartData.forEach(function (value, index, array) {
417
+ total += value.value;
418
+ });
419
+ percent = ((params.value / total) * 100).toFixed(1);
420
+ return '{blue|' + params.name + '}\n{hr|}\n{total|' + params.value + '}{blue|\n\n}{yellow|' + percent + '%' + '}';
421
+ },
422
+ rich: rich,
423
+ }
424
+ },
425
+ labelLine: {
426
+ normal: {
427
+ lineStyle: {
428
+ formatter: function (params, ticket, callback) {
429
+ var total = 0; //隐患总数
430
+ var percent = 0; //用户占比
431
+ echartData.forEach(function (value, index, array) {
432
+ total += value.value;
433
+ });
434
+ percent = ((params.value / total) * 100).toFixed(1);
435
+ return '{white|' + params.name + '}\n{hr|}\n{yellow|' + params.value + '}\n{blue|' + percent + '%}';
436
+ },
437
+ }
438
+ }
439
+ },
440
+ data: echartData
441
+ }]
442
+ }, true)
443
+ },
444
+
445
+ setBar(legendname,metaDate,scaledata) {
446
+ this.xc1 = echarts.init(document.getElementById('hiddenlevel'))
447
+
448
+ let serieData = [{ //绘图数据
449
+ name: '隐患总数',
450
+ type: "bar",
451
+ barWidth: '20%',
452
+ barGap: "0",
453
+ itemStyle: {
454
+ normal: {
455
+ barBorderRadius: 15,
456
+ borderColor: '#00c0e9',
457
+ color: '#fff',
458
+ label: {
459
+ show: true,
460
+ textStyle: {
461
+ color: "#4a7cae"
462
+ },
463
+ position: "top",
464
+ formatter: function (p) {
465
+ return p.value > 0 ? (p.value) : '';
466
+ }
467
+ }
468
+ }
469
+ },
470
+ data: metaDate[0],
471
+ },
472
+ { //绘图数据
473
+ name: '整改数',
474
+ type: "bar",
475
+ barWidth: '20%',
476
+ barGap: "-100%",
477
+ itemStyle: {
478
+ normal: {
479
+ barBorderRadius: 15,
480
+ color: '#00c0e9',
481
+ label: {
482
+ show: true,
483
+ textStyle: {
484
+ color: "#4a7cae"
485
+ },
486
+ position: "insideTop",
487
+ formatter: function (p) {
488
+ return p.value > 0 ? (p.value) : '';
489
+ }
490
+ }
491
+ }
492
+ },
493
+ data: metaDate[1],
494
+ }]
495
+
496
+
497
+ this.xc1.setOption({
498
+ title: {
499
+ text: '',
500
+ x: '30%',
501
+ textStyle: {color: "#333333", fontSize: "16", fontWeight: "normal"}
502
+ },
503
+ color: ['#3398DB'],
504
+ tooltip: {
505
+ trigger: 'axis',
506
+ axisPointer: { // 坐标轴指示器,坐标轴触发有效
507
+ type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
508
+ },
509
+ formatter: function (params) {
510
+ if (params[0].axisValue == '') {
511
+ return ''
512
+ }
513
+ var result = ''
514
+ params.forEach(function (item) {
515
+ result += item.seriesName + " : " + item.value + "</br>";
516
+ });
517
+ var h=eval(scaledata[params[0].dataIndex]*100).toString()
518
+
519
+ return result+"整改率:"+h+'%'
520
+ },
521
+ extraCssText: 'width: 60%;height: 30%;'
522
+ },
523
+ grid: {
524
+ left: '2%',
525
+ right: '20%',
526
+ bottom: '8%',
527
+ containLabel: true
528
+ },
529
+ xAxis: [
530
+ {
531
+ type: 'category',
532
+ name: "隐患等级",
533
+ nameTextStyle: {color: "#6f8ba8"},
534
+ axisTick: {
535
+ alignWithLabel: true
536
+ },
537
+ axisLine: {show: true,lineStyle :{color:'#999999'}},
538
+ axisLabel: {show: true, textStyle: {color: "#6f8ba8"}},
539
+ data: legendname
540
+ }
541
+ ],
542
+ yAxis: [{
543
+ type: "value",
544
+ name: "数量",
545
+ nameTextStyle: {color: "#6f8ba8"},
546
+ splitLine: {show: true,lineStyle:{type:'dashed',color:'#e1e1e1'}},
547
+ axisTick: {show: true},
548
+ axisLine: {show: true,lineStyle :{color:'#999999'}},
549
+ axisLabel: {show: true, textStyle: {color: "#6f8ba8"}}
550
+ }],
551
+ series: serieData
552
+ }, true)
553
+ },
554
+ searchdata () {
555
+ let getGen =getData(this)
556
+ co(getGen)
557
+ },
558
+ searchdata1 () {
559
+ let getGen =getData1(this)
560
+ co(getGen)
561
+ }
562
+ },
563
+ ready () {
564
+ // this.orgid = `('${this.$login.f.orgid}')`
565
+ // this.searchdata()
566
+ // this.searchdata1()
567
+ },
568
+ watch: {
569
+ 'startDate' (val) {
570
+ console.log("我是watch")
571
+ this.searchdata()
572
+ this.searchdata1()
573
+ },
574
+ 'endDate' (val) {
575
+ console.log("我是watch")
576
+ this.searchdata()
577
+ this.searchdata1()
578
+ },
579
+ 'plan_type' (val) {
580
+ console.log("我是watch")
581
+ this.f_safecheck_type = ''
582
+ if (this.plan_type == 'false') {
583
+ this.f_safecheck_type = '年度普检'
584
+ }
585
+ if (this.plan_type == 'true') {
586
+ this.f_safecheck_type = '首次通气'
587
+ }
588
+ this.searchdata()
589
+ this.searchdata1()
590
+ },
591
+ 'f_filialeids'(){
592
+ console.log('hidden改变了')
593
+ this.orgid = this.f_filialeids
594
+ this.searchdata()
595
+ this.searchdata1()
596
+ }
597
+ }
598
+ }
599
+ </script>
600
+ <style scoped>
601
+ .div-1 {
602
+ height: 85%;
603
+ width: 10%;
604
+ margin-left: 5%;
605
+ float: left;
606
+ margin-top: 1%;
607
+ }
608
+
609
+ .div-2 {
610
+ float: right;
611
+ width: 80%;
612
+ height: 55.56%;
613
+ margin-right: 1%;
614
+ margin-top: 0.5%;
615
+ }
616
+
617
+ .div-3 {
618
+ float: left;
619
+ margin-left: 2%;
620
+ padding-top: 2%;
621
+ width: 96%;
622
+ height: 99%;
623
+ }
624
+
625
+ .div-4 {
626
+ background-color: #fafafa;
627
+ }
628
+
629
+ table {
630
+ height: 100%;
631
+ width: 100%;
632
+ font-size: 12px
633
+ }
634
+
635
+ tr {
636
+ height: 25%;
637
+ width: 100%
638
+ }
639
+
640
+ td {
641
+ width: 11%;
642
+ font-size: 12px;
643
+ color: #666666;
644
+ }
645
+
646
+ .td-1 {
647
+ width: 16%;
648
+ color: #90addf;
649
+ font-size: 12px
650
+ }
651
+
652
+ .td-2 {
653
+ width: 15%;
654
+ color: #90addf;
655
+ font-size: 12px
656
+ }
657
+
658
+ span {
659
+ color: #90addf;
660
+ font-size: 12px
661
+ }
662
+
663
+ .span-1 {
664
+ color: #999999;
665
+ font-size: 12px
666
+ }
667
+
668
+ .p-1 {
669
+ font-size: 15px;
670
+ height: 99%;
671
+ width: 99%;
672
+ font-weight: bold;
673
+ color: #333333;
674
+ }
675
+
676
+ button {
677
+ width: 10%;
678
+ margin-top: 0%;
679
+ margin-left: 2%;
680
+ float: right;
681
+ background-color: #73ca73;
682
+ border-radius: 4px;
683
+ border: 1px solid #73ca73;
684
+ color: #ffffff;
685
+ font-size: 15px;
686
+ height: 120%;
687
+ }
688
+
689
+ .but-1 {
690
+ width: 17%;
691
+ float: right;
692
+ border-radius: 4px;
693
+ font-size: 12px;
694
+ height: 130%;
695
+ }
696
+
697
+ .but-2 {
698
+ background-color: #88b5e2;
699
+ border: #88b5e2;
700
+ width: 6%;
701
+ }
702
+
703
+ img {
704
+ width: 5px;
705
+ height: 18px;
706
+ }
707
+
708
+ .img-1 {
709
+ height: 12px;
710
+ width: auto;
711
+ }
712
+
713
+ </style>