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

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 (998) 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/index.html +6 -2
  25. package/package.json +4 -4
  26. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  27. package/src/assets/123.png +0 -0
  28. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  29. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  30. package/src/assets//345/234/260/345/235/200.png +0 -0
  31. package/src/assets//345/247/223/345/220/215.png +0 -0
  32. package/src/assets//345/260/217/345/214/272.png +0 -0
  33. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  34. package/src/assets//345/272/225/346/225/260.png +0 -0
  35. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  36. package/src/assets//346/245/274/345/217/267.png +0 -0
  37. package/src/assets//346/245/274/345/261/202.png +0 -0
  38. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  39. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  40. package/src/components/CheckerCount/CheckCountAreaList.vue +1 -1
  41. package/src/components/CheckerCount/CheckCountUserList.vue +4 -4
  42. package/src/components/CheckerCount/ZhouKouCheckCount.vue +4 -4
  43. package/src/components/DefectDealMain/DefectListNew.vue +11 -11
  44. package/src/components/DefectDealMain/DefectPaperNew.vue +13 -13
  45. package/src/components/ExportExcel.vue +4 -2
  46. package/src/components/LoadData.vue +62 -0
  47. package/src/components/NewDefectList/DefectListNew.vue +8 -7
  48. package/src/components/NewDefectList/DefectPaperNew.vue +13 -13
  49. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  50. package/src/components/Util/SafecheckUpload.vue +1 -1
  51. package/src/components/Util.js +7 -0
  52. package/src/components/android/AddGas.vue +2 -2
  53. package/src/components/android/AddPlanItem.vue +6 -6
  54. package/src/components/android/AddPlanItemYy.vue +451 -0
  55. package/src/components/android/AddSpecialPlanItem.vue +6 -6
  56. package/src/components/android/AdviseCommit.vue +1 -1
  57. package/src/components/android/AndroidCheckResult.vue +1 -1
  58. package/src/components/android/AndroidDefectDeal.vue +9 -8
  59. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  60. package/src/components/android/Announcement.vue +2 -2
  61. package/src/components/android/AreaPlan.vue +7 -12
  62. package/src/components/android/AreaSelect.vue +198 -0
  63. package/src/components/android/BlackUserOnLine.vue +5 -5
  64. package/src/components/android/BuildingSelect.vue +192 -0
  65. package/src/components/android/CheckNotice.vue +1 -1
  66. package/src/components/android/CheckPlan.vue +2 -2
  67. package/src/components/android/CheckPlanDown.vue +1 -1
  68. package/src/components/android/CheckPlanItems.vue +2 -2
  69. package/src/components/android/CheckPlanSelect.vue +229 -0
  70. package/src/components/android/CheckerMonthly.vue +1 -1
  71. package/src/components/android/CivilCurrentCreate.vue +7 -7
  72. package/src/components/android/ClockIn.vue +2 -2
  73. package/src/components/android/CurrentCreate.vue +7 -7
  74. package/src/components/android/CurrentCreateYy.vue +1051 -0
  75. package/src/components/android/CurrentCreate_new.vue +6 -6
  76. package/src/components/android/DailyworkloadQuery.vue +2 -2
  77. package/src/components/android/Devices.vue +1 -1
  78. package/src/components/android/Devicesm.vue +1 -1
  79. package/src/components/android/DoorService.vue +3 -3
  80. package/src/components/android/ExtractCheckPlan.vue +1 -1
  81. package/src/components/android/ExtractPlanItem.vue +5 -5
  82. package/src/components/android/ImgSelfAndroid.vue +1 -1
  83. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
  84. package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +2 -2
  85. package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
  86. package/src/components/android/Iotinstructionsview/IoTinstruction.vue +1 -1
  87. package/src/components/android/LcheckUnplan.vue +1 -1
  88. package/src/components/android/Login.vue +1 -1
  89. package/src/components/android/NewCheckpaperAndroid.vue +1 -1
  90. package/src/components/android/NoCivilCurrentCreate.vue +7 -7
  91. package/src/components/android/OnlineCheckByArea.vue +1 -1
  92. package/src/components/android/OnlineRepairSafe.vue +3 -3
  93. package/src/components/android/OnlineVindicate.vue +1 -1
  94. package/src/components/android/PaperFeedback.vue +47 -12
  95. package/src/components/android/PaperFeedbackTemp.vue +10 -10
  96. package/src/components/android/PaperFeedbackm.vue +4 -4
  97. package/src/components/android/PaperMeter.vue +1 -1
  98. package/src/components/android/PaperMeterNoncivil.vue +1 -1
  99. package/src/components/android/PaperSet.vue +2 -2
  100. package/src/components/android/PaperSetNoncivil.vue +2 -2
  101. package/src/components/android/PaperUser.vue +1 -1
  102. package/src/components/android/PaperUserNoncivil.vue +1 -1
  103. package/src/components/android/PhoneChangemeterInfo.vue +1 -1
  104. package/src/components/android/PhoneRecordInfo.vue +1 -1
  105. package/src/components/android/PhoneSellInfo.vue +1 -1
  106. package/src/components/android/PhoneState.vue +2 -2
  107. package/src/components/android/PhoneUpDetail.vue +8 -8
  108. package/src/components/android/PhoneUpUserinfo.vue +17 -11
  109. package/src/components/android/PhoneUserFind.vue +1 -1
  110. package/src/components/android/PrearrangedPlan.vue +1 -1
  111. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  112. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  113. package/src/components/android/RelieveRestrict.vue +3 -3
  114. package/src/components/android/RepairQuery.vue +1 -1
  115. package/src/components/android/ResAreaList.vue +1 -1
  116. package/src/components/android/Restriction.vue +3 -3
  117. package/src/components/android/SafePlanItem.vue +19 -7
  118. package/src/components/android/SafecheckDevices.vue +7 -3
  119. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  120. package/src/components/android/SafecheckOrderV.vue +90 -18
  121. package/src/components/android/SafecheckUser.vue +1 -1
  122. package/src/components/android/SwitchValve.vue +4 -4
  123. package/src/components/android/SystemSetting.vue +1 -1
  124. package/src/components/android/UploadPage.vue +1 -1
  125. package/src/components/android/UserinfoSelect.vue +714 -0
  126. package/src/components/android/YuYueAddPlanItem.vue +2 -2
  127. package/src/components/android/checkPlanResult.vue +2 -2
  128. package/src/components/android/examples/410.png +0 -0
  129. package/src/components/android/examples/SafeListExamples.vue +296 -0
  130. package/src/components/android/examples/UserExamples.vue +137 -0
  131. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
  132. package/src/components/android/examples/touxiang.png +0 -0
  133. package/src/components/android/old/PaperFeedback.vue +4 -4
  134. package/src/components/android/recheck/Recheck.vue +5 -5
  135. package/src/components/android/safeHistoryLook.vue +2 -2
  136. package/src/components/android/userinfo/SafecheckUserInfo.vue +5 -5
  137. package/src/components/android/wasm/comp.js +1 -1
  138. package/src/components/attendance/DailyAttendance.vue +1 -1
  139. package/src/components/attendance/MonthlyAttendance.vue +4 -4
  140. package/src/components/callincheck/CallInCheckMain.vue +1 -1
  141. package/src/components/callincheck/CallInPlan.vue +1 -1
  142. package/src/components/callincheck/UserFileList.vue +1 -1
  143. package/src/components/checkAreaClassification.vue +2 -2
  144. package/src/components/checkerphonestate/Checker.vue +1 -1
  145. package/src/components/checkerphonestate/CheckerState.vue +1 -1
  146. package/src/components/checkplan/CheckDetail.vue +7 -7
  147. package/src/components/checkplan/SelectCheckPlan.vue +3 -3
  148. package/src/components/checkplan/SelectMessage.vue +1 -1
  149. package/src/components/checkplan/checkmsg.vue +2 -2
  150. package/src/components/checkplan/checkmsgZG.vue +1 -1
  151. package/src/components/createcheckplan/CreatePlan.vue +10 -10
  152. package/src/components/createcheckplan/CreatePlanWuan.vue +9 -9
  153. package/src/components/createcheckplan/DelPlanRepeat.vue +5 -5
  154. package/src/components/createcheckplan/PlanList.vue +4 -4
  155. package/src/components/createcheckplan/PlanUersList.vue +4 -4
  156. package/src/components/defect/DefectDetail.vue +1 -1
  157. package/src/components/defect/DefectDetailWeixiu.vue +1 -1
  158. package/src/components/defect/DefectList.vue +6 -6
  159. package/src/components/defect/DefectListWeixiu.vue +6 -6
  160. package/src/components/defect/DefectPaper.vue +9 -9
  161. package/src/components/defect/DefectPaperWeiXiu.vue +7 -7
  162. package/src/components/defects/AddDefectModal.vue +2 -2
  163. package/src/components/defects/AddDevice.vue +1 -1
  164. package/src/components/defects/CheckPaperItem.vue +1 -1
  165. package/src/components/defects/CheckPaperItems.vue +1 -1
  166. package/src/components/defects/CheckPaperSearch.vue +1 -1
  167. package/src/components/defects/DefectSeting.vue +2 -2
  168. package/src/components/defects/DefectsQuery.vue +1 -1
  169. package/src/components/defects/DevicesSeting.vue +1 -1
  170. package/src/components/equipment/BoilerUsage.vue +1 -1
  171. package/src/components/equipment/CheckRate.vue +7 -7
  172. package/src/components/equipment/CheckerRate.vue +6 -6
  173. package/src/components/equipment/CookerUsage.vue +1 -1
  174. package/src/components/equipment/DeviceUsage.vue +1 -1
  175. package/src/components/equipment/FurnaceUsage.vue +1 -1
  176. package/src/components/equipment/GasMeterUsage.vue +1 -1
  177. package/src/components/equipment/HeaterUsage.vue +1 -1
  178. package/src/components/equipment/MonthCheckRate.vue +6 -6
  179. package/src/components/filialCircle/AddCircleFiliale.vue +1 -1
  180. package/src/components/filialCircle/CircleList.vue +2 -2
  181. package/src/components/gasusage/GasUsage.vue +1 -1
  182. package/src/components/inspections/AddInspectPlanItem.vue +4 -4
  183. package/src/components/inspections/AddInspectPlanItems.vue +4 -4
  184. package/src/components/inspections/AddInspectPlanItemss.vue +3 -3
  185. package/src/components/inspections/Checked.vue +1 -1
  186. package/src/components/inspections/DisplayInspectionList.vue +2 -2
  187. package/src/components/inspections/InspectionList.vue +5 -5
  188. package/src/components/inspections/InspectionLists.vue +5 -5
  189. package/src/components/inspections/InspectionListss.vue +5 -5
  190. package/src/components/inspections/inspectionDevices.vue +1 -1
  191. package/src/components/inspections/inspectionFeedback.vue +7 -7
  192. package/src/components/inspections/inspectionOrderV.vue +2 -2
  193. package/src/components/inspections/inspectionOrderVs.vue +2 -2
  194. package/src/components/inspections/inspectionOrderVss.vue +2 -2
  195. package/src/components/inspections/inspectionUserInfo.vue +4 -4
  196. package/src/components/issueplan/IssuePlanAction.vue +2 -2
  197. package/src/components/issueplan/IssuePlanQuery.vue +1 -1
  198. package/src/components/levelplan/AdjustPlan.vue +3 -3
  199. package/src/components/levelplan/CheckerLeft.vue +2 -2
  200. package/src/components/levelplan/CheckerPlanAdjust.vue +3 -3
  201. package/src/components/levelplan/CheckerRight.vue +2 -2
  202. package/src/components/map/AMapTrailShow.vue +1 -1
  203. package/src/components/map/AMapTrailShowZk.vue +2 -2
  204. package/src/components/map/FootPrintList.vue +2 -2
  205. package/src/components/map/PersonTrack.vue +2 -2
  206. package/src/components/map/checkScreen.vue +30 -24
  207. package/src/components/metterfiles/AddUserfiles.vue +1 -1
  208. package/src/components/metterfiles/MetterFiles.vue +3 -3
  209. package/src/components/metterfiles/MetterfilesChange.vue +1 -1
  210. package/src/components/metterfiles/UserFiles.vue +2 -2
  211. package/src/components/metterfiles/Userfileschange.vue +3 -3
  212. package/src/components/noplan/NoPlanPaperList.vue +1 -1
  213. package/src/components/noplan/NoPlanSearchUser.vue +7 -7
  214. package/src/components/notice/NoticeQuery.vue +1 -1
  215. package/src/components/olddata/OldPaperList.vue +3 -3
  216. package/src/components/paper/PaperList.vue +21 -13
  217. package/src/components/paper/PaperVerify.vue +1 -1
  218. package/src/components/paper/PlanChooser.vue +5 -3
  219. package/src/components/paper/RepairVerify.vue +1 -1
  220. package/src/components/paper/RepairVerifyForm.vue +1 -1
  221. package/src/components/paper/VerifyForm.vue +3 -3
  222. package/src/components/paper/filialeCheckInfo.vue +3 -3
  223. package/src/components/pc/AddToCheckBook.vue +3 -3
  224. package/src/components/pc/AnnouncementPC.vue +6 -6
  225. package/src/components/pc/CheckBook.vue +4 -4
  226. package/src/components/pc/CheckBookArea.vue +1 -1
  227. package/src/components/pc/CheckBookCompany.vue +1 -1
  228. package/src/components/pc/CheckBookDetails.vue +1 -1
  229. package/src/components/pc/CheckBookList.vue +5 -5
  230. package/src/components/pc/CheckBookSearchArea.vue +6 -6
  231. package/src/components/pc/CheckBookSearchUnit.vue +2 -2
  232. package/src/components/pc/CheckBookSearchUser.vue +6 -6
  233. package/src/components/pc/CheckBookSearchUserList.vue +5 -5
  234. package/src/components/pc/CheckBookUser.vue +3 -3
  235. package/src/components/pc/CheckNoDetail.vue +4 -4
  236. package/src/components/pc/CheckPlanCountChart.vue +1 -1
  237. package/src/components/pc/DefectDeal.vue +11 -11
  238. package/src/components/pc/DefectList.vue +5 -5
  239. package/src/components/pc/DepSelector.vue +1 -1
  240. package/src/components/pc/DeviceChange.vue +1 -1
  241. package/src/components/pc/Edit.vue +1 -1
  242. package/src/components/pc/HiddenChart.vue +2 -2
  243. package/src/components/pc/NewCheckpaper.vue +49 -43
  244. package/src/components/pc/NewCheckpaperTemp.vue +4 -4
  245. package/src/components/pc/PaperChazhiMain.vue +5 -5
  246. package/src/components/pc/PaperDefectMain.vue +7 -7
  247. package/src/components/pc/PaperEdit.vue +4 -4
  248. package/src/components/pc/PaperVisitMain.vue +3 -3
  249. package/src/components/pc/SafeCheckOrder/SafeCheckOrderApplyDisposeBasics.vue +3 -3
  250. package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +2 -2
  251. package/src/components/pc/SafeVisitHistory.vue +4 -4
  252. package/src/components/pc/SafeVisitInfo.vue +261 -0
  253. package/src/components/pc/SafecheckDeviceList.vue +4 -4
  254. package/src/components/pc/SelectCheckNoPlan.vue +5 -5
  255. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -3
  256. package/src/components/phonestate/DailyTraffic.vue +1 -1
  257. package/src/components/phonestate/FootprintMap.vue +1 -1
  258. package/src/components/phonestate/LastKnownState.vue +1 -1
  259. package/src/components/plancheck/CheckPlanList.vue +1 -1
  260. package/src/components/planmanage/PlanManage.vue +21 -11
  261. package/src/components/planmanage/checkPlanList.vue +369 -368
  262. package/src/components/planmanage/checkUserList.vue +773 -739
  263. package/src/components/querycheckpaper/CheckPaperList.vue +1 -1
  264. package/src/components/querycheckpaper/CheckSearchUser.vue +11 -11
  265. package/src/components/querycheckpaper/CheckSearchUserNew.vue +11 -11
  266. package/src/components/querycheckpaper/PaperItems.vue +1 -1
  267. package/src/components/querycheckpaper/ShebeiPaperList.vue +1 -1
  268. package/src/components/querycheckpaper/ShebeiSearchUser.vue +9 -9
  269. package/src/components/report/CheckPlanAreaList.vue +5 -5
  270. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  271. package/src/components/report/CheckPlanUserList.vue +4 -4
  272. package/src/components/report/HiddenSituation.vue +4 -4
  273. package/src/components/report/ManageBusSummary.vue +3 -3
  274. package/src/components/report/NoCheckplanSafecheck.vue +4 -4
  275. package/src/components/report/YinHuanBiHuan.vue +1 -1
  276. package/src/components/rongcheng/AddPlanItem.vue +11 -3
  277. package/src/components/rongcheng/AreaPlan.vue +2 -2
  278. package/src/components/rongcheng/AspPaperFeedback.vue +7 -7
  279. package/src/components/rongcheng/AspiratedAreaPlan.vue +2 -2
  280. package/src/components/rongcheng/AspiratedCurrentCreate.vue +6 -6
  281. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  282. package/src/components/rongcheng/AspiratedDistribute.vue +2 -2
  283. package/src/components/rongcheng/AspiratedOrderV.vue +6 -6
  284. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1045 -1019
  285. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  286. package/src/components/rongcheng/AspiratedUploadPage.vue +1 -1
  287. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  288. package/src/components/rongcheng/CheckCurrentCreate.vue +13 -5
  289. package/src/components/rongcheng/CheckPaperList.vue +1 -1
  290. package/src/components/rongcheng/CheckPlanList.vue +1 -1
  291. package/src/components/rongcheng/CheckSearchArea.vue +8 -8
  292. package/src/components/rongcheng/CheckSearchUser.vue +53 -23
  293. package/src/components/rongcheng/CheckSearchUserNo.vue +5 -5
  294. package/src/components/rongcheng/CheckUserList.vue +4 -4
  295. package/src/components/rongcheng/CurrentCreateOnline.vue +11 -11
  296. package/src/components/rongcheng/DefectList.vue +5 -5
  297. package/src/components/rongcheng/DefectPaper.vue +12 -9
  298. package/src/components/rongcheng/PaperFeedback.vue +9 -9
  299. package/src/components/rongcheng/PaperListAJ.vue +4 -4
  300. package/src/components/rongcheng/PaperListNPAJ.vue +4 -4
  301. package/src/components/rongcheng/PaperListNPSQ.vue +40 -5
  302. package/src/components/rongcheng/PaperListSQ.vue +36 -15
  303. package/src/components/rongcheng/PaperStatem.vue +48 -2
  304. package/src/components/rongcheng/PhoneDevicesInfo.vue +20 -5
  305. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1241
  306. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  307. package/src/components/rongcheng/SafecheckOrderV.vue +2533 -2515
  308. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2632
  309. package/src/components/rongcheng/SafecheckUserInfo.vue +436 -0
  310. package/src/components/rongcheng/UploadPage.vue +1 -1
  311. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +3 -3
  312. package/src/components/rongcheng/report/CheckPlanAreaList.vue +435 -419
  313. package/src/components/rongcheng/report/CheckPlanUserList.vue +7 -7
  314. package/src/components/safecheckNew/PaperList.vue +785 -0
  315. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  316. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  317. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  318. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  319. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  320. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -0
  321. package/src/components/sendsingle/EquipmentManagement.vue +2 -2
  322. package/src/components/sendsingle/onlineChangeMeter.vue +4 -4
  323. package/src/components/sendsingle/onlineoperation.vue +3 -3
  324. package/src/components/sendsingle/onlinequeryuser.vue +3 -3
  325. package/src/components/shaoguan/CheckPlanUserList.vue +4 -4
  326. package/src/components/shaoguan/DefectDetail.vue +1 -1
  327. package/src/components/shaoguan/DefectList.vue +6 -6
  328. package/src/components/shaoguan/DefectPaper.vue +3 -3
  329. package/src/components/shaoguan/PaperList.vue +4 -4
  330. package/src/components/shaoguan/SafecheckOrderV.vue +2 -2
  331. package/src/components/task/RepairAnnual.vue +1 -1
  332. package/src/components/task/RepairAnnualDetail.vue +1 -1
  333. package/src/components/task/RepairMonthly.vue +1 -1
  334. package/src/components/task/TaskAnnual.vue +1 -1
  335. package/src/components/task/TaskAnnualDetail.vue +1 -1
  336. package/src/components/task/TaskMonthly.vue +1 -1
  337. package/src/components/tongcheng/AreaPlan.vue +2 -2
  338. package/src/components/tongcheng/CurrentCreate.vue +2 -2
  339. package/src/components/tongcheng/PaperFeedback.vue +4 -4
  340. package/src/components/tongcheng/PaperSet.vue +2 -2
  341. package/src/components/tongcheng/PaperUser.vue +1 -1
  342. package/src/components/userfile/SecurityAudit.vue +7 -7
  343. package/src/components/userfile/UserFile.vue +2 -2
  344. package/src/components/userfile/UserInfoAudit.vue +8 -8
  345. package/src/components/userfile/UserfileChange.vue +2 -2
  346. package/src/components/userfileNew/UserInfoAuditNew.vue +6 -6
  347. package/src/components/userfileNew/UserinfoModify.vue +6 -6
  348. package/src/components/userfileaudit/UserFileaudit.vue +1 -1
  349. package/src/components/userfileaudit/UserfileChangeaudit.vue +2 -2
  350. package/src/filiale/ALshan/pc/CheckSearchUser.vue +9 -9
  351. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +6 -6
  352. package/src/filiale/ALshan/pc/checkUserList.vue +9 -9
  353. package/src/filiale/Util.js +12 -0
  354. package/src/filiale/ancheng/android/NewCheckpaperAndroid.vue +1 -1
  355. package/src/filiale/ancheng/android/PaperFeedback.vue +6 -6
  356. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2 -2
  357. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +4 -4
  358. package/src/filiale/ancheng/pc/NewCheckpaper.vue +2 -2
  359. package/src/filiale/ancheng/pc/PaperList.vue +8 -8
  360. package/src/filiale/ancheng/pc/checkScreen.vue +2 -2
  361. package/src/filiale/ankangyihua/android/AddPlanItem.vue +6 -6
  362. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +4 -4
  363. package/src/filiale/ankangyihua/android/CurrentCreate.vue +7 -7
  364. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2 -2
  365. package/src/filiale/ankangyihua/android/UploadPage.vue +1 -1
  366. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +5 -5
  367. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +11 -11
  368. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +6 -6
  369. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +7 -7
  370. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +3 -3
  371. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +6 -6
  372. package/src/filiale/ankangyihua/pc/PaperList.vue +7 -7
  373. package/src/filiale/ankangyihua/pc/PlanManage.vue +7 -7
  374. package/src/filiale/ankangyihua/pc/checkUserList.vue +10 -9
  375. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  376. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  377. package/src/filiale/baiyin/android.js +11 -0
  378. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -0
  379. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -0
  380. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -0
  381. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -0
  382. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -0
  383. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  384. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  385. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  386. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  387. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  388. package/src/filiale/baiyin/pc/checkUserList.vue +771 -0
  389. package/src/filiale/baiyin/pc.js +21 -0
  390. package/src/filiale/bayan/android/AddPlanItem.vue +26 -9
  391. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  392. package/src/filiale/bayan/android/CurrentCreate.vue +8 -8
  393. package/src/filiale/bayan/android/Edit.vue +132 -0
  394. package/src/filiale/bayan/android/PaperFeedback.vue +1669 -1651
  395. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +53 -53
  396. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  397. package/src/filiale/bayan/android/SafecheckOrderV.vue +84 -68
  398. package/src/filiale/bayan/android/SafecheckUserInfo.vue +868 -806
  399. package/src/filiale/bayan/android.js +3 -1
  400. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  401. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  402. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  403. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  404. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  405. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  406. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  407. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -0
  408. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  409. package/src/filiale/bayan/pc/NewCheckpaper.vue +86 -52
  410. package/src/filiale/bayan/pc/PaperList.vue +900 -792
  411. package/src/filiale/bayan/pc/PlanManage.vue +36 -15
  412. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  413. package/src/filiale/bayan/pc.js +7 -0
  414. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  415. package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -0
  416. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2684
  417. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  418. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +213 -0
  419. package/src/filiale/dexin/android.js +5 -1
  420. package/src/filiale/dexin/pc/PaperList.vue +805 -0
  421. package/src/filiale/dexin/pc.js +12 -0
  422. package/src/filiale/fugou/android/AddPlanItem.vue +6 -6
  423. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  424. package/src/filiale/fugou/android.js +2 -1
  425. package/src/filiale/fugou/pc/AddToCheckBook.vue +97 -0
  426. package/src/filiale/fugou/pc/CheckBook.vue +303 -0
  427. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  428. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  429. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  430. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  431. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -0
  432. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  433. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  434. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  435. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -0
  436. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  437. package/src/filiale/fugou/pc/CheckBookUser.vue +158 -0
  438. package/src/filiale/fugou/pc/DefectMainNew.vue +63 -0
  439. package/src/filiale/fugou/pc/DefectPaperNew.vue +1085 -0
  440. package/src/filiale/fugou/pc/PaperDefectMain.vue +928 -0
  441. package/src/filiale/fugou/pc/PaperList.vue +62 -8
  442. package/src/filiale/fugou/pc/PlanManage.vue +1061 -0
  443. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  444. package/src/filiale/fugou/pc/checkUserList.vue +904 -0
  445. package/src/filiale/fugou/pc.js +60 -1
  446. package/src/filiale/fugu/android/SafecheckOrderV.vue +2 -2
  447. package/src/filiale/fugu/pc/CheckSearchUser.vue +11 -11
  448. package/src/filiale/fugu/pc/NewCheckpaper.vue +1 -1
  449. package/src/filiale/fugu/pc/SelectCheckPlan.vue +3 -3
  450. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +9 -9
  451. package/src/filiale/ganquan/android/AddPlanItem.vue +6 -6
  452. package/src/filiale/ganquan/android/AndroidDefectDeal.vue +1 -1
  453. package/src/filiale/ganquan/android/PhoneUpUserinfo.vue +9 -9
  454. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2 -2
  455. package/src/filiale/ganquan/pc/DefectPaperNew.vue +11 -11
  456. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1 -1
  457. package/src/filiale/ganquan/pc/PaperList.vue +7 -7
  458. package/src/filiale/ganquan/pc/PaperVisitMain.vue +3 -3
  459. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +3 -3
  460. package/src/filiale/ganquan/pc/checkUserList.vue +9 -9
  461. package/src/filiale/gehua/android/CurrentCreate.vue +6 -6
  462. package/src/filiale/gehua/pc/PaperList.vue +6 -6
  463. package/src/filiale/gehua/pc/checkUserList.vue +10 -10
  464. package/src/filiale/guangxi/android/AreaPlan.vue +2 -2
  465. package/src/filiale/guangxi/android/CurrentCreate.vue +5 -5
  466. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +5 -5
  467. package/src/filiale/guangxi/pc/DefectListNew.vue +7 -7
  468. package/src/filiale/guangxi/pc/DefectPaperNew.vue +12 -12
  469. package/src/filiale/hanzhong/android/PaperFeedback.vue +10 -10
  470. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  471. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +5 -5
  472. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +5 -5
  473. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +713 -703
  474. package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +2 -2
  475. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +573 -563
  476. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +508 -499
  477. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +24 -11
  478. package/src/filiale/hanzhong/pc/CheckUserList.vue +39 -20
  479. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +595 -586
  480. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +4 -4
  481. package/src/filiale/hanzhong/pc/PaperList.vue +7 -7
  482. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  483. package/src/filiale/huaran/android.js +12 -0
  484. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  485. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  486. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  487. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  488. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  489. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  490. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  491. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  492. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  493. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  494. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  495. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  496. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  497. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  498. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  499. package/src/filiale/huaran/pc.js +27 -0
  500. package/src/filiale/huatong/android/AndroidDefectDeal.vue +1 -1
  501. package/src/filiale/huatong/android/CurrentCreate.vue +6 -6
  502. package/src/filiale/huatong/android/PaperFeedback.vue +9 -9
  503. package/src/filiale/huatong/android/SafecheckOrderV.vue +3 -3
  504. package/src/filiale/huatong/android/SafecheckUserInfo.vue +4 -4
  505. package/src/filiale/huatong/pc/PaperDefectMain.vue +7 -7
  506. package/src/filiale/huatong/pc/PaperList.vue +8 -8
  507. package/src/filiale/huayin/android/AreaPlan.vue +2 -2
  508. package/src/filiale/huayin/android/PaperFeedback.vue +9 -9
  509. package/src/filiale/huayin/android/SafecheckOrderV.vue +4 -4
  510. package/src/filiale/huayin/pc/NewCheckpaper.vue +1 -1
  511. package/src/filiale/huayin/pc/PaperList.vue +7 -7
  512. package/src/filiale/jiaocheng/android/AddPlanItem.vue +6 -6
  513. package/src/filiale/jiaocheng/android/PaperFeedback.vue +6 -6
  514. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +4 -4
  515. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +11 -11
  516. package/src/filiale/jiaocheng/pc/DefectListNew.vue +7 -7
  517. package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +2 -2
  518. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  519. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  520. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -0
  521. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  522. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  523. package/src/filiale/jiaxian/android.js +14 -0
  524. package/src/filiale/jiaxian/pc.js +12 -0
  525. package/src/filiale/jinbin/android/AndroidDefectDeal.vue +1 -1
  526. package/src/filiale/jinbin/android/DailyworkloadQuery.vue +1 -1
  527. package/src/filiale/jinbin/android/PhoneUpUserinfo.vue +9 -9
  528. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +5 -5
  529. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +6 -6
  530. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
  531. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
  532. package/src/filiale/jingyang/android/PaperFeedback.vue +10 -10
  533. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +12 -12
  534. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
  535. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -0
  536. package/src/filiale/jingyang/android.js +4 -0
  537. package/src/filiale/jingyang/pc/CheckSearchUser.vue +11 -11
  538. package/src/filiale/jingyang/pc/InfoModifyModal.vue +2 -2
  539. package/src/filiale/jingyang/pc/PaperList.vue +8 -8
  540. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  541. package/src/filiale/jingyang/pc/UserInfoAuditNew.vue +6 -6
  542. package/src/filiale/jingyang/pc.js +1 -0
  543. package/src/filiale/kelai/android/AddPlanItem.vue +6 -6
  544. package/src/filiale/kelai/android/AndroidDefectDeal.vue +5 -5
  545. package/src/filiale/kelai/android/CurrentCreate.vue +5 -5
  546. package/src/filiale/kelai/android/PaperFeedback.vue +9 -9
  547. package/src/filiale/kelai/android/PhoneUpUserinfo.vue +10 -10
  548. package/src/filiale/kelai/android/RelieveRestrict.vue +3 -3
  549. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  550. package/src/filiale/kelai/android/SafecheckOrderV.vue +4 -4
  551. package/src/filiale/kelai/android/SafecheckUserInfo.vue +5 -5
  552. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +4 -4
  553. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -488
  554. package/src/filiale/kelai/pc/CheckSearchUser.vue +11 -11
  555. package/src/filiale/kelai/pc/DefectListNew.vue +8 -8
  556. package/src/filiale/kelai/pc/DefectPaperNew.vue +13 -13
  557. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +7 -7
  558. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +9 -9
  559. package/src/filiale/kelai/pc/NewCheckpaper.vue +4 -4
  560. package/src/filiale/kelai/pc/PaperList.vue +7 -7
  561. package/src/filiale/kelai/pc/UserInfoAudit.vue +6 -6
  562. package/src/filiale/kelai/pc/checkUserList.vue +9 -9
  563. package/src/filiale/liaoyuan/android/AddPlanItem.vue +6 -6
  564. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  565. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +4 -4
  566. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +4 -4
  567. package/src/filiale/liaoyuan/android.js +1 -0
  568. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +6 -6
  569. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +6 -6
  570. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +11 -11
  571. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +2 -2
  572. package/src/filiale/liaoyuan/pc/PaperList.vue +4 -4
  573. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  574. package/src/filiale/liaoyuan/pc.js +2 -1
  575. package/src/filiale/lixian/android/CurrentCreate.vue +5 -5
  576. package/src/filiale/lixian/android/SafecheckOrderV.vue +2 -2
  577. package/src/filiale/lixian/android/SafecheckUserInfo.vue +4 -4
  578. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +5 -5
  579. package/src/filiale/lixian/pc/CheckSearchUser.vue +9 -9
  580. package/src/filiale/lixian/pc/NewCheckpaper.vue +2 -2
  581. package/src/filiale/lixian/pc/PaperChazhiMain.vue +5 -5
  582. package/src/filiale/lixian/pc/PaperDefectMain.vue +5 -5
  583. package/src/filiale/lixian/pc/PaperList.vue +8 -8
  584. package/src/filiale/lixian/pc/checkPlanList.vue +6 -6
  585. package/src/filiale/lixian/pc/checkUserList.vue +9 -9
  586. package/src/filiale/minsheng/android/AreaPlan.vue +2 -2
  587. package/src/filiale/minsheng/android/CurrentCreate.vue +6 -6
  588. package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +11 -11
  589. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +4 -4
  590. package/src/filiale/minsheng/android/SwitchValve.vue +7 -7
  591. package/src/filiale/minsheng/pc/CheckSearchUser.vue +11 -11
  592. package/src/filiale/minsheng/pc/DefectListNew.vue +7 -7
  593. package/src/filiale/minsheng/pc/checkUserList.vue +9 -9
  594. package/src/filiale/pingxiang/android/PaperFeedback.vue +10 -10
  595. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2 -2
  596. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +4 -4
  597. package/src/filiale/pingxiang/pc/DefectListNew.vue +7 -7
  598. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +12 -12
  599. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1 -1
  600. package/src/filiale/pingxiang/pc/PaperList.vue +7 -7
  601. package/src/filiale/qianneng/android/AddPlanItem.vue +5 -5
  602. package/src/filiale/qianneng/android/AreaPlan.vue +2 -2
  603. package/src/filiale/qianneng/android/CurrentCreate.vue +5 -5
  604. package/src/filiale/qianneng/android/PaperFeedback.vue +9 -9
  605. package/src/filiale/qianneng/android/PhoneUpUserinfo.vue +11 -11
  606. package/src/filiale/qianneng/android/SafecheckOrderV.vue +4 -4
  607. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +5 -5
  608. package/src/filiale/qianneng/android/SwitchValve.vue +4 -4
  609. package/src/filiale/qianneng/pc/DefectListNew.vue +7 -7
  610. package/src/filiale/qianneng/pc/DefectPaperNew.vue +13 -13
  611. package/src/filiale/qianneng/pc/NewCheckpaper.vue +2 -2
  612. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +4 -4
  613. package/src/filiale/qianneng/pc/PaperList.vue +777 -741
  614. package/src/filiale/qianneng/pc/PlanManage.vue +7 -7
  615. package/src/filiale/qianneng/pc/UserInfoAudit.vue +6 -6
  616. package/src/filiale/qianneng/pc/checkPlanList.vue +9 -9
  617. package/src/filiale/qianneng/pc/checkUserList.vue +13 -13
  618. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +18 -16
  619. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  620. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2778
  621. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +9 -5
  622. package/src/filiale/qingjian/pc/NewCheckpaper.vue +4 -4
  623. package/src/filiale/qingjian/pc/PaperDefectMain.vue +7 -7
  624. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  625. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  626. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  627. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +3 -3
  628. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  629. package/src/filiale/qingtongxia/android.js +4 -0
  630. package/src/filiale/qingtongxia/pc/DefectListNew.vue +7 -7
  631. package/src/filiale/qingtongxia/pc/NewCheckpaper.vue +4 -4
  632. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +7 -7
  633. package/src/filiale/rizhao/android/AddPlanItem.vue +6 -6
  634. package/src/filiale/rizhao/android/PaperFeedback.vue +9 -9
  635. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2 -2
  636. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +4 -4
  637. package/src/filiale/rizhao/pc/DefectList.vue +6 -6
  638. package/src/filiale/rizhao/pc/NewCheckpaper.vue +1 -1
  639. package/src/filiale/rizhao/pc/PaperList.vue +7 -7
  640. package/src/filiale/rongchuang/android/PaperFeedback.vue +9 -9
  641. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1400 -0
  642. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2455
  643. package/src/filiale/rongchuang/android/checkpapermsg.vue +1 -1
  644. package/src/filiale/rongchuang/android.js +1 -0
  645. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +1342 -1290
  646. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  647. package/src/filiale/rongchuang/pc/checkUserList.vue +8 -8
  648. package/src/filiale/rongchuang/pc.js +1 -0
  649. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  650. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  651. package/src/filiale/ruihua/android.js +11 -0
  652. package/src/filiale/shanggao/android/PaperFeedback.vue +9 -9
  653. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2 -2
  654. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
  655. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +6 -6
  656. package/src/filiale/shanxian/android/CurrentCreate_new.vue +6 -6
  657. package/src/filiale/shanxian/android/PaperFeedback.vue +9 -9
  658. package/src/filiale/shanxian/android/PhoneUpUserinfo.vue +9 -9
  659. package/src/filiale/shanxian/android/SafecheckOrderV.vue +4 -4
  660. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +4 -4
  661. package/src/filiale/shanxian/android.js +1 -0
  662. package/src/filiale/shanxian/pc/CheckDetail.vue +7 -7
  663. package/src/filiale/shanxian/pc/CheckSearchUser.vue +11 -11
  664. package/src/filiale/shanxian/pc/DefectPaperNew.vue +14 -14
  665. package/src/filiale/shanxian/pc/HiddenSituation.vue +1 -1
  666. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1 -1
  667. package/src/filiale/shanxian/pc/PaperList.vue +785 -0
  668. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +3 -3
  669. package/src/filiale/shanxian/pc/checkUserList.vue +13 -13
  670. package/src/filiale/shanxian/pc.js +2 -2
  671. package/src/filiale/shaoguan/pc/PaperList.vue +6 -6
  672. package/src/filiale/shexian/android/AddPlanItem.vue +6 -6
  673. package/src/filiale/shexian/android/AndroidDefectDeal.vue +3 -3
  674. package/src/filiale/shexian/android/AreaPlan.vue +2 -2
  675. package/src/filiale/shexian/android/DailyworkloadQuery.vue +1 -1
  676. package/src/filiale/shexian/android/PaperFeedback.vue +9 -9
  677. package/src/filiale/shexian/android/PhoneUpUserinfo.vue +9 -9
  678. package/src/filiale/shexian/android/SafecheckOrderV.vue +2 -2
  679. package/src/filiale/shexian/pc/DefectListNew.vue +7 -7
  680. package/src/filiale/shexian/pc/DefectPaperNew.vue +13 -13
  681. package/src/filiale/shexian/pc/NewCheckpaper.vue +2 -2
  682. package/src/filiale/shexian/pc/PaperDefectMain.vue +7 -7
  683. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  684. package/src/filiale/shexian/pc.js +1 -0
  685. package/src/filiale/shimen/android/CurrentCreate.vue +6 -6
  686. package/src/filiale/shimen/android/PaperFeedback.vue +9 -9
  687. package/src/filiale/shimen/android/PhoneSellInfo.vue +1 -1
  688. package/src/filiale/shimen/android/SafecheckUserInfo.vue +4 -4
  689. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +5 -5
  690. package/src/filiale/shimen/pc/CheckSearchUser.vue +9 -9
  691. package/src/filiale/shimen/pc/DefectList.vue +6 -6
  692. package/src/filiale/shimen/pc/NewCheckpaper.vue +1 -1
  693. package/src/filiale/shimen/pc/PaperDefectMain.vue +5 -5
  694. package/src/filiale/shimen/pc/PaperList.vue +5 -5
  695. package/src/filiale/shiquan/android/AreaPlan.vue +2 -2
  696. package/src/filiale/shiquan/android/CurrentCreate.vue +6 -6
  697. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  698. package/src/filiale/shiquan/pc/checkUserList.vue +9 -9
  699. package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
  700. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
  701. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
  702. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  703. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  704. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  705. package/src/filiale/siyang/android.js +15 -0
  706. package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
  707. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
  708. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  709. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
  710. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  711. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -0
  712. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  713. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  714. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  715. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  716. package/src/filiale/siyang/pc/checkUserList.vue +790 -0
  717. package/src/filiale/siyang/pc.js +22 -0
  718. package/src/filiale/tianke/android/AddPlanItem.vue +6 -6
  719. package/src/filiale/tianke/android/CurrentCreate.vue +5 -5
  720. package/src/filiale/tianke/android/SafecheckOrderV.vue +2 -2
  721. package/src/filiale/tianke/android/SafecheckUserInfo.vue +4 -4
  722. package/src/filiale/tianke/pc/DefectListNew.vue +7 -7
  723. package/src/filiale/tianke/pc/PaperDefectMain.vue +7 -7
  724. package/src/filiale/tianke/pc/checkScreen.vue +786 -781
  725. package/src/filiale/tianke/pc/cq.jpg +0 -0
  726. package/src/filiale/tianke/pc/qy.jpg +0 -0
  727. package/src/filiale/tongchuan/android/AddPlanItem.vue +6 -6
  728. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +3 -3
  729. package/src/filiale/tongchuan/android/CurrentCreate.vue +6 -6
  730. package/src/filiale/tongchuan/android/PaperFeedback.vue +7 -7
  731. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +1 -1
  732. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +1 -1
  733. package/src/filiale/tongchuan/android/PhoneUpDetail.vue +3 -3
  734. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1323 -1265
  735. package/src/filiale/tongchuan/android/SafecheckDevices.vue +2 -2
  736. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +10 -11
  737. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +5 -5
  738. package/src/filiale/tongchuan/android/Select.vue +421 -0
  739. package/src/filiale/tongchuan/android/SwitchValve.vue +4 -4
  740. package/src/filiale/tongchuan/android/UploadPage.vue +1 -1
  741. package/src/filiale/tongchuan/android.js +1 -0
  742. package/src/filiale/tongchuan/pc/CheckBookArea.vue +1 -1
  743. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +2 -2
  744. package/src/filiale/tongchuan/pc/CheckBookList.vue +5 -5
  745. package/src/filiale/tongchuan/pc/CheckDetail.vue +7 -7
  746. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +6 -6
  747. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +5 -3
  748. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +4 -4
  749. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +11 -11
  750. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +6 -6
  751. package/src/filiale/tongchuan/pc/DefectPaper.vue +7 -7
  752. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +13 -9
  753. package/src/filiale/tongchuan/pc/HiddenSituation.vue +4 -2
  754. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +15 -24
  755. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +4 -4
  756. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1095
  757. package/src/filiale/tongchuan/pc/PaperList.vue +8 -8
  758. package/src/filiale/tongchuan/pc/PlanManage.vue +7 -7
  759. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +8 -5
  760. package/src/filiale/tongchuan/pc/checkUserList.vue +639 -609
  761. package/src/filiale/tongchuan/pc/repairScreen.vue +1 -1
  762. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  763. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  764. package/src/filiale/weinan/android/AddPlanItem.vue +6 -6
  765. package/src/filiale/weinan/android/AndroidDefectDeal.vue +1 -1
  766. package/src/filiale/weinan/android/AreaPlan.vue +2 -2
  767. package/src/filiale/weinan/android/CurrentCreate.vue +6 -6
  768. package/src/filiale/weinan/android/CurrentCreateOnline.vue +11 -11
  769. package/src/filiale/weinan/android/PaperFeedback.vue +17 -17
  770. package/src/filiale/weinan/android/PhoneUpDetail.vue +8 -8
  771. package/src/filiale/weinan/android/PhoneUpUserinfo.vue +8 -8
  772. package/src/filiale/weinan/android/SafePlanItem.vue +6 -6
  773. package/src/filiale/weinan/android/SafecheckDevices.vue +1086 -1025
  774. package/src/filiale/weinan/android/SafecheckOrderV.vue +98 -35
  775. package/src/filiale/weinan/android/SafecheckUserInfo.vue +11 -6
  776. package/src/filiale/weinan/pc/CheckBook.vue +4 -4
  777. package/src/filiale/weinan/pc/CheckBookArea.vue +1 -1
  778. package/src/filiale/weinan/pc/CheckBookCompany.vue +1 -1
  779. package/src/filiale/weinan/pc/CheckBookCompanyUser.vue +1 -1
  780. package/src/filiale/weinan/pc/CheckBookDetails.vue +1 -1
  781. package/src/filiale/weinan/pc/CheckBookList.vue +5 -5
  782. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +6 -6
  783. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -722
  784. package/src/filiale/weinan/pc/CheckBookUser.vue +3 -3
  785. package/src/filiale/weinan/pc/CheckDetail.vue +18 -18
  786. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +7 -7
  787. package/src/filiale/weinan/pc/CheckNoDetail.vue +7 -7
  788. package/src/filiale/weinan/pc/CheckPlanAreaList.vue +2 -2
  789. package/src/filiale/weinan/pc/CheckPlanUserList.vue +4 -4
  790. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  791. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  792. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  793. package/src/filiale/weinan/pc/DefectPaperNew.vue +49 -12
  794. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  795. package/src/filiale/weinan/pc/HiddenSituation.vue +1 -1
  796. package/src/filiale/weinan/pc/NewCheckpaper.vue +3 -3
  797. package/src/filiale/weinan/pc/PaperDefectMain.vue +6 -6
  798. package/src/filiale/weinan/pc/PaperList.vue +8 -8
  799. package/src/filiale/weinan/pc/PersonTrack.vue +2 -2
  800. package/src/filiale/weinan/pc/PlanManage.vue +8 -8
  801. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +5 -5
  802. package/src/filiale/weinan/pc/SelectCheckPlan.vue +4 -4
  803. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +5 -5
  804. package/src/filiale/weinan/pc/checkPlanList.vue +7 -7
  805. package/src/filiale/weinan/pc/checkScreen.vue +3 -3
  806. package/src/filiale/weinan/pc/checkUserList.vue +712 -776
  807. package/src/filiale/weinan/pc.js +3 -0
  808. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2 -2
  809. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1 -1
  810. package/src/filiale/weinanct/pc/PaperList.vue +7 -7
  811. package/src/filiale/wensu/android/AddPlanItem.vue +6 -6
  812. package/src/filiale/wensu/android/AndroidDefectDeal.vue +2 -2
  813. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +1 -1
  814. package/src/filiale/wensu/android/CurrentCreate.vue +6 -6
  815. package/src/filiale/wensu/android/PaperFeedback.vue +5 -5
  816. package/src/filiale/wensu/android/PhoneUpUserinfo.vue +1 -1
  817. package/src/filiale/wensu/android/SafecheckOrderV.vue +2 -2
  818. package/src/filiale/wensu/android/SafecheckUserInfo.vue +5 -5
  819. package/src/filiale/wensu/pc/CheckDetail.vue +7 -7
  820. package/src/filiale/wensu/pc/CheckSearchUser.vue +1238 -1167
  821. package/src/filiale/wensu/pc/DefectListNew.vue +7 -7
  822. package/src/filiale/wensu/pc/DefectPaperNew.vue +30 -24
  823. package/src/filiale/wensu/pc/NewCheckpaper.vue +4 -4
  824. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  825. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  826. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  827. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -302
  828. package/src/filiale/wensu/pc/checkUserList.vue +21 -17
  829. package/src/filiale/wensu/pc.js +1 -0
  830. package/src/filiale/wenxi/android/AddPlanItem.vue +6 -6
  831. package/src/filiale/wenxi/android/AndroidDefectDealHY.vue +1 -1
  832. package/src/filiale/wenxi/android/AndroidDefectDealWX.vue +1 -1
  833. package/src/filiale/wenxi/android/AreaPlan.vue +2 -2
  834. package/src/filiale/wenxi/android/CurrentCreate.vue +6 -6
  835. package/src/filiale/wenxi/android/DailyworkloadQuery.vue +1 -1
  836. package/src/filiale/wenxi/android/PaperFeedback.vue +15 -15
  837. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +10 -10
  838. package/src/filiale/wenxi/android/SafecheckOrderV.vue +17 -3
  839. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -651
  840. package/src/filiale/wenxi/android/UploadPage.vue +1 -1
  841. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +5 -5
  842. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +4 -4
  843. package/src/filiale/wenxi/pc/CheckSearchUser.vue +11 -11
  844. package/src/filiale/wenxi/pc/DefectList.vue +7 -7
  845. package/src/filiale/wenxi/pc/DefectPaper.vue +7 -7
  846. package/src/filiale/wenxi/pc/NewCheckpaper.vue +5 -5
  847. package/src/filiale/wenxi/pc/PaperDefectMain.vue +6 -6
  848. package/src/filiale/wenxi/pc/PaperList.vue +11 -11
  849. package/src/filiale/wenxi/pc/checkPlanList.vue +10 -10
  850. package/src/filiale/wenxi/pc/checkUserList.vue +9 -9
  851. package/src/filiale/wuan/android/AreaPlan.vue +2 -2
  852. package/src/filiale/wuan/android/CurrentCreate.vue +5 -5
  853. package/src/filiale/wuan/android/CurrentCreateSheBei.vue +5 -5
  854. package/src/filiale/wuan/android/PaperFeedback.vue +9 -9
  855. package/src/filiale/wuan/android/SafecheckOrderV.vue +7 -3
  856. package/src/filiale/wuan/android/SafecheckUserInfo.vue +14 -9
  857. package/src/filiale/wuan/pc/DefectListWeixiu.vue +7 -7
  858. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +7 -7
  859. package/src/filiale/wuan/pc/NewCheckpaper.vue +1 -1
  860. package/src/filiale/wuan/pc/PaperList.vue +5 -5
  861. package/src/filiale/wuhai/android/AreaPlan.vue +2 -2
  862. package/src/filiale/wuhai/android/CurrentCreate.vue +5 -5
  863. package/src/filiale/wuhai/android/PaperFeedback.vue +9 -9
  864. package/src/filiale/wuhai/android/PhoneUpUserinfo.vue +8 -8
  865. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2428
  866. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +4 -4
  867. package/src/filiale/wuhai/pc/CheckSearchUser.vue +10 -10
  868. package/src/filiale/wuhai/pc/NewCheckpaper.vue +27 -25
  869. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  870. package/src/filiale/wuhai/pc/checkUserList.vue +8 -8
  871. package/src/filiale/wuhai/pc.js +1 -0
  872. package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
  873. package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
  874. package/src/filiale/xilan/android.js +11 -0
  875. package/src/filiale/xilan/pc/checkUserList.vue +772 -0
  876. package/src/filiale/xilan/pc.js +12 -0
  877. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +1 -1
  878. package/src/filiale/xinkang/android/CurrentCreate.vue +5 -5
  879. package/src/filiale/xinkang/android/OrderBacklog.vue +5 -5
  880. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2 -2
  881. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +4 -4
  882. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +5 -5
  883. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +4 -4
  884. package/src/filiale/xinkang/pc/CheckSearchUser.vue +10 -10
  885. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +6 -6
  886. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +7 -7
  887. package/src/filiale/xinkang/pc/NewCheckpaper.vue +2 -2
  888. package/src/filiale/xinkang/pc/PaperDefectMain.vue +5 -5
  889. package/src/filiale/xinkang/pc/PaperList.vue +7 -7
  890. package/src/filiale/xinkang/pc/checkUserList.vue +8 -8
  891. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +52 -7
  892. package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +3 -3
  893. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +65 -23
  894. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +12 -17
  895. package/src/filiale/yangchunboneng/android/DailyworkloadQueryNew.vue +3 -3
  896. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +21 -21
  897. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +13 -13
  898. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  899. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +17 -13
  900. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2797
  901. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +36 -18
  902. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +12 -16
  903. package/src/filiale/yangchunboneng/android.js +1 -0
  904. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +5 -5
  905. package/src/filiale/yangchunboneng/pc/CheckBook.vue +4 -4
  906. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +2 -2
  907. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +9 -9
  908. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +93 -37
  909. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -198
  910. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +101 -35
  911. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1018
  912. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +7 -7
  913. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +67 -16
  914. package/src/filiale/yangchunboneng/pc/NewCheckpaper.vue +2 -2
  915. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -849
  916. package/src/filiale/yangchunboneng/pc/PaperList.vue +54 -8
  917. package/src/filiale/yongzhou/android/PaperFeedback.vue +11 -11
  918. package/src/filiale/yongzhou/android/PhoneUpUserinfo.vue +11 -11
  919. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  920. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2809
  921. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +5 -5
  922. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  923. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  924. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  925. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +416 -111
  926. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  927. package/src/filiale/yongzhou/pc/PaperList.vue +8 -8
  928. package/src/filiale/yongzhou/pc/PlanManage.vue +7 -7
  929. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  930. package/src/filiale/yongzhou/pc/checkUserList.vue +9 -9
  931. package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
  932. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +58 -127
  933. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +114 -207
  934. package/src/filiale/yongzhou/pc/safeDetail.vue +539 -248
  935. package/src/filiale/yongzhou/pc/safeStatistics.vue +175 -124
  936. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
  937. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
  938. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +135 -110
  939. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  940. package/src/filiale/yongzhou/pc.js +5 -0
  941. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +652 -0
  942. package/src/filiale/yuansheng/android/PaperFeedback.vue +9 -9
  943. package/src/filiale/yuansheng/android/PhoneUpUserinfo.vue +8 -8
  944. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  945. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2 -2
  946. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +4 -4
  947. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -0
  948. package/src/filiale/yuansheng/android.js +2 -0
  949. package/src/filiale/yuansheng/pc/DefectListNew.vue +7 -7
  950. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +11 -3
  951. package/src/filiale/yuansheng/pc/PaperList.vue +7 -7
  952. package/src/filiale/yuansheng/pc/checkmsg.vue +2 -2
  953. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
  954. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +10 -10
  955. package/src/filiale/yunchengminsheng/android/PhoneUpUserinfo.vue +11 -11
  956. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +4 -1
  957. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2 -2
  958. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +5 -5
  959. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +3 -3
  960. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +27 -10
  961. package/src/filiale/zhongsheng/android/AreaPlan.vue +2 -2
  962. package/src/filiale/zhongsheng/android/BuyRecords.vue +2 -2
  963. package/src/filiale/zhongsheng/android/CurrentCreate.vue +12 -7
  964. package/src/filiale/zhongsheng/android/IgnitionInformation.vue +2 -2
  965. package/src/filiale/zhongsheng/android/PaperFeedback.vue +9 -9
  966. package/src/filiale/zhongsheng/android/PhoneUpUserinfo.vue +8 -8
  967. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2 -2
  968. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +4 -4
  969. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +5 -5
  970. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +7 -7
  971. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +13 -9
  972. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1 -1
  973. package/src/filiale/zhongsheng/pc/PaperList.vue +7 -7
  974. package/src/filiale/zhongsheng/pc/UserInfoAudit.vue +6 -6
  975. package/src/filiale/zhongyi/android/CurrentCreate.vue +5 -5
  976. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2 -2
  977. package/src/filiale/zhongyi/pc/DefectListNew.vue +12 -12
  978. package/src/filiale/zhongyi/pc/checkScreen.vue +1 -1
  979. package/src/filiale/zhoukou/android/AndroidDefectDeal.vue +1 -1
  980. package/src/filiale/zhoukou/android/AreaPlan.vue +2 -2
  981. package/src/filiale/zhoukou/android/CurrentCreate.vue +5 -5
  982. package/src/filiale/zhoukou/android/PaperFeedback.vue +9 -9
  983. package/src/filiale/zhoukou/android/PhoneUpUserinfo.vue +8 -8
  984. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2 -2
  985. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +4 -4
  986. package/src/filiale/zhoukou/android/UploadPage.vue +1 -1
  987. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +9 -9
  988. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +5 -5
  989. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  990. package/src/main.js +33 -33
  991. package/src/plugins/GetCheckParams.js +1 -1
  992. package/src/plugins/LoadCheckParams.js +1 -1
  993. package/src/rongcheng.js +3 -1
  994. package/src/safecheck-android.js +17 -0
  995. package/src/safecheck-page.js +12 -0
  996. package/src/safecheck.js +6 -0
  997. package/static/stretch_bottom.png +0 -0
  998. package/static/stretch_top.png +0 -0
@@ -1,781 +1,786 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main" style="flex:7">
4
- <div id="check_map" style="height:100%">
5
- <img-self-safe :src="imgSrc" width="45" style="z-index: 0"
6
- height="50" class="img-rounded" v-ref:defectimg></img-self-safe>
7
- </div>
8
- </div>
9
- <modal :styles="'width:1230px'" width="1230px" :show.sync="showModal" v-ref:modal backdrop="false">
10
- <header slot="modal-header" class="modal-header" v-show="false"></header>
11
- <article slot="modal-body" class="modal-body" style="width: 1200px;">
12
- <div class="auto">
13
- <img style="height:800px;width: 1200px;" src="../../../assets/city_proper.png"
14
- v-show="city_properEnable" alt="图片加载失败"/>
15
- <img style="height:800px;width: 1200px;" src="../../../assets/township.png"
16
- v-show="townshipEnable" alt="图片加载失败"/>
17
- </div>
18
- </article>
19
- <footer slot="modal-footer" class="modal-footer">
20
- <button type="button" class="btn btn-success" @click='closeModal()'>关闭</button>
21
- </footer>
22
- </modal>
23
-
24
- <div id="zzz" class="basic-main" style="flex:1;margin-left: 0px;overflow: hidden">
25
- <div class="flex">
26
- <div class="panel panel-info" style="flex: 1;margin-top:0px">
27
- <div class="panel-heading" style="height: auto">
28
- <h3 class="panel-title">图层设置</h3>
29
- </div>
30
- <div class="panel-body">
31
- <ul class="safe_ul_sty">
32
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.satelliteEnable" @change="enableChange('satelliteEnable',layers.satelliteEnable)" type="checkbox"/>卫星图层</li>
33
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.roadNetEnable" @change="enableChange('roadNetEnable',layers.roadNetEnable)" type="checkbox"/>网路图层</li>
34
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.townshipEnable" @click="enableChange('townshipEnable')" type="checkbox"/>乡镇管网图层</li>
35
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.city_properEnable" @click="enableChange('city_properEnable')" type="checkbox"/>城区管网图层</li>
36
- <!--<button @click="safeRefresh">刷新111</button>-->
37
- </ul>
38
- </div>
39
- </div>
40
- <div class="panel panel-info" style="flex: 2;margin-top:0px;">
41
- <div class="panel-heading" style="height: auto">
42
- <h3 class="panel-title">覆盖物设置</h3>
43
- </div>
44
- <div class="panel-body">
45
- <ul class="safe_ul_sty">
46
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.checker" @change="enableChange('checker',mulchs.checker)" type="checkbox"/><img class="safe_deimg" src="../../../assets/anjianyuan.png"/>工作人员</li>
47
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.level1" @change="enableChange('level1',mulchs.level1)" type="checkbox"/><img class="safe_deimg" src="../../../assets/level1.png"/>一级隐患</li>
48
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.level2" @change="enableChange('level2',mulchs.level2)" type="checkbox"/><img class="safe_deimg" src="../../../assets/level2.png"/>二级隐患</li>
49
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.level3" @change="enableChange('level3',mulchs.level3)" type="checkbox"/><img class="safe_deimg" src="../../../assets/level3.png"/>三级隐患</li>
50
- <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.problems" @change="enableChange('problems',mulchs.problems)" type="checkbox"/><img class="safe_deimg" src="../../../assets/ordinary.png"/>普通问题</li>
51
- </ul>
52
- <!--<data-grid :model="defectList" partial='list' class="table_sy" >
53
- <template partial='body' style="height:100%">
54
- <td @click="$parent.$parent.setDefectPos(row)">
55
- <div style="width: 100%;"class="flex-row">
56
- <img src="../../../assets/星球背景.jpg" style="width:45px;height: 50px" class="img-rounded">
57
- <div >
58
- <p class="safe_p" :title="row.f_item_name"><nobr>{{row.f_item_name}}</nobr></p>
59
- <p class="safe_p" :title="row.f_checker_name"><nobr>{{row.f_checker_name}}</nobr></p>
60
- <p class="safe_p" :title="row.f_upload_date"><nobr>{{row.f_upload_date.substring(11)}}</nobr></p>
61
- </div>
62
- </div>
63
- </td>
64
- </template>
65
- </data-grid>-->
66
- </div>
67
- </div>
68
- <div class="panel panel-info" style="flex: 4;margin-top:0px;height: 50%">
69
- <div class="panel-heading" style="height: auto">
70
- <h3 class="panel-title">今日隐患</h3>
71
- </div>
72
- <div class="panel-body" style="overflow: scroll">
73
- <ul class="safe_ul_sty">
74
- <li v-for="row in todayDefectList" track-by="$index" class="safe_li_sty safe_list_li" @click="setDefectPos(row)" style="border: 1px #4d4d4d solid;border-radius: 2px" >
75
- <div style="width: 100%;" class="flex-row">
76
- <div style="width:35%">
77
- <!--<img-self-safe :src="'/rs/image/file/'+row.f_path" style="float: left" width="45"
78
- height="50" class="img-rounded"></img-self-safe>-->
79
- <img :src="'/rs/image/file/'+row.f_path" style="width:45px;height: 50px" @click.stop="seePhotos(row.f_path)" class="img-rounded">
80
- </div>
81
- <div style="width:65%">
82
- <p class="safe_p" :title="row.f_item_name">{{row.f_item_name}}</p>
83
- <p class="safe_p" :title="row.f_checker_name">{{row.f_checker_name}}</p>
84
- <p class="safe_p" :title="row.f_upload_date">{{row.f_upload_date.substring(11)}}</p>
85
- </div>
86
- </div>
87
- </li>
88
- </ul>
89
- </div>
90
- </div>
91
- </div>
92
- </div>
93
-
94
- </div>
95
- </template>
96
-
97
- <script>
98
- import Vue from 'vue'
99
- import * as Util from '../../Util'
100
- import {HttpResetClass,trans} from 'vue-client'
101
-
102
- export default {
103
- title: '安检实时监控中心',
104
- data() {
105
- return {
106
- map:null,
107
- infoWindow:null,
108
- satellite:null,
109
- roadNet:null,
110
- checkerMulchs:null,//安检员点位
111
- level1Mulchs:null,//一级隐患点位
112
- level2Mulchs:null,//二级隐患点位
113
- level3Mulchs:null,//三级隐患点位
114
- problemsMulchs:null,//普通问题点位
115
- checkers:[],
116
- employeeList:[],
117
- level1:[],
118
- level2:[],
119
- level3:[],
120
- problems:[],
121
- chekckOps:null,
122
- defectList:{rows:[]},
123
- todayDefectList:[],
124
- intervalNum:'',
125
- layers:{//图层控制显示
126
- satelliteEnable:false,
127
- roadNetEnable:false,
128
- townshipEnable:false,
129
- city_properEnable:false
130
- },
131
- imgSrc:'',
132
- geocoder:null,//逆地理编码
133
- mulchs:{//覆盖物控制显示
134
- checker:true,
135
- level1:true,
136
- level2:true,
137
- level3:true,
138
- problems:true
139
- },
140
- styleObject :[
141
- {
142
- url: '/images/anjianyuan.png', //人员图标URL
143
- anchor: new AMap.Pixel(14, 8), // 图标偏移位置
144
- size: new AMap.Size(26, 28) //图标大小
145
- },
146
- {
147
- url: '/images/level1.png', //一级隐患图标URL
148
- anchor: new AMap.Pixel(14, 8), // 图标偏移位置
149
- size: new AMap.Size(26, 28) //图标大小
150
- },
151
- {
152
- url: '/images/level2.png', //二级隐患图标URL
153
- anchor: new AMap.Pixel(14, 8), // 图标偏移位置
154
- size: new AMap.Size(26, 28) //图标大小
155
- },
156
- {
157
- url: '/images/level3.png', //三级隐患图标URL
158
- anchor: new AMap.Pixel(14, 8), // 图标偏移位置
159
- size: new AMap.Size(26, 28) //图标大小
160
- },
161
- {
162
- url: '/images/ordinary.png', //普通问题图标URL
163
- anchor: new AMap.Pixel(14, 8), // 图标偏移位置
164
- size: new AMap.Size(26, 28) //图标大小
165
- }
166
- ],
167
- showModal:false,
168
- city_properEnable:false,
169
- townshipEnable:false
170
- }
171
- },
172
- async ready(){
173
- this.initMap()
174
- //tag)
175
- await this.getNewData()
176
- //tag
177
- this.assemblyData()
178
- //tag
179
- window.safe_closeInfoWindow=this.closeInfoWindow
180
- this.intervalNum=window.setInterval(this.safeRefresh, 240000)
181
- },
182
- methods: {
183
- seePhotos(path){
184
- if(path){
185
- this.imgSrc='/rs/image/file/'+path
186
- this.infoWindow.close()
187
- this.$refs.defectimg.open()
188
- }
189
- },
190
- setDefectPos(row){
191
- this.map.setZoomAndCenter(15,[row.f_longitude,row.f_latitude])
192
- let defectContent=this.getDefectContent(row)
193
- this.infoWindow.setContent(defectContent)
194
- this.infoWindow.open(this.map, [row.f_longitude,row.f_latitude]);
195
- },
196
- //获取定位人员类表
197
- async getNewData(){
198
- let res=await new HttpResetClass().load('POST', '/rs/search', {
199
- source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1)`,
200
- userid: this.$login.f.id
201
- }, {resolveMsg: null, rejectMsg: null})
202
- let arr1=await new HttpResetClass().load("GET", `/rs/safePsoition/getPosition`, {},{resolveMsg: null, rejectMsg: null})
203
- //tag+'---------'+typeof arr1)
204
- //let d=this.toStandardTimeString()
205
- this.checkers=[]
206
- console.log("res.data",res.data)
207
- console.log("arr1",arr1)
208
- if(res.data){
209
- res.data.forEach((checker)=>{
210
- ////tag)
211
-
212
- for(let check in arr1.data){
213
- let checkerpos=JSON.parse(arr1.data[check])
214
- ////tag+check)
215
- if(this.$login.f.rolestr.includes('定位管理员')==true){
216
- checkerpos.userid=checker.userid
217
- checkerpos.f_user_telephone=checker.f_user_telephone
218
- checkerpos.rolestr=checker.rolestr
219
- this.checkers.push(checkerpos)
220
- }else{
221
- if(checker.id==check){
222
- //tag
223
- console.log("zhaodao;e",checkerpos)
224
- checkerpos.userid=checker.userid
225
- checkerpos.f_user_telephone=checker.f_user_telephone
226
- checkerpos.rolestr=checker.rolestr
227
- this.checkers.push(checkerpos)
228
- }
229
- }
230
- }
231
- })
232
- }
233
- let td=Util.toStandardDateString()
234
- //获取今天上传的所有隐患
235
- let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and tdil.f_create_time>'${Util.toStartDateYearString()} 00:00:00' and tdi.F_LONGITUDE is not null`}},
236
- {resolveMsg: null, rejectMsg: null})
237
- //tag)
238
- if(arr.data){
239
- this.todayDefectList=[]
240
- arr.data.forEach((defect)=>{
241
- //拿出今天的隐患放到今日隐患列表中
242
- console.log("td",td)
243
- console.log("defect",defect)
244
- console.log("defect",defect)
245
- if(defect.f_upload_date.indexOf(td)!=-1){
246
- this.todayDefectList.push(defect)
247
- }
248
- //取出一二三级隐患
249
- console.log("二级隐患",defect.f_defect_level=='二级隐患')
250
- if(defect.f_defect_level=='一级隐患'){
251
- this.level1.push(defect)
252
- }else if(defect.f_defect_level=='二级隐患'){
253
- this.level2.push(defect)
254
- }else if(defect.f_defect_level=='三级隐患'){
255
- this.level3.push(defect)
256
- }else{
257
- this.problems.push(defect)
258
- }
259
- })
260
- }
261
- this.defectList.rows=arr.data
262
- },
263
- getDefectContent(row){
264
- return `
265
- <div style="padding:0px;margin-left: 8px;"><b>隐患详情</b></div>
266
- <div class="panel panel-default" style="background-color: azure;border-radius: 5px;margin-left: 8px;">
267
- <div class="panel-body">
268
- <ul style="list-style-type: none;font-size: 15px;">
269
- <li style="margin: 3px 0;">隐患内容: ${row.f_item_name}-${row.f_item_value}</li>
270
- <li style="margin: 3px 0;">隐患级别: ${row.f_defect_level}</li>
271
- <li style="margin: 3px 0;">发现人员: ${row.f_checker_name}</li>
272
- <li style="margin: 3px 0;">上报时间: ${row.f_upload_date}</li>
273
- <li style="margin: 3px 0;">是否处理: ${row.F_IS_REPAIRED?row.F_IS_REPAIRED:'未处理'}</li>
274
- <li style="margin: 3px 0;">隐患位置: ${row.f_address}</li>
275
- </ul>
276
- </div>
277
- </div>`
278
- },
279
- getCheckerContent(row){
280
- return `
281
- <div style="padding:0px;margin-left: 8px;"><b>员工信息</b></div>
282
- <div class="panel panel-default" style="background-color: azure;border-radius: 5px;margin-left: 8px;">
283
- <div class="panel-body">
284
- <ul style="list-style-type: none;font-size: 15px;">
285
- <li style="margin: 3px 0;">员工工号: ${row.userid}</li>
286
- <li style="margin: 3px 0;">员工姓名: ${row.name}</li>
287
- <li style="margin: 3px 0;">员工电话: ${row.f_user_telephone?row.f_user_telephone:'未查到电话'}</li>
288
- <li style="margin: 3px 0;">角色列表: ${row.rolestr}</li>
289
- <li style="margin: 3px 0;">剩余电量: ${row.f_battery_level} %</li>
290
- <li style="margin: 3px 0;">剩余内存: ${row.f_internal_quote} MB</li>
291
- <li style="margin: 3px 0;">信号强度: ${row.f_signal_strength}</li>
292
- <li style="margin: 3px 0;">实时位置: ${row.checkAddress}</li>
293
- <li style="margin: 3px 0;">状态更新时间: ${row.uploadTime}</li>
294
- <!--<li style="margin: 3px 0;">客户地址: 河南省周口市工农南路xx酒店302</li>-->
295
- </ul>
296
- </div>
297
- </div>`
298
- },
299
- assemblyData(){
300
- let that=this
301
- this.checkerInit()
302
- /*this.checkers=[
303
- {f_longitude:114.718285,f_latitude:33.610584},
304
- {f_longitude:114.713736,f_latitude:33.642387}
305
- ]*/
306
- /*this.level1=[
307
- {f_longitude:114.68736,f_latitude:33.655248},
308
- {f_longitude:114.716736,f_latitude:33.627523}
309
- ]*/
310
- /*this.level2=[
311
- {f_longitude:114.676833,f_latitude:33.609726},
312
- {f_longitude:114.684013,f_latitude:33.642387}
313
- ]
314
- this.level3=[
315
- {f_longitude:114.71502,f_latitude:33.648675},
316
- {f_longitude:114.725002,f_latitude:33.637242}
317
- ]
318
- this.problems=[
319
- {f_longitude:114.696969,f_latitude:33.635241},
320
- {f_longitude:114.68836,f_latitude:33.655248}
321
- ]*/
322
- /*let a1=[]
323
- for(let i=0;i<this.checkers.length;i++){
324
- a1.push({
325
- lnglat: [this.checkers[i].f_longitude,this.checkers[i].f_latitude], //点标记位置
326
- name: '安检员',
327
- id:i,
328
- rowstr:this.checkers[i]
329
- })
330
- }
331
- // 将数组设置到 massMarks 图层
332
- this.checkerMulchs.setData(a1);
333
- // 将 massMarks 添加到地图实例
334
- this.checkerMulchs.setMap(this.map);*/
335
- let a2=[]
336
- for(let i=0;i<this.level1.length;i++){
337
- a2.push({
338
- lnglat: [this.level1[i].f_longitude, this.level1[i].f_latitude], //点标记位置
339
- name: '一级隐患',
340
- id:i,
341
- rowstr:this.level1[i]
342
- })
343
- }
344
- // 将数组设置到 massMarks 图层
345
- this.level1Mulchs.setData(a2);
346
- // massMarks 添加到地图实例
347
- this.level1Mulchs.setMap(this.map);
348
-
349
-
350
- let a3=[]
351
- for(let i=0;i<this.level2.length;i++){
352
- a3.push({
353
- lnglat: [this.level2[i].f_longitude,this.level2[i].f_latitude], //点标记位置
354
- name: '二级隐患',
355
- id:i,
356
- rowstr:this.level2[i]
357
- })
358
- }
359
- // 将数组设置到 massMarks 图层
360
- this.level2Mulchs.setData(a3);
361
- // 将 massMarks 添加到地图实例
362
- this.level2Mulchs.setMap(this.map);
363
-
364
- let a4=[]
365
- for(let i=0;i<this.level3.length;i++){
366
- a4.push({
367
- lnglat: [this.level3[i].f_longitude, this.level3[i].f_latitude], //点标记位置
368
- name: '三级隐患',
369
- id:i,
370
- rowstr:this.level3[i]
371
- })
372
- }
373
- // 将数组设置到 massMarks 图层
374
- this.level3Mulchs.setData(a4);
375
- // 将 massMarks 添加到地图实例
376
- this.level3Mulchs.setMap(this.map);
377
-
378
-
379
- let a5=[]
380
- for(let i=0;i<this.problems.length;i++){
381
- a5.push({
382
- lnglat: [this.problems[i].f_longitude, this.problems[i].f_latitude], //点标记位置
383
- name: '普通问题',
384
- id:i,
385
- rowstr:this.problems[i]
386
- })
387
- }
388
- // 将数组设置到 massMarks 图层
389
- this.problemsMulchs.setData(a5);
390
- // 将 massMarks 添加到地图实例
391
- this.problemsMulchs.setMap(this.map);
392
- //组装安检员点位集合
393
- },
394
- //处理图层和覆盖物的显示隐藏
395
- enableChange(vname,val){
396
- //tag
397
- //tag
398
- switch(vname){
399
- case 'satelliteEnable':
400
- if(val){
401
- this.map.add(this.satellite)
402
- }else{
403
- this.map.remove(this.satellite)
404
- }
405
- break;
406
- case 'roadNetEnable':
407
- if(val){
408
- this.map.add(this.roadNet)
409
- }else{
410
- this.map.remove(this.roadNet)
411
- }
412
- break;
413
- case 'checker':
414
- if(val){
415
- this.chekckOps.show()
416
- }else{
417
- this.chekckOps.hide()
418
- }
419
- break;
420
- case 'level1':
421
- if(val){
422
- this.level1Mulchs.show()
423
- }else{
424
- this.level1Mulchs.hide()
425
- }
426
- break;
427
- case 'level2':
428
- if(val){
429
- this.level2Mulchs.show()
430
- }else{
431
- this.level2Mulchs.hide()
432
- }
433
- break;
434
- case 'level3':
435
- if(val){
436
- this.level3Mulchs.show()
437
- }else{
438
- this.level3Mulchs.hide()
439
- }
440
- break;
441
- case 'problems':
442
- if(val){
443
- this.problemsMulchs.show()
444
- }else{
445
- this.problemsMulchs.hide()
446
- }
447
- break;
448
- case 'townshipEnable':
449
- this.showModal=true
450
- this.townshipEnable=true
451
- this.city_properEnable=false
452
- break;
453
- case 'city_properEnable':
454
- this.showModal=true
455
- this.city_properEnable=true
456
- this.townshipEnable=false
457
- break;
458
- default:
459
- }
460
- },
461
- closeModal(){
462
- this.showModal=false
463
- this.city_properEnable=false
464
- this.townshipEnable=false
465
- this.layers.townshipEnable=false
466
- this.layers.city_properEnable=false
467
- },
468
- initMap(){
469
- let that=this
470
- this.map = new AMap.Map('check_map', {
471
- zoom: 12,
472
- viewMode: '2D', //设置地图模式
473
- lang: 'zh_cn', //设置地图语言类型
474
- zindex: 99
475
- });
476
- // 异步加载地图插件
477
- AMap.plugin(
478
- ['AMap.ToolBar','AMap.Geolocation','AMap.Geocoder'], () => {//异步加载插件
479
- // 自动定位插件
480
- var geolocation = new AMap.Geolocation({
481
- // 是否使用高精度定位,默认:true
482
- enableHighAccuracy: true,
483
- // 设置定位超时时间,默认:无穷大
484
- showbutton: true,
485
- //控制按钮的显示
486
- timeout: 10000,
487
- // 定位按钮的停靠位置的偏移量,默认:Pixel(10, 20)
488
- buttonOffset: new AMap.Pixel(10, 20),
489
- // 定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
490
- //zoomToAccuracy: true,
491
- // 定位按钮的排放位置, RB表示右下
492
- buttonPosition: 'LB'
493
- })
494
- that.geocoder = new AMap.Geocoder({
495
- radius: 500 //范围,默认:500
496
- });
497
- that.map.addControl(geolocation)
498
- geolocation.getCurrentPosition();
499
- that.map.addControl(new AMap.ToolBar()) //初始化工具插件
500
- });
501
- this.map.setDefaultCursor('move');
502
- //this.map.setMapStyle('amap://styles/whitesmoke');
503
- this.satellite=new AMap.TileLayer.Satellite()//卫星图层
504
- this.roadNet=new AMap.TileLayer.RoadNet({opacity:0.8})//网路图层
505
- //安检员位置集合
506
- this.chekckOps=new AMap.OverlayGroup()
507
- //初始化窗体
508
- this.infoWindow = new AMap.InfoWindow({
509
- anchor: 'bottom-center',
510
- //isCustom: true, //使用自定义窗体
511
- autoMove:true,
512
- content: '',
513
- offset: new AMap.Pixel(0, -25)
514
- });
515
- //安检员点位
516
- /*this.checkerMulchs = new AMap.MassMarks([], {
517
- opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
518
- zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
519
- cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
520
- //alwaysRender:false,
521
- style: this.styleObject[0]
522
- });
523
- //tag
524
- this.checkerMulchs.on('click',function (e) {
525
- //tag)
526
- let checkAddress='未获取到实时位置'
527
- that.geocoder.getAddress(e.data.lnglat, function(status, result) {
528
- if (status === 'complete'&& result.regeocode) {
529
- checkAddress = result.regeocode.formattedAddress;
530
- }else{
531
- log.error('根据经纬度查询地址失败')
532
- }
533
- e.data.rowstr.checkAddress=checkAddress
534
- let defectContent=that.getCheckerContent(e.data.rowstr)
535
- that.infoWindow.setContent(defectContent)
536
- that.infoWindow.open(that.map, e.data.lnglat);
537
- });
538
- })*/
539
- //一级隐患点位
540
- this.level1Mulchs=new AMap.MassMarks([], {
541
- opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
542
- zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
543
- cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
544
- //alwaysRender:false,
545
- style: this.styleObject[1]
546
- });
547
- this.level1Mulchs.on('click',function (e) {
548
- //tag)
549
- let defectContent=that.getDefectContent(e.data.rowstr)
550
- that.infoWindow.setContent(defectContent)
551
- that.infoWindow.open(that.map, e.data.lnglat);
552
- })
553
- //二级隐患点位
554
- this.level2Mulchs=new AMap.MassMarks([], {
555
- opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
556
- zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
557
- cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
558
- //alwaysRender:false,
559
- style: this.styleObject[2]
560
- });
561
- this.level2Mulchs.on('click',function (e) {
562
- //tag)
563
- let defectContent=that.getDefectContent(e.data.rowstr)
564
- that.infoWindow.setContent(defectContent)
565
- that.infoWindow.open(that.map, e.data.lnglat);
566
- })
567
- //三级隐患点位
568
- this.level3Mulchs=new AMap.MassMarks([], {
569
- opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
570
- zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
571
- cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
572
- //alwaysRender:false,
573
- style: this.styleObject[3]
574
- });
575
- this.level3Mulchs.on('click',function (e) {
576
- //tag)
577
- let defectContent=that.getDefectContent(e.data.rowstr)
578
- that.infoWindow.setContent(defectContent)
579
- that.infoWindow.open(that.map, e.data.lnglat);
580
- })
581
- //普通问题点位
582
- this.problemsMulchs=new AMap.MassMarks([], {
583
- opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
584
- zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
585
- cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
586
- //alwaysRender:false,
587
- style: this.styleObject[4]
588
- });
589
- this.problemsMulchs.on('click',function (e) {
590
- //tag)
591
- let defectContent=that.getDefectContent(e.data.rowstr)
592
- that.infoWindow.setContent(defectContent)
593
- that.infoWindow.open(that.map, e.data.lnglat);
594
- })
595
-
596
-
597
- },
598
- closeInfoWindow(){
599
- this.infoWindow.close()
600
- },
601
- checkerInit(){
602
- /*let marker1 = new AMap.Marker({
603
- position: [114.574809,33.621501],
604
- icon:'http://192.168.20.28:8400/image/anjianyuan.png'
605
- });
606
- //tag
607
- marker1.setLabel({
608
- //offset: new AMap.Pixel(20, 20), //设置文本标注偏移量
609
- content: "<div class='info' style='background-color: #0b87e2'>何文强</div>", //设置文本标注内容
610
- direction: 'bottom' //设置文本标注方位
611
- })*/
612
- let that = this
613
- this.chekckOps.clearOverlays()
614
- for(let j=0;j<this.checkers.length;j++){
615
- //tag+"---"+this.checkers[j].f_longitude+"---"+this.checkers[j].f_latitude)
616
- //let o={f_longitude:"114.72"+(Math.floor(Math.random()*(9999-1000))+1000),f_latitude:"33.56"+(Math.floor(Math.random()*(9999-1000))+1000),name:"hwq3",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865}
617
- let marker=new AMap.Marker({
618
- //map: that.map,
619
- offset:new AMap.Pixel(-18, -10),
620
- position: [this.checkers[j].f_longitude,this.checkers[j].f_latitude],
621
- icon:new AMap.Icon({
622
- image: '/images/anjianyuan.png', //人员图标URL
623
- imageOffset: new AMap.Pixel(0, 0), // 图标偏移位置
624
- imageSize: new AMap.Size(36, 36) //图标大小
625
- }),
626
- label:{
627
- //offset: new AMap.Pixel(20, 20), //设置文本标注偏移量
628
- content: `<div class='info' style='background-color: rgb(0,185,255);color: #ffffff;padding: 5px;border-radius: 4px'>${this.checkers[j].name}</div>`, //设置文本标注内容
629
- direction: 'bottom', //设置文本标注方位
630
- offset:new AMap.Pixel(0, -4)
631
- },
632
- extData:this.checkers[j]
633
- })
634
- this.chekckOps.addOverlay(marker)
635
-
636
- }
637
- this.chekckOps.setMap(this.map)
638
- this.chekckOps.on('click',function (e) {
639
- let pe=e.target.getExtData()
640
- for(let obj in pe){
641
- //tag
642
- }
643
- let checkAddress='未获取到实时位置'
644
- that.geocoder.getAddress([pe.f_longitude,pe.f_latitude], function(status, result) {
645
- if (status === 'complete'&& result.regeocode) {
646
- checkAddress = result.regeocode.formattedAddress;
647
- }/*else{
648
- log.error('根据经纬度查询地址失败')
649
- }*/
650
- pe.checkAddress=checkAddress
651
- let defectContent=that.getCheckerContent(pe)
652
- that.infoWindow.setContent(defectContent)
653
- that.infoWindow.open(that.map, [pe.f_longitude,pe.f_latitude])
654
- })
655
- })
656
- /*AMap.event.addListener(this.ops, 'click', function (e) {
657
- //tag)
658
- //that.infoWindow.open(that.map, marker.getPosition());
659
- })*/
660
- },
661
- //获取当前时间的前两个小时
662
- getNowFormatDate(house=0) {
663
- //tag
664
- let date = new Date();
665
- let seperator1 = "-";
666
- let seperator2 = ":";
667
- if(house != 0){
668
- date.setHours(date.getHours()-house)
669
- }
670
- let month = date.getMonth() + 1;
671
- let strDate = date.getDate();
672
- let hour = date.getHours();
673
- let min = date.getMinutes();
674
- let second = date.getSeconds();
675
- if (month >= 1 && month <= 9) {
676
- month = "0" + month;
677
- }
678
- if (strDate >= 0 && strDate <= 9) {
679
- strDate = "0" + strDate;
680
- }
681
- if (hour >= 0 && hour <= 9) {
682
- hour = "0" + hour;
683
- }
684
- if (min >= 0 && min <= 9) {
685
- min = "0" + min;
686
- }
687
- if (second >= 0 && second <= 9) {
688
- second = "0" + second;
689
- }
690
- let currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
691
- + " " + hour + seperator2 + min
692
- + seperator2 + second;
693
- return currentdate;
694
- },
695
- toStandardTimeString() {
696
- let dt = new Date()
697
- let month = dt.getMonth()+1
698
- let date = dt.getDate()
699
- let hour = dt.getHours()
700
- let min = dt.getMinutes()
701
- let sec = dt.getSeconds()
702
- return dt.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
703
- + ' ' + (hour<10? '0'+ hour : hour)
704
- },
705
- async safeRefresh(){
706
- //tag
707
- //获取所有安检员的点位集合-----测试数据
708
- /*this.checkers=[]
709
- this.checkers.push({f_longitude:114.7318,f_latitude:33.567126,name:"hwq1",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
710
- this.checkers.push({f_longitude:114.726801,f_latitude:33.566912,name:"hwq2",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
711
- this.checkers.push({f_longitude:114.723346,f_latitude:33.568932,name:"hwq3",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
712
- this.checkers.push({f_longitude:114.711741,f_latitude:33.585519,name:"hwq4",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
713
- this.checkers.push({f_longitude:114.756716,f_latitude:33.594528,name:"hwq5",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
714
- this.defectList.rows=[]
715
- this.defectList.rows.push({"f_longitude":114.661358,"f_latitude":33.596897,"f_checker_name":"hwq2","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
716
- this.defectList.rows.push({"f_longitude":114.659985,"f_latitude":33.62892,"f_checker_name":"hwq3","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
717
- this.defectList.rows.push({"f_longitude":114.634579,"f_latitude":33.616627,"f_checker_name":"hwq4","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
718
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
719
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
720
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
721
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
722
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
723
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
724
- this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})*/
725
- await this.getNewData()
726
- this.assemblyData()
727
- }
728
- },
729
- computed:{
730
-
731
- },
732
- destroyed(){
733
- window.clearInterval(this.intervalNum)
734
- }
735
- }
736
-
737
- </script>
738
-
739
- <style lang="less" scoped>
740
-
741
- .safe_checkbox_sty{
742
- vertical-align:text-bottom;
743
- margin-right: 3px;
744
-
745
- }
746
- .safe_ul_sty{
747
- list-style-type: none;
748
- font-size: 13px;
749
- padding-left: 5px;
750
- }
751
- .safe_li_sty{
752
- font-size: 13px;
753
- margin-top: 5px;
754
- }
755
- .safe_p{
756
- white-space: nowrap;
757
- overflow: hidden;
758
- text-overflow: ellipsis;
759
- margin: 0 0 0 10px;
760
-
761
- font-size: 12px;
762
- }
763
- .safe_list_li{
764
- margin-top: 5px;
765
- background-color: #ffffff;
766
- border: solid 1px #f0f4fa !important;
767
- color: #666666 !important;
768
- font-size: 1.3rem !important;
769
- font-family: PINGFANG-MEDIUM !important;
770
- padding: 8px;
771
- }
772
- .safe_list_li:hover{
773
- background-color: rgb(203,234,241);
774
- }
775
- .safe_deimg{
776
- vertical-align: text-bottom;
777
- width: 15px;
778
- margin-right: 3px;
779
- }
780
- </style>
781
-
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main" style="flex:7">
4
+ <div id="check_map" style="height:100%">
5
+ <img-self-safe :src="imgSrc" width="45" style="z-index: 0"
6
+ height="50" class="img-rounded" v-ref:defectimg></img-self-safe>
7
+ </div>
8
+ </div>
9
+ <modal :styles="'width:1230px'" width="1230px" :show.sync="showModal" v-ref:modal backdrop="false">
10
+ <header slot="modal-header" class="modal-header" v-show="false"></header>
11
+ <article slot="modal-body" class="modal-body" style="width: 1200px;">
12
+ <div class="auto">
13
+ <img style="height:800px;width: 1200px;" src="./cq.jpg"
14
+ v-show="city_properEnable" alt="图片加载失败"/>
15
+ <img style="height:800px;width: 1200px;" src="./qy.jpg"
16
+ v-show="townshipEnable" alt="图片加载失败"/>
17
+ </div>
18
+ </article>
19
+ <footer slot="modal-footer" class="modal-footer">
20
+ <button type="button" class="btn btn-success" @click='closeModal()'>关闭</button>
21
+ </footer>
22
+ </modal>
23
+
24
+ <div id="zzz" class="basic-main" style="flex:1;margin-left: 0px;overflow: hidden">
25
+ <div class="flex">
26
+ <div class="panel panel-info" style="flex: 1;margin-top:0px">
27
+ <div class="panel-heading" style="height: auto">
28
+ <h3 class="panel-title">图层设置</h3>
29
+ </div>
30
+ <div class="panel-body">
31
+ <ul class="safe_ul_sty">
32
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.satelliteEnable" @change="enableChange('satelliteEnable',layers.satelliteEnable)" type="checkbox"/>卫星图层</li>
33
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.roadNetEnable" @change="enableChange('roadNetEnable',layers.roadNetEnable)" type="checkbox"/>网路图层</li>
34
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.townshipEnable" @click="enableChange('townshipEnable')" type="checkbox"/>乡镇管网图层</li>
35
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="layers.city_properEnable" @click="enableChange('city_properEnable')" type="checkbox"/>城区管网图层</li>
36
+ <!--<button @click="safeRefresh">刷新111</button>-->
37
+ </ul>
38
+ </div>
39
+ </div>
40
+ <div class="panel panel-info" style="flex: 2;margin-top:0px;">
41
+ <div class="panel-heading" style="height: auto">
42
+ <h3 class="panel-title">覆盖物设置</h3>
43
+ </div>
44
+ <div class="panel-body">
45
+ <ul class="safe_ul_sty">
46
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.checker" @change="enableChange('checker',mulchs.checker)" type="checkbox"/><img class="safe_deimg" src="../../../assets/anjianyuan.png"/>工作人员</li>
47
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.level1" @change="enableChange('level1',mulchs.level1)" type="checkbox"/><img class="safe_deimg" src="../../../assets/level1.png"/>一级隐患</li>
48
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.level2" @change="enableChange('level2',mulchs.level2)" type="checkbox"/><img class="safe_deimg" src="../../../assets/level2.png"/>二级隐患</li>
49
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.level3" @change="enableChange('level3',mulchs.level3)" type="checkbox"/><img class="safe_deimg" src="../../../assets/level3.png"/>三级隐患</li>
50
+ <li class="safe_li_sty"><input class="safe_checkbox_sty" v-model="mulchs.problems" @change="enableChange('problems',mulchs.problems)" type="checkbox"/><img class="safe_deimg" src="../../../assets/ordinary.png"/>普通问题</li>
51
+ </ul>
52
+ <!--<data-grid :model="defectList" partial='list' class="table_sy" >
53
+ <template partial='body' style="height:100%">
54
+ <td @click="$parent.$parent.setDefectPos(row)">
55
+ <div style="width: 100%;"class="flex-row">
56
+ <img src="../../../assets/星球背景.jpg" style="width:45px;height: 50px" class="img-rounded">
57
+ <div >
58
+ <p class="safe_p" :title="row.f_item_name"><nobr>{{row.f_item_name}}</nobr></p>
59
+ <p class="safe_p" :title="row.f_checker_name"><nobr>{{row.f_checker_name}}</nobr></p>
60
+ <p class="safe_p" :title="row.f_upload_date"><nobr>{{row.f_upload_date.substring(11)}}</nobr></p>
61
+ </div>
62
+ </div>
63
+ </td>
64
+ </template>
65
+ </data-grid>-->
66
+ </div>
67
+ </div>
68
+ <div class="panel panel-info" style="flex: 4;margin-top:0px;height: 50%">
69
+ <div class="panel-heading" style="height: auto">
70
+ <h3 class="panel-title">今日隐患</h3>
71
+ </div>
72
+ <div class="panel-body" style="overflow: scroll">
73
+ <ul class="safe_ul_sty">
74
+ <li v-for="row in todayDefectList" track-by="$index" class="safe_li_sty safe_list_li" @click="setDefectPos(row)" style="border: 1px #4d4d4d solid;border-radius: 2px" >
75
+ <div style="width: 100%;" class="flex-row">
76
+ <div style="width:35%">
77
+ <!--<img-self-safe :src="'/rs/image/file/'+row.f_path" style="float: left" width="45"
78
+ height="50" class="img-rounded"></img-self-safe>-->
79
+ <img :src="'/rs/image/file/'+row.f_path" style="width:45px;height: 50px" @click.stop="seePhotos(row.f_path)" class="img-rounded">
80
+ </div>
81
+ <div style="width:65%">
82
+ <p class="safe_p" :title="row.f_item_name">{{row.f_item_name}}</p>
83
+ <p class="safe_p" :title="row.f_checker_name">{{row.f_checker_name}}</p>
84
+ <p class="safe_p" :title="row.f_upload_date">{{row.f_upload_date.substring(11)}}</p>
85
+ </div>
86
+ </div>
87
+ </li>
88
+ </ul>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </div>
93
+
94
+ </div>
95
+ </template>
96
+
97
+ <script>
98
+ import Vue from 'vue'
99
+ import * as Util from '../../Util'
100
+ import {HttpResetClass,trans} from 'vue-client'
101
+
102
+ export default {
103
+ title: '安检实时监控中心',
104
+ data() {
105
+ return {
106
+ map:null,
107
+ infoWindow:null,
108
+ satellite:null,
109
+ roadNet:null,
110
+ checkerMulchs:null,//安检员点位
111
+ level1Mulchs:null,//一级隐患点位
112
+ level2Mulchs:null,//二级隐患点位
113
+ level3Mulchs:null,//三级隐患点位
114
+ problemsMulchs:null,//普通问题点位
115
+ checkers:[],
116
+ employeeList:[],
117
+ level1:[],
118
+ level2:[],
119
+ level3:[],
120
+ problems:[],
121
+ chekckOps:null,
122
+ defectList:{rows:[]},
123
+ todayDefectList:[],
124
+ intervalNum:'',
125
+ layers:{//图层控制显示
126
+ satelliteEnable:false,
127
+ roadNetEnable:false,
128
+ townshipEnable:false,
129
+ city_properEnable:false
130
+ },
131
+ imgSrc:'',
132
+ geocoder:null,//逆地理编码
133
+ mulchs:{//覆盖物控制显示
134
+ checker:true,
135
+ level1:true,
136
+ level2:true,
137
+ level3:true,
138
+ problems:true
139
+ },
140
+ styleObject :[
141
+ {
142
+ url: '/images/anjianyuan.png', //人员图标URL
143
+ anchor: new AMap.Pixel(14, 8), // 图标偏移位置
144
+ size: new AMap.Size(26, 28) //图标大小
145
+ },
146
+ {
147
+ url: '/images/level1.png', //一级隐患图标URL
148
+ anchor: new AMap.Pixel(14, 8), // 图标偏移位置
149
+ size: new AMap.Size(26, 28) //图标大小
150
+ },
151
+ {
152
+ url: '/images/level2.png', //二级隐患图标URL
153
+ anchor: new AMap.Pixel(14, 8), // 图标偏移位置
154
+ size: new AMap.Size(26, 28) //图标大小
155
+ },
156
+ {
157
+ url: '/images/level3.png', //三级隐患图标URL
158
+ anchor: new AMap.Pixel(14, 8), // 图标偏移位置
159
+ size: new AMap.Size(26, 28) //图标大小
160
+ },
161
+ {
162
+ url: '/images/ordinary.png', //普通问题图标URL
163
+ anchor: new AMap.Pixel(14, 8), // 图标偏移位置
164
+ size: new AMap.Size(26, 28) //图标大小
165
+ }
166
+ ],
167
+ showModal:false,
168
+ city_properEnable:false,
169
+ townshipEnable:false
170
+ }
171
+ },
172
+ async ready(){
173
+ this.initMap()
174
+ //tag)
175
+ await this.getNewData()
176
+ //tag
177
+ this.assemblyData()
178
+ //tag
179
+ window.safe_closeInfoWindow=this.closeInfoWindow
180
+ this.intervalNum=window.setInterval(this.safeRefresh, 240000)
181
+ },
182
+ methods: {
183
+ seePhotos(path){
184
+ if(path){
185
+ this.imgSrc='/rs/image/file/'+path
186
+ this.infoWindow.close()
187
+ this.$refs.defectimg.open()
188
+ }
189
+ },
190
+ setDefectPos(row){
191
+ this.map.setZoomAndCenter(15,[row.f_longitude,row.f_latitude])
192
+ let defectContent=this.getDefectContent(row)
193
+ this.infoWindow.setContent(defectContent)
194
+ this.infoWindow.open(this.map, [row.f_longitude,row.f_latitude]);
195
+ },
196
+ //获取定位人员类表
197
+ async getNewData(){
198
+ let res=await new HttpResetClass().load('POST', '/rs/search', {
199
+ source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1)`,
200
+ userid: this.$login.f.id
201
+ }, {resolveMsg: null, rejectMsg: null})
202
+ let arr1=await new HttpResetClass().load("GET", `/rs/safePosition/getPosition`, {},{resolveMsg: null, rejectMsg: null})
203
+ //tag+'---------'+typeof arr1)
204
+ //let d=this.toStandardTimeString()
205
+ this.checkers=[]
206
+ console.log("res.data",res.data)
207
+ console.log("arr1",arr1)
208
+ if(res.data){
209
+ res.data.forEach((checker)=>{
210
+ ////tag)
211
+
212
+ for(let check in arr1.data){
213
+ let checkerpos=JSON.parse(arr1.data[check])
214
+ ////tag+check)
215
+ if(this.$login.f.rolestr.includes('定位管理员')==true){
216
+ checkerpos.userid=checker.userid
217
+ checkerpos.f_user_telephone=checker.f_user_telephone
218
+ checkerpos.rolestr=checker.rolestr
219
+ this.checkers.push(checkerpos)
220
+ }else{
221
+ if(checker.id==check){
222
+ //tag
223
+ console.log("zhaodao;e",checkerpos)
224
+ checkerpos.userid=checker.userid
225
+ checkerpos.f_user_telephone=checker.f_user_telephone
226
+ checkerpos.rolestr=checker.rolestr
227
+ this.checkers.push(checkerpos)
228
+ }
229
+ }
230
+ }
231
+ })
232
+ }
233
+ let td=Util.toStandardDateString()
234
+ //获取今天上传的所有隐患
235
+ let arr=await new HttpResetClass().load("POST", `api/af-safecheck/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.toStandardDateString()} 00:00:00'`}},
236
+ {resolveMsg: null, rejectMsg: null})
237
+ //tag)
238
+ if(arr.data){
239
+ this.todayDefectList=[]
240
+ arr.data.forEach((defect)=>{
241
+ if(defect.f_upload_date.indexOf(td)!=-1){
242
+ this.todayDefectList.push(defect)
243
+ }
244
+ if(defect.f_defect_level.indexOf('一级') >=0){
245
+ this.level1.push(defect)
246
+ }else if(defect.f_defect_level.indexOf('二级') >=0){
247
+ this.level2.push(defect)
248
+ }else if(defect.f_defect_level.indexOf('三级') >=0){
249
+ this.level3.push(defect)
250
+ }else{
251
+ this.problems.push(defect)
252
+ }
253
+ })
254
+ }
255
+ this.defectList.rows=arr.data
256
+ },
257
+ getDefectContent(row){
258
+ return `
259
+ <div style="padding:0px;margin-left: 8px;"><b>隐患详情</b></div>
260
+ <div class="panel panel-default" style="background-color: azure;border-radius: 5px;margin-left: 8px;">
261
+ <div class="panel-body">
262
+ <ul style="list-style-type: none;font-size: 15px;">
263
+ <li style="margin: 3px 0;">隐患内容: ${row.f_item_name}-${row.f_item_value}</li>
264
+ <li style="margin: 3px 0;">隐患级别: ${row.f_defect_level}</li>
265
+ <li style="margin: 3px 0;">发现人员: ${row.f_checker_name}</li>
266
+ <li style="margin: 3px 0;">上报时间: ${row.f_upload_date}</li>
267
+ <li style="margin: 3px 0;">是否处理: ${row.F_IS_REPAIRED?row.F_IS_REPAIRED:'未处理'}</li>
268
+ <li style="margin: 3px 0;">隐患位置: ${row.f_address}</li>
269
+ </ul>
270
+ </div>
271
+ </div>`
272
+ },
273
+ getCheckerContent(row){
274
+ return `
275
+ <div style="padding:0px;margin-left: 8px;"><b>员工信息</b></div>
276
+ <div class="panel panel-default" style="background-color: azure;border-radius: 5px;margin-left: 8px;">
277
+ <div class="panel-body">
278
+ <ul style="list-style-type: none;font-size: 15px;">
279
+ <li style="margin: 3px 0;">员工工号: ${row.userid}</li>
280
+ <li style="margin: 3px 0;">员工姓名: ${row.name}</li>
281
+ <li style="margin: 3px 0;">员工电话: ${row.f_user_telephone?row.f_user_telephone:'未查到电话'}</li>
282
+ <li style="margin: 3px 0;">角色列表: ${row.rolestr}</li>
283
+ <li style="margin: 3px 0;">剩余电量: ${row.f_battery_level} %</li>
284
+ <li style="margin: 3px 0;">剩余内存: ${row.f_internal_quote} MB</li>
285
+ <li style="margin: 3px 0;">信号强度: ${row.f_signal_strength}</li>
286
+ <li style="margin: 3px 0;">实时位置: ${row.checkAddress}</li>
287
+ <li style="margin: 3px 0;">状态更新时间: ${row.uploadTime}</li>
288
+ <!--<li style="margin: 3px 0;">客户地址: 河南省周口市工农南路xx酒店302</li>-->
289
+ </ul>
290
+ </div>
291
+ </div>`
292
+ },
293
+ assemblyData(){
294
+ let that=this
295
+ this.checkerInit()
296
+ /*this.checkers=[
297
+ {f_longitude:114.718285,f_latitude:33.610584},
298
+ {f_longitude:114.713736,f_latitude:33.642387}
299
+ ]*/
300
+ /*this.level1=[
301
+ {f_longitude:114.68736,f_latitude:33.655248},
302
+ {f_longitude:114.716736,f_latitude:33.627523}
303
+ ]*/
304
+ /*this.level2=[
305
+ {f_longitude:114.676833,f_latitude:33.609726},
306
+ {f_longitude:114.684013,f_latitude:33.642387}
307
+ ]
308
+ this.level3=[
309
+ {f_longitude:114.71502,f_latitude:33.648675},
310
+ {f_longitude:114.725002,f_latitude:33.637242}
311
+ ]
312
+ this.problems=[
313
+ {f_longitude:114.696969,f_latitude:33.635241},
314
+ {f_longitude:114.68836,f_latitude:33.655248}
315
+ ]*/
316
+ /*let a1=[]
317
+ for(let i=0;i<this.checkers.length;i++){
318
+ a1.push({
319
+ lnglat: [this.checkers[i].f_longitude,this.checkers[i].f_latitude], //点标记位置
320
+ name: '安检员',
321
+ id:i,
322
+ rowstr:this.checkers[i]
323
+ })
324
+ }
325
+ // 将数组设置到 massMarks 图层
326
+ this.checkerMulchs.setData(a1);
327
+ // 将 massMarks 添加到地图实例
328
+ this.checkerMulchs.setMap(this.map);*/
329
+ let a2=[]
330
+ for(let i=0;i<this.level1.length;i++){
331
+ a2.push({
332
+ lnglat: [this.level1[i].f_longitude, this.level1[i].f_latitude], //点标记位置
333
+ name: '一级隐患',
334
+ id:i,
335
+ rowstr:this.level1[i]
336
+ })
337
+ }
338
+ // 将数组设置到 massMarks 图层
339
+ this.level1Mulchs.setData(a2);
340
+ // 将 massMarks 添加到地图实例
341
+ this.level1Mulchs.setMap(this.map);
342
+
343
+
344
+ let a3=[]
345
+ for(let o=0;o<this.level2.length;o++){
346
+ if (this.level2[o].f_longitude && this.level2[o].f_latitude){
347
+ a3.push({
348
+ lnglat: [this.level2[o].f_longitude,this.level2[o].f_latitude], //点标记位置
349
+ name: '二级隐患',
350
+ id:o,
351
+ rowstr:this.level2[o]
352
+ })
353
+ }
354
+ }
355
+ // 将数组设置到 massMarks 图层
356
+ this.level2Mulchs.setData(a3);
357
+ // 将 massMarks 添加到地图实例
358
+ this.level2Mulchs.setMap(this.map);
359
+
360
+ let a4=[]
361
+ for(let p=0;p<this.level3.length;p++){
362
+ if (this.level3[p].f_longitude&&this.level3[p].f_latitude){
363
+ a4.push({
364
+ lnglat: [this.level3[p].f_longitude, this.level3[p].f_latitude], //点标记位置
365
+ name: '三级隐患',
366
+ id:p,
367
+ rowstr:this.level3[p]
368
+ })
369
+ }
370
+ }
371
+ // 将数组设置到 massMarks 图层
372
+ this.level3Mulchs.setData(a4);
373
+ // massMarks 添加到地图实例
374
+ this.level3Mulchs.setMap(this.map);
375
+
376
+
377
+ let a5=[]
378
+ for(let l=0;l<this.problems.length;l++){
379
+ if (this.problems[l].f_longitude&&this.problems[l].f_latitude){
380
+ a5.push({
381
+ lnglat: [this.problems[l].f_longitude, this.problems[l].f_latitude], //点标记位置
382
+ name: '普通问题',
383
+ id:l,
384
+ rowstr:this.problems[l]
385
+ })
386
+ }
387
+ }
388
+ // 将数组设置到 massMarks 图层
389
+ this.problemsMulchs.setData(a5);
390
+ // 将 massMarks 添加到地图实例
391
+ this.problemsMulchs.setMap(this.map);
392
+ //组装安检员点位集合
393
+ },
394
+ //处理图层和覆盖物的显示隐藏
395
+ enableChange(vname,val){
396
+ //tag
397
+ //tag
398
+ switch(vname){
399
+ case 'satelliteEnable':
400
+ if(val){
401
+ this.map.add(this.satellite)
402
+ }else{
403
+ this.map.remove(this.satellite)
404
+ }
405
+ break;
406
+ case 'roadNetEnable':
407
+ if(val){
408
+ this.map.add(this.roadNet)
409
+ }else{
410
+ this.map.remove(this.roadNet)
411
+ }
412
+ break;
413
+ case 'checker':
414
+ if(val){
415
+ this.chekckOps.show()
416
+ }else{
417
+ this.chekckOps.hide()
418
+ }
419
+ break;
420
+ case 'level1':
421
+ if(val){
422
+ this.level1Mulchs.show()
423
+ }else{
424
+ this.level1Mulchs.hide()
425
+ }
426
+ break;
427
+ case 'level2':
428
+ if(val){
429
+ this.level2Mulchs.show()
430
+ }else{
431
+ this.level2Mulchs.hide()
432
+ }
433
+ break;
434
+ case 'level3':
435
+ if(val){
436
+ this.level3Mulchs.show()
437
+ }else{
438
+ this.level3Mulchs.hide()
439
+ }
440
+ break;
441
+ case 'problems':
442
+ if(val){
443
+ this.problemsMulchs.show()
444
+ }else{
445
+ this.problemsMulchs.hide()
446
+ }
447
+ break;
448
+ case 'townshipEnable':
449
+ this.showModal=true
450
+ this.townshipEnable=true
451
+ this.city_properEnable=false
452
+ break;
453
+ case 'city_properEnable':
454
+ this.showModal=true
455
+ this.city_properEnable=true
456
+ this.townshipEnable=false
457
+ break;
458
+ default:
459
+ }
460
+ },
461
+ closeModal(){
462
+ this.showModal=false
463
+ this.city_properEnable=false
464
+ this.townshipEnable=false
465
+ this.layers.townshipEnable=false
466
+ this.layers.city_properEnable=false
467
+ },
468
+ initMap(){
469
+ let that=this
470
+ this.map = new AMap.Map('check_map', {
471
+ zoom: 12,
472
+ center: [116.80030599999998, 37.65219],
473
+ showIndoorMap: false,
474
+ viewMode: '2D', //设置地图模式
475
+ lang: 'zh_cn', //设置地图语言类型
476
+ zindex: 99
477
+ });
478
+
479
+ let bounds = this.map.getBounds();
480
+ this.map.setLimitBounds(bounds);
481
+ // 异步加载地图插件
482
+ AMap.plugin(
483
+ ['AMap.ToolBar','AMap.Geolocation','AMap.Geocoder'], () => {//异步加载插件
484
+ // 自动定位插件
485
+ var geolocation = new AMap.Geolocation({
486
+ // 是否使用高精度定位,默认:true
487
+ enableHighAccuracy: true,
488
+ // 设置定位超时时间,默认:无穷大
489
+ showbutton: true,
490
+ //控制按钮的显示
491
+ timeout: 10000,
492
+ // 定位按钮的停靠位置的偏移量,默认:Pixel(10, 20)
493
+ buttonOffset: new AMap.Pixel(10, 20),
494
+ // 定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
495
+ //zoomToAccuracy: true,
496
+ // 定位按钮的排放位置, RB表示右下
497
+ buttonPosition: 'LB'
498
+ })
499
+ that.geocoder = new AMap.Geocoder({
500
+ radius: 500 //范围,默认:500
501
+ });
502
+ that.map.addControl(geolocation)
503
+ geolocation.getCurrentPosition();
504
+ that.map.addControl(new AMap.ToolBar()) //初始化工具插件
505
+ });
506
+ this.map.setDefaultCursor('move');
507
+ //this.map.setMapStyle('amap://styles/whitesmoke');
508
+ this.satellite=new AMap.TileLayer.Satellite()//卫星图层
509
+ this.roadNet=new AMap.TileLayer.RoadNet({opacity:0.8})//网路图层
510
+ //安检员位置集合
511
+ this.chekckOps=new AMap.OverlayGroup()
512
+ //初始化窗体
513
+ this.infoWindow = new AMap.InfoWindow({
514
+ anchor: 'bottom-center',
515
+ //isCustom: true, //使用自定义窗体
516
+ autoMove:true,
517
+ content: '',
518
+ offset: new AMap.Pixel(0, -25)
519
+ });
520
+ //安检员点位
521
+ /*this.checkerMulchs = new AMap.MassMarks([], {
522
+ opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
523
+ zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
524
+ cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
525
+ //alwaysRender:false,
526
+ style: this.styleObject[0]
527
+ });
528
+ //tag
529
+ this.checkerMulchs.on('click',function (e) {
530
+ //tag)
531
+ let checkAddress='未获取到实时位置'
532
+ that.geocoder.getAddress(e.data.lnglat, function(status, result) {
533
+ if (status === 'complete'&& result.regeocode) {
534
+ checkAddress = result.regeocode.formattedAddress;
535
+ }else{
536
+ log.error('根据经纬度查询地址失败')
537
+ }
538
+ e.data.rowstr.checkAddress=checkAddress
539
+ let defectContent=that.getCheckerContent(e.data.rowstr)
540
+ that.infoWindow.setContent(defectContent)
541
+ that.infoWindow.open(that.map, e.data.lnglat);
542
+ });
543
+ })*/
544
+ //一级隐患点位
545
+ this.level1Mulchs=new AMap.MassMarks([], {
546
+ opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
547
+ zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
548
+ cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
549
+ //alwaysRender:false,
550
+ style: this.styleObject[1]
551
+ });
552
+ this.level1Mulchs.on('click',function (e) {
553
+ //tag)
554
+ let defectContent=that.getDefectContent(e.data.rowstr)
555
+ that.infoWindow.setContent(defectContent)
556
+ that.infoWindow.open(that.map, e.data.lnglat);
557
+ })
558
+ //二级隐患点位
559
+ this.level2Mulchs=new AMap.MassMarks([], {
560
+ opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
561
+ zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
562
+ cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
563
+ //alwaysRender:false,
564
+ style: this.styleObject[2]
565
+ });
566
+ this.level2Mulchs.on('click',function (e) {
567
+ //tag)
568
+ let defectContent=that.getDefectContent(e.data.rowstr)
569
+ that.infoWindow.setContent(defectContent)
570
+ that.infoWindow.open(that.map, e.data.lnglat);
571
+ })
572
+ //三级隐患点位
573
+ this.level3Mulchs=new AMap.MassMarks([], {
574
+ opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
575
+ zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
576
+ cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
577
+ //alwaysRender:false,
578
+ style: this.styleObject[3]
579
+ });
580
+ this.level3Mulchs.on('click',function (e) {
581
+ //tag)
582
+ let defectContent=that.getDefectContent(e.data.rowstr)
583
+ that.infoWindow.setContent(defectContent)
584
+ that.infoWindow.open(that.map, e.data.lnglat);
585
+ })
586
+ //普通问题点位
587
+ this.problemsMulchs=new AMap.MassMarks([], {
588
+ opacity: 0.8, // 图层的透明度,取值范围[0,1],1代表完全不透明,0代表完全透明
589
+ zIndex: 111, //图层叠加的顺序值,0表示最底层。默认zIndex:5
590
+ cursor: 'pointer', //指定鼠标悬停时的鼠标样式,自定义cursor,IE仅支持cur/ani/ico格式,Opera不支持自定义cursor
591
+ //alwaysRender:false,
592
+ style: this.styleObject[4]
593
+ });
594
+ this.problemsMulchs.on('click',function (e) {
595
+ //tag)
596
+ let defectContent=that.getDefectContent(e.data.rowstr)
597
+ that.infoWindow.setContent(defectContent)
598
+ that.infoWindow.open(that.map, e.data.lnglat);
599
+ })
600
+
601
+
602
+ },
603
+ closeInfoWindow(){
604
+ this.infoWindow.close()
605
+ },
606
+ checkerInit(){
607
+ /*let marker1 = new AMap.Marker({
608
+ position: [114.574809,33.621501],
609
+ icon:'http://192.168.20.28:8400/image/anjianyuan.png'
610
+ });
611
+ //tag
612
+ marker1.setLabel({
613
+ //offset: new AMap.Pixel(20, 20), //设置文本标注偏移量
614
+ content: "<div class='info' style='background-color: #0b87e2'>何文强</div>", //设置文本标注内容
615
+ direction: 'bottom' //设置文本标注方位
616
+ })*/
617
+ let that = this
618
+ this.chekckOps.clearOverlays()
619
+ for(let j=0;j<this.checkers.length;j++){
620
+ //tag+"---"+this.checkers[j].f_longitude+"---"+this.checkers[j].f_latitude)
621
+ //let o={f_longitude:"114.72"+(Math.floor(Math.random()*(9999-1000))+1000),f_latitude:"33.56"+(Math.floor(Math.random()*(9999-1000))+1000),name:"hwq3",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865}
622
+ let marker=new AMap.Marker({
623
+ //map: that.map,
624
+ offset:new AMap.Pixel(-18, -10),
625
+ position: [this.checkers[j].f_longitude,this.checkers[j].f_latitude],
626
+ icon:new AMap.Icon({
627
+ image: '/images/anjianyuan.png', //人员图标URL
628
+ imageOffset: new AMap.Pixel(0, 0), // 图标偏移位置
629
+ imageSize: new AMap.Size(36, 36) //图标大小
630
+ }),
631
+ label:{
632
+ //offset: new AMap.Pixel(20, 20), //设置文本标注偏移量
633
+ content: `<div class='info' style='background-color: rgb(0,185,255);color: #ffffff;padding: 5px;border-radius: 4px'>${this.checkers[j].name}</div>`, //设置文本标注内容
634
+ direction: 'bottom', //设置文本标注方位
635
+ offset:new AMap.Pixel(0, -4)
636
+ },
637
+ extData:this.checkers[j]
638
+ })
639
+ this.chekckOps.addOverlay(marker)
640
+
641
+ }
642
+ this.chekckOps.setMap(this.map)
643
+ this.chekckOps.on('click',function (e) {
644
+ let pe=e.target.getExtData()
645
+ for(let obj in pe){
646
+ //tag
647
+ }
648
+ let checkAddress='未获取到实时位置'
649
+ that.geocoder.getAddress([pe.f_longitude,pe.f_latitude], function(status, result) {
650
+ if (status === 'complete'&& result.regeocode) {
651
+ checkAddress = result.regeocode.formattedAddress;
652
+ }/*else{
653
+ log.error('根据经纬度查询地址失败')
654
+ }*/
655
+ pe.checkAddress=checkAddress
656
+ let defectContent=that.getCheckerContent(pe)
657
+ that.infoWindow.setContent(defectContent)
658
+ that.infoWindow.open(that.map, [pe.f_longitude,pe.f_latitude])
659
+ })
660
+ })
661
+ /*AMap.event.addListener(this.ops, 'click', function (e) {
662
+ //tag)
663
+ //that.infoWindow.open(that.map, marker.getPosition());
664
+ })*/
665
+ },
666
+ //获取当前时间的前两个小时
667
+ getNowFormatDate(house=0) {
668
+ //tag
669
+ let date = new Date();
670
+ let seperator1 = "-";
671
+ let seperator2 = ":";
672
+ if(house != 0){
673
+ date.setHours(date.getHours()-house)
674
+ }
675
+ let month = date.getMonth() + 1;
676
+ let strDate = date.getDate();
677
+ let hour = date.getHours();
678
+ let min = date.getMinutes();
679
+ let second = date.getSeconds();
680
+ if (month >= 1 && month <= 9) {
681
+ month = "0" + month;
682
+ }
683
+ if (strDate >= 0 && strDate <= 9) {
684
+ strDate = "0" + strDate;
685
+ }
686
+ if (hour >= 0 && hour <= 9) {
687
+ hour = "0" + hour;
688
+ }
689
+ if (min >= 0 && min <= 9) {
690
+ min = "0" + min;
691
+ }
692
+ if (second >= 0 && second <= 9) {
693
+ second = "0" + second;
694
+ }
695
+ let currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
696
+ + " " + hour + seperator2 + min
697
+ + seperator2 + second;
698
+ return currentdate;
699
+ },
700
+ toStandardTimeString() {
701
+ let dt = new Date()
702
+ let month = dt.getMonth()+1
703
+ let date = dt.getDate()
704
+ let hour = dt.getHours()
705
+ let min = dt.getMinutes()
706
+ let sec = dt.getSeconds()
707
+ return dt.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
708
+ + ' ' + (hour<10? '0'+ hour : hour)
709
+ },
710
+ async safeRefresh(){
711
+ //tag
712
+ //获取所有安检员的点位集合-----测试数据
713
+ /*this.checkers=[]
714
+ this.checkers.push({f_longitude:114.7318,f_latitude:33.567126,name:"hwq1",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
715
+ this.checkers.push({f_longitude:114.726801,f_latitude:33.566912,name:"hwq2",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
716
+ this.checkers.push({f_longitude:114.723346,f_latitude:33.568932,name:"hwq3",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
717
+ this.checkers.push({f_longitude:114.711741,f_latitude:33.585519,name:"hwq4",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
718
+ this.checkers.push({f_longitude:114.756716,f_latitude:33.594528,name:"hwq5",f_provider:"lbs",f_battery_level:38,f_bearing:"210.0",uploadTime:"2021-11-17 17:28:35",f_signal_strength:4,userid:"141701",f_speed:"0.0",f_internal_quote:8535,f_altitude:"9.72", f_traffic:345865})
719
+ this.defectList.rows=[]
720
+ this.defectList.rows.push({"f_longitude":114.661358,"f_latitude":33.596897,"f_checker_name":"hwq2","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
721
+ this.defectList.rows.push({"f_longitude":114.659985,"f_latitude":33.62892,"f_checker_name":"hwq3","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
722
+ this.defectList.rows.push({"f_longitude":114.634579,"f_latitude":33.616627,"f_checker_name":"hwq4","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
723
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
724
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
725
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
726
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
727
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
728
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})
729
+ this.defectList.rows.push({"f_longitude":114.690197,"f_latitude":33.604332,"f_checker_name":"hwq5","f_address":"人民路东段百昌家园路西北1栋西单元4层西户","f_item_value":"是","f_item_name":"过墙、暗封等隐蔽部位锈蚀","f_upload_date":"2021-11-16 20:07:24","f_defect_level":"一级隐患","f_is_repaired":null})*/
730
+ await this.getNewData()
731
+ this.assemblyData()
732
+ }
733
+ },
734
+ computed:{
735
+
736
+ },
737
+ destroyed(){
738
+ window.clearInterval(this.intervalNum)
739
+ }
740
+ }
741
+
742
+ </script>
743
+
744
+ <style lang="less" scoped>
745
+
746
+ .safe_checkbox_sty{
747
+ vertical-align:text-bottom;
748
+ margin-right: 3px;
749
+
750
+ }
751
+ .safe_ul_sty{
752
+ list-style-type: none;
753
+ font-size: 13px;
754
+ padding-left: 5px;
755
+ }
756
+ .safe_li_sty{
757
+ font-size: 13px;
758
+ margin-top: 5px;
759
+ }
760
+ .safe_p{
761
+ white-space: nowrap;
762
+ overflow: hidden;
763
+ text-overflow: ellipsis;
764
+ margin: 0 0 0 10px;
765
+
766
+ font-size: 12px;
767
+ }
768
+ .safe_list_li{
769
+ margin-top: 5px;
770
+ background-color: #ffffff;
771
+ border: solid 1px #f0f4fa !important;
772
+ color: #666666 !important;
773
+ font-size: 1.3rem !important;
774
+ font-family: PINGFANG-MEDIUM !important;
775
+ padding: 8px;
776
+ }
777
+ .safe_list_li:hover{
778
+ background-color: rgb(203,234,241);
779
+ }
780
+ .safe_deimg{
781
+ vertical-align: text-bottom;
782
+ width: 15px;
783
+ margin-right: 3px;
784
+ }
785
+ </style>
786
+