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,1290 +1,1342 @@
1
- <style scoped>
2
- .img {
3
- border: 1px solid #9773ed;
4
- width: auto;
5
- height: auto;
6
- float: left;
7
- text-align: center;
8
- margin: 6px;
9
- }
10
-
11
- img {
12
- margin: 6px;
13
- }
14
-
15
-
16
- .container {
17
- margin: 10px auto;
18
- width: 80%;
19
- height: auto;
20
- }
21
-
22
- div::-webkit-scrollbar {
23
- width: 0 !important;
24
- height: 0 !important;
25
- }
26
-
27
- div {
28
- -ms-overflow-style: none;
29
- overflow: -moz-scrollbars-none;
30
- }
31
-
32
- .divmask {
33
- pointer-events: none;
34
- }
35
-
36
- .app-header {
37
- border-radius: 50%;
38
- background: rgba(73, 158, 223, 0.4);
39
- color: #FFF;
40
- padding: 20px;
41
- text-align: center;
42
- font-size: 1.2em;
43
- z-index: 10;
44
- opacity: 0.5;
45
- bottom: 50px;
46
- margin-top: -20px;
47
- position: absolute;
48
- top: 10%;
49
- right: 2%;
50
- height: 8%;
51
- }
52
- </style>
53
-
54
- <template>
55
- <div class="basic-main" style="height: 100%">
56
- <div class="page-header app-header auto" style="padding: 15px;margin-right: 10px;right: 0%;height: 7%">
57
- <div @click="back()">
58
- <img src="../../../assets/back.png" style="margin: 0px"/>
59
- </div>
60
- </div>
61
- <work-busy :is-busy="loading"></work-busy>
62
- <div class="container-fluid" style="overflow: scroll">
63
- <div class="row">
64
- <div class="col-md-5" style="margin-right: 2%;margin-left: 2%;height: 100%;overflow: scroll">
65
- <div style="width: 100%;margin: auto">
66
- <table class="table table-striped table-bordered" style="margin-bottom: 6px">
67
- <thead>
68
- <tr>
69
- <th colspan="6" style="text-align: center">用户基本信息</th>
70
- </tr>
71
- </thead>
72
- <tbody>
73
- <tr>
74
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用户编号:</td>
75
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_userinfo_code }}</td>
76
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用户名称:</td>
77
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_user_name }}</td>
78
- </tr>
79
- <tr>
80
- <td style="text-align: center;border: #E9E9E9 solid 1px">证件号码:</td>
81
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_idnumber }}</td>
82
- <td style="text-align: center;border: #E9E9E9 solid 1px">用户类型:</td>
83
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_check_type }}</td>
84
- </tr>
85
- <tr>
86
- <td style="text-align: center;border: #E9E9E9 solid 1px">用户电话:</td>
87
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_user_phone }}</td>
88
- <td style="text-align: center;border: #E9E9E9 solid 1px">区 / 县:</td>
89
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_area }}</td>
90
- </tr>
91
- <tr>
92
- <td style="text-align: center;border: #E9E9E9 solid 1px">街 道:</td>
93
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_street }}</td>
94
- <td style="text-align: center;border: #E9E9E9 solid 1px">楼 号:</td>
95
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_building }}</td>
96
- </tr>
97
- <tr>
98
- <td style="text-align: center;border: #E9E9E9 solid 1px">单 元:</td>
99
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_unit }}</td>
100
- <td style="text-align: center;border: #E9E9E9 solid 1px">楼 层:</td>
101
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_floor }}</td>
102
- </tr>
103
- <tr>
104
- <td style="text-align: center;border: #E9E9E9 solid 1px">门 牌 号 :</td>
105
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_room }}</td>
106
- <td style="text-align: center;border: #E9E9E9 solid 1px">用户性质:</td>
107
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_userproperties }}</td>
108
- </tr>
109
- <tr>
110
- <td style="text-align: center;border: #E9E9E9 solid 1px">备注信息:</td>
111
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_comments }}</td>
112
- <td style="text-align: center;border: #E9E9E9 solid 1px">小区名称:</td>
113
- <td style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_residential_area }}</td>
114
- </tr>
115
- <tr>
116
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px">详细住址:</td>
117
- <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px">{{ paperdata.f_address }}</td>
118
- </tr>
119
- </tbody>
120
- </table>
121
- <table class="table table-striped table-bordered" v-show="paperdata.f_entry_status=='入户'">
122
- <thead>
123
- <tr>
124
- <th colspan="4" style="text-align: center">用户安检概况</th>
125
- </tr>
126
- </thead>
127
- <tbody>
128
- <tr>
129
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
130
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_onsite_time }}</td>
131
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
132
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_offsite_time }}</td>
133
- </tr>
134
- <tr>
135
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
136
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_entry_status }}</td>
137
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">燃气使用:</td>
138
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_usegas }}</td>
139
- </tr>
140
- <tr>
141
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">用户满意度:</td>
142
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">{{
143
- paperdata.f_client_evaluation
144
- }}
145
- </td>
146
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">安检结果:</td>
147
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">{{ ajresult }}</td>
148
- </tr>
149
- <tr>
150
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">备注:</td>
151
- <td colspan="3"
152
- style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
153
- {{ paperdata.f_remarks }}
154
- </td>
155
- </tr>
156
- <tr>
157
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">隐患详情:</td>
158
- <td colspan="3"
159
- style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
160
- <span v-for="deviceCollect in deviceCollects">
161
- <span class="li-font">
162
- {{ deviceCollect.name }}:{{ deviceCollect.value }}&nbsp;&nbsp;&nbsp;
163
- </span>
164
- <br>
165
- <span v-if="deviceCollect.value == '有隐患'">
166
- <lable>
167
- 隐患:
168
- </lable>
169
- <span class="li-font" v-for="val in deviceCollect.devices">
170
- {{ val }}&nbsp;&nbsp;&nbsp;
171
- </span><br>
172
- </span>
173
-
174
- </span>
175
- </td>
176
- </tr>
177
-
178
- </tbody>
179
- </table>
180
- <table class="table table-striped table-bordered" v-show="paperdata.f_entry_status!='入户'">
181
- <thead>
182
- <tr>
183
- <th colspan="4" style="text-align: center">用户安检概况</th>
184
- </tr>
185
- </thead>
186
- <tbody>
187
- <tr>
188
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
189
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_onsite_time }}</td>
190
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
191
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_offsite_time }}</td>
192
- </tr>
193
- <tr>
194
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
195
- <td colspan="2" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">
196
- {{ paperdata.f_entry_status }}
197
- </td>
198
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">
199
- <button-link style="color: black" type="button" class="btn btn-link" @click="showpicture2()">
200
- {{ dev.lname }}
201
- 查看{{ data.f_entry_status }}照片
202
- </button-link>
203
- </td>
204
- </tr>
205
-
206
- </tbody>
207
- </table>
208
- <table class="table table-striped table-bordered" v-show="paperdata.f_entry_status=='入户'">
209
- <thead>
210
- <tr>
211
- <th style="text-align: center">总体安检照片</th>
212
- </tr>
213
- </thead>
214
- <tbody>
215
- <tr>
216
- <td style="margin: auto;text-align: center">
217
- <div class="container" style="max-width: 550px;background: #FFFFFF">
218
- <div class="img" v-for="img in paperdata.f_overall_imgs">
219
- <img-self-safe :src="img.f_overall_path" style="float: left" width="150"
220
- height="200"></img-self-safe>
221
- </div>
222
- </div>
223
-
224
-
225
- </td>
226
-
227
- </tr>
228
- </tbody>
229
- </table>
230
- <table class="table table-striped table-bordered" v-show="paperdata.f_entry_status=='入户'">
231
- <thead>
232
- <tr>
233
- <th style="text-align: center">用户签名照片</th>
234
- </tr>
235
- </thead>
236
- <tbody>
237
- <tr>
238
- <td style="margin: auto;text-align: center">
239
- <div class="container" style="max-width: 500px;background: #FFFFFF">
240
- <div class="img" style="float: none">
241
- <img-self-safe :src="paperdata.f_sign_path" width="486" height="300"></img-self-safe>
242
- </div>
243
- </div>
244
- </td>
245
- </tr>
246
- </tbody>
247
- </table>
248
- <table class="table table-striped table-bordered"
249
- v-show="item.f_recording1_path">
250
- <thead>
251
- <tr>
252
- <th style="text-align: center">录音文件</th>
253
- </tr>
254
- </thead>
255
- <tbody>
256
- <tr>
257
- <td style="margin: auto;text-align: center">
258
- <div class="container" style="max-width: 500px;background: #FFFFFF">
259
- <a class="button_spacing button_search-1"
260
- :download="item.f_user_name+'-'+item.f_check_type+'-'+'录音文件.arm'"
261
- :href="'rs/image/file/'+item.f_recording1_path">录音下载</a>
262
- </div>
263
- </td>
264
- </tr>
265
- </tbody>
266
- </table>
267
- </div>
268
- </div>
269
- <div class style="width: 1%;height: 100%;background-color: #F1F8FF;float: left;"></div>
270
- <div class="col-md-6" style="height: 100%;overflow: scroll">
271
- <div style="width: 95%;margin-left: 5%">
272
- <table class="table table-striped table-bordered" v-for="config in deviceconfig2">
273
- <thead v-show="!(config.checkname!='燃气表'&&paperdata.f_entry_status!='入户')">
274
- <tr>
275
- <th style="text-align: center">{{ config.checkname }}</th>
276
- </tr>
277
- </thead>
278
- <tbody v-show="!(config.checkname!='燃气表'&&paperdata.f_entry_status!='入户')">
279
- <tr v-for="dev in config.items">
280
- <td v-if="dev.type!='text'">
281
- <div class="row">
282
- <div class="col-md-8" style="text-align: center;">
283
- <label>
284
- <button-link type="button" class="btn btn-link" @click="showpicture(config.checkname,dev.lname)"
285
- :style="isred(config.checkname,dev.lname)?'color:red':'color:black'">
286
- {{ dev.lname }}
287
- </button-link>
288
- </label>
289
- </div>
290
- <div class="col-md-4" style="text-align: center">
291
- <label style="font-weight: normal"
292
- v-if="dev.type!='picture'">{{ getDeviceValue(config.checkname, dev.lname) ? getDeviceValue(config.checkname, dev.lname) : '无' }}</label>
293
- <label style="font-weight: normal" v-if="dev.type=='picture'">
294
- <div v-show="getDevicePath(config.checkname,dev.lname)">
295
- <button-link style="color: black" type="button" class="btn btn-link"
296
- @click="showpath(getDevicePath(config.checkname,dev.lname),dev.lname)">查看照片
297
- </button-link>
298
- </div>
299
- <div v-show="!getDevicePath(config.checkname,dev.lname)">无照片</div>
300
- </label>
301
- </div>
302
- </div>
303
- </td>
304
- <td v-if="dev.type==='text'">
305
- <label style="width: 100%;text-align: center">{{ dev.lname }}</label>
306
- </td>
307
- </tr>
308
- </tbody>
309
- </table>
310
- </div>
311
- </div>
312
-
313
- </div>
314
- </div>
315
- </div>
316
- <modal :show.sync="imgshow" v-ref:modal backdrop="true">
317
- <header slot="modal-header" class="modal-header">
318
- {{ picturename }}
319
- </header>
320
- <article slot="modal-body" class="modal-body">
321
- <div class="from-group">
322
- <div class="row">
323
- <div class="col-md-6">
324
- <img-self-safe v-if="showimg1" :src="showimg1" width="240" height="300"></img-self-safe>
325
- </div>
326
- <div class="col-md-6">
327
- <img-self-safe v-if="showimg2" :src="showimg2" width="240" height="300"></img-self-safe>
328
- </div>
329
- <div class="col-md-6" v-for="item in otherDarginShowImgs">
330
- <img-self-safe v-if="item.path" :src="item.path" width="240" height="300"></img-self-safe>
331
- </div>
332
- </div>
333
- </div>
334
- </article>
335
- <footer slot="modal-footer" class="modal-footer" v-show="false">
336
- <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
337
- </footer>
338
- </modal>
339
- <modal :show.sync="imgshow2" v-ref:modal backdrop="true">
340
- <header slot="modal-header" class="modal-header">
341
- {{ paperdata.f_entry_status }}照片
342
- </header>
343
- <article slot="modal-body" class="modal-body">
344
- <div class="from-group">
345
- <div class="row">
346
- <div class="col-md-6">
347
- <img-self-safe v-if="this.paperdata.f_entry_status=='到访不遇'" :src="showimg3" width="300"
348
- height="400"></img-self-safe>
349
- </div>
350
- <div class="col-md-6">
351
- <img-self-safe v-if="this.paperdata.f_entry_status=='拒检'" :src="showimg4" width="300"
352
- height="400"></img-self-safe>
353
- </div>
354
- </div>
355
- </div>
356
- </article>
357
- <footer slot="modal-footer" class="modal-footer" v-show="false">
358
- <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
359
- </footer>
360
- </modal>
361
- </template>
362
-
363
- <script>
364
- import ObjConfig from '../../../utils/GerJsonObjectConfig'
365
- import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
366
- import Radio from 'vue-client/src/vue-strap/src/radioBtn'
367
- import Vue from 'vue'
368
- import * as Util from '../../Util'
369
- import {jsonSort} from '../../../utils/LdapHelper'
370
- import {HttpResetClass} from "vue-client";
371
-
372
- let asyncReady = async function (self) {
373
- // 获取配置信息
374
- try {
375
- let res = await new HttpResetClass().load('post', 'rs/sql/tel_singleTable_OrderBy', {
376
- data: {
377
- items: 'f_dir',
378
- tablename: 't_organization',
379
- condition: `id = '${self.item.f_filialeid}'`,
380
- orderitem: 'id'
381
- }
382
- })/*.then(res=>{*/
383
- //tag
384
- //tag)
385
- if (!res.data[0].f_dir) {
386
- self.$showMessage("该公司无组织目录,无法获取配置文件,请联系管理员确认")
387
- } else {
388
- //this.f_dir=res.data[0].f_dir
389
- try {
390
- let res1 = await new HttpResetClass().load('GET', `/safecheck/rs/vue/DevicesConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {}, {
391
- resolveMsg: null,
392
- rejectMsg: null
393
- })/*.then(res=>{*/
394
- //tag
395
- //this.safeConfig["民用配置项"]=Object.assign({},res.data)
396
- Vue.config.safecheck.DevicesConfig = res1.data
397
- /*})*/
398
- let res2 = await new HttpResetClass().load('GET', `/safecheck/rs/vue/DevicesSetConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {}, {
399
- resolveMsg: null,
400
- rejectMsg: null
401
- })/*.then(res=>{*/
402
- //tag
403
- //this.safeConfig["非民用配置项"]=Object.assign({},res.data)
404
- Vue.config.safecheck.DevicesSetConfig = res2.data
405
- /*}).then(res=> {
406
- })*/
407
-
408
- } catch (e) {
409
-
410
- }
411
- }
412
- } catch (error) {
413
- // 忽略704,文件找不到异常R
414
- if (error.status !== 704) {
415
- throw error
416
- }
417
- }
418
- }
419
- export default {
420
- title: '安检单',
421
- props: ['f_plan_id', 'item', 'role'],
422
- data() {
423
- return {
424
- data: {
425
- f_devices: [],
426
- f_defect_content: ''
427
- },
428
- paperdata: {},
429
- picturename: '隐患照片',
430
- defectDevice: {},
431
- hasDevice: false,
432
- deviceCollect: {},
433
- deviceCollects: [],
434
- isshow: false,
435
- ajresult: '',
436
- loading: true,
437
- imgshow: false,
438
- imgshow2: false,
439
- isUpload: false,
440
- livedispose: '',
441
- showimg1: '',
442
- showimg2: '',
443
- showimg3: '',
444
- showimg4: '',
445
- hiddenDangerImgNumber: 0, //配置项中隐患照片数
446
- otherDarginShowImgs: [],//其他隐患图片
447
- startClick: false, //开始安检按钮是否可点击
448
- isStrat: false, //是否开始安检
449
- checkResult: {},//查询结果
450
- newcheckResult: {},
451
- timer: null,
452
- showModal: false,
453
- pic_to_be_viewed: '',
454
- showBack: true,
455
- devices: [],
456
- devicesAll: [],
457
- configAJ: [],
458
- configRQ: [],
459
- deviceconfig: {},
460
- deviceconfig2: [],
461
- f_devices: [],
462
- config: {
463
- "燃气表": {
464
- "checkmust": true,
465
- "index": 1,
466
- "items":{
467
- //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
468
- "气表表号":{"index":1,"type":"string","readonly":true},
469
- "气表型号":{"index":2,"type":"string","readonly":true},
470
- "气表品牌":{"index":3,"type":"string","readonly":true},
471
- "气表类型":{"index":4,"type":"string","readonly":true},
472
- "进气方向":{"index":5,"type":"selector","options":[{"data":"左表","isdefault":false},{"data":"右表","isdefault":false}],"checkmust": true},
473
- "初始表底":{"index":6,"type":"number","isshow":false,"readonly":true},
474
- "上期表读数":{"index":7,"type":"number","readonly":true,isshow:false},
475
- "累购气量":{"index":8,"type":"number","readonly":true},
476
- "累购金额":{"index":8,"type":"number","readonly":true},
477
- "已用气量":{"index":9,"type":"number","checkmust": false},//基表数
478
- "已用金额":{"index":9,"type":"number","checkmust": false},
479
- "剩余气量":{"index":10,"type":"number","checkmust": false},//累购-已用
480
- //显示屏数 --实际剩余气量
481
- "剩余金额":{"index":10,"type":"number","checkmust": false},
482
- "气量异常差值":{"index":11,"type":"number","readonly": true},
483
- "金额异常差值":{"index":11,"type":"number","readonly": true},
484
- "表箱号":{"index":12,"type":"string","readonly": true}
485
- }
486
- // 注意,配置项的index必须与上面的固定配置保持'顺序'
487
- }
488
- },
489
- //金额
490
- config2: {
491
- "燃气表": {
492
- "checkmust": true,
493
- "index": 1,
494
- "items":{
495
- //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
496
- "气表表号":{"index":1,"type":"string","readonly":true},
497
- "气表型号":{"index":2,"type":"string","readonly":true},
498
- "气表品牌":{"index":3,"type":"string","readonly":true},
499
- "气表类型":{"index":4,"type":"string","readonly":true},
500
- "进气方向":{"index":5,"type":"selector","options":[{"data":"左表","isdefault":false},{"data":"右表","isdefault":false}],"checkmust": true},
501
- "初始表底":{"index":6,"type":"number","isshow":false,"readonly":true},
502
- "上期表读数":{"index":7,"type":"number","readonly":true,isshow:false},
503
- "累购气量":{"index":8,"type":"number","readonly":true},
504
- "累购金额":{"index":8,"type":"number","readonly":true},
505
- "已用气量":{"index":9,"type":"number","checkmust": false},//基表数
506
- "已用金额":{"index":9,"type":"number","checkmust": false},
507
- "剩余气量":{"index":10,"type":"number","checkmust": false},//累购-已用
508
- //显示屏数 --实际剩余气量
509
- "剩余金额":{"index":10,"type":"number","checkmust": false},
510
- "气量异常差值":{"index":11,"type":"number","readonly": true},
511
- "金额异常差值":{"index":11,"type":"number","readonly": true},
512
- "表箱号":{"index":12,"type":"string","readonly": true}
513
- }
514
- }
515
- },
516
- }
517
- },
518
- components: {
519
- RadioGroup,
520
- Radio,
521
- },
522
- computed: {
523
- isRecodrDownloadBtn(){
524
- // 投诉单下派还是处理
525
- let res = this.$appdata.getSingleValue('无限制录音');
526
- if (res == 'true'){
527
- return true;
528
- }else {
529
- return false;
530
- }
531
- },
532
- selector: {
533
- get() {
534
- return 'paper-state'
535
- },
536
- set(val) {
537
- if (this.isStrat) {
538
- //;
539
- this.$goto(val, {userinfo: this.data}, 'paper-router')
540
- } else {
541
- this.$showMessage('未开始安检!')
542
- }
543
- }
544
- },
545
- actionEnabled: {
546
- get() {
547
- return this.role == 'inspect'
548
- }
549
- }
550
- },
551
- methods: {
552
- devicesCollect() {
553
- //tag
554
- //tag)
555
- //tag)
556
- //tag
557
-
558
- this.deviceCollects = []
559
- let checkResult = '正常'
560
- this.result = '正常'
561
- let codata = JSON.parse(JSON.stringify(this.data))
562
- //tag)
563
- for (let device in this.data) {
564
- let f_device_type
565
- if (device.startsWith("device")) {
566
- for (let item in this.data[device]) {
567
- if (this.data[device].length > 1) {
568
- let j = Number.parseInt(item) + 1
569
- f_device_type = `${this.data[device][item].f_device_type}${j}`
570
- } else {
571
- f_device_type = this.data[device][item].f_device_type
572
- }
573
- // //tag
574
- let deviceInfos = []
575
- for (let i in this.data[device][item].f_items) {
576
- let defects = ''
577
- let items = this.data[device][item].f_items[i]
578
- if ((items.type === 'selector' || items.type === 'radio' || items.type === 'checkbox') && items.f_item_value != null && items.f_item_value instanceof Array) {
579
- for (let i in items.f_item_value) {
580
- let f_item_value = items.f_item_value[i]
581
-
582
- //tag)
583
- //tag)
584
- //tag)
585
- //tag)
586
- if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name]) {
587
- continue
588
- }
589
- let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
590
- for (let option in options) {
591
- if (options[option].data == f_item_value) {
592
- if (options[option].isdefect == 'true' || options[option].isdefect == true) {
593
- checkResult = '有隐患'
594
- this.result = '有隐患'
595
- defects = `${defects}:${options[option].data}/`
596
- // let level = options[option].level
597
- }
598
- }
599
- }
600
- //tag)
601
- }
602
- if (defects != '') {
603
- deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
604
- }
605
- } else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0] ) {
606
- checkResult = '有隐患'
607
- this.result = '有隐患'
608
- deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
609
- } else if (items.f_item_name == '金额异常差值') {
610
- var deviation = this.$appdata.getSingleValue('金额异常差值允许误差')
611
- //tag
612
- if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
613
- if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
614
- checkResult = '有隐患'
615
- this.result = '有隐患'
616
- deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
617
- }
618
- }
619
- } else if (items.f_item_name == '气量异常差值') {
620
- var deviation = this.$appdata.getSingleValue('气量异常差值允许误差')
621
- //tag
622
- if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
623
- if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
624
- checkResult = '有隐患'
625
- this.result = '有隐患'
626
- deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
627
- }
628
- }
629
- }
630
- //tag)
631
- //tag
632
- //tag
633
- if (items.type === 'selector') {
634
- items.selected = []
635
- } else if (items.type === 'inputSelector') {
636
- items.selected = ''
637
- }
638
- }
639
-
640
-
641
- //tag
642
- this.$set('deviceCollect.name', f_device_type)
643
- this.$set('deviceCollect.value', checkResult)
644
- this.$set('deviceCollect.devices', deviceInfos)
645
- //tag)
646
- if (this.deviceCollect.name) {
647
- //tag
648
- this.deviceCollects.push(JSON.parse(JSON.stringify(this.deviceCollect)))
649
- }
650
-
651
- checkResult = '正常'
652
- this.deviceCollect = {}
653
- }
654
- }
655
- }
656
- if (this.deviceCollects.length > 0) {
657
- this.hasDevice = true
658
- }
659
- this.ajresult = JSON.parse(this.data.f_defect_content).result
660
- this.showimg3 = this.data.f_noanswer_path
661
- this.showimg4 = this.data.f_rejectcheck_path
662
- this.paperdata = this.data
663
- this.loading = false
664
- },
665
- imgclose() {
666
- this.imgshow = false
667
- },
668
- putDevices() {
669
- ////tag
670
- this.$set('data.approve', "true")
671
- this.$set('data.writeback', "false")
672
- if (Vue.config.safecheck.ApproveConfig != undefined) {
673
- if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
674
- this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
675
- }
676
- if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
677
- this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
678
- }
679
- if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
680
- this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
681
- }
682
- if(Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
683
- if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
684
- this.hiddenDangerImgNumber = 3
685
- }else {
686
- this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
687
- }
688
- }
689
- }
690
- //tag
691
-
692
- //tag)
693
- if (!this.item.f_safecheck_type) {
694
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度普检'][this.item.f_check_type]])
695
- } else {
696
- if (Vue.config.safecheck.DevicesConfig != undefined)
697
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
698
- }
699
- //遍历安检项配置
700
- for (let i in this.config) {
701
- //取得安检项索引值
702
- let n = this.config[i].index
703
- this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
704
- this.$set('data.' + 'device' + n, [])
705
- let items = []
706
- for (let it in this.config[i].items) {
707
- //赋值下拉选项
708
- if (this.config[i].items[it].type == 'selector') {
709
- for (let op in this.config[i].items[it].options)
710
- if (this.config[i].items[it].options[op].isdefault == true) {
711
- items.push({
712
- f_defect_level: this.config[i].items[it].options[op].level,
713
- f_is_defect: this.config[i].items[it].options[op].isdefect,
714
- f_item_name: it,
715
- f_item_value: this.config[i].items[it].options[op].data,
716
- f_path: "",
717
- type: "selector"
718
- })
719
- }
720
- }
721
- }
722
- n = n + 1
723
- }
724
-
725
- },
726
- showpath(val1, val2) {
727
- //tag
728
- //tag
729
- if (val1) {
730
- this.showimg1 = val1
731
- this.picturename = val2
732
- this.imgshow = true
733
- }
734
- },
735
- showpicture(val1, val2) {
736
- //tag
737
- if (val2 == '气量异常差值' || val2 == '金额异常差值') {
738
- return
739
- }
740
- for (let i = 0; i < this.devicesAll.length; i++) {
741
- for (let j = 0; j < this.devicesAll[i].length; j++) {
742
- if (this.devicesAll[i][j].f_device_type == val1) {
743
- for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
744
- if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
745
- if (!this.devicesAll[i][j].f_items[k].f_is_defect) {
746
- return false
747
- } else {
748
- this.showimg1 = this.devicesAll[i][j].f_items[k].f_path
749
- this.showimg2 = this.devicesAll[i][j].f_items[k].f_second_path
750
- this.otherDarginShowImgs = []
751
- for (let l = 0; l < this.hiddenDangerImgNumber; l++) {
752
- let img = {path:''}
753
- if (this.devicesAll[i][j].f_items[k]['f_p' + (l+1)+'_path']) {
754
- img.path = this.devicesAll[i][j].f_items[k]['f_p' + (l+1)+'_path'] + '?' + Math.random()
755
- this.otherDarginShowImgs.push(img)
756
- }
757
- }
758
- this.picturename = '隐患照片'
759
- this.imgshow = true
760
- return true
761
- }
762
- }
763
- }
764
-
765
- }
766
- }
767
- }
768
- },
769
- isred(val1, val2) {
770
- //tag
771
- if (val2 == '气量异常差值' || val2 == '金额异常差值') {
772
- return
773
- }
774
- for (let i = 0; i < this.devicesAll.length; i++) {
775
- for (let j = 0; j < this.devicesAll[i].length; j++) {
776
- if (this.devicesAll[i][j].f_device_type == val1) {
777
- for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
778
- if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
779
- if (!this.devicesAll[i][j].f_items[k].f_is_defect) {
780
- return false
781
- } else {
782
- return true
783
- }
784
- }
785
- }
786
-
787
- }
788
- }
789
- }
790
- },
791
- showpicture2() {
792
- this.imgshow2 = true
793
- },
794
- getDeviceValue(val1, val2) {
795
- let aa = ''
796
- for (let i = 0; i < this.devicesAll.length; i++) {
797
- for (let j = 0; j < this.devicesAll[i].length; j++) {
798
- if (this.devicesAll[i][j].f_device_type == val1) {
799
- for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
800
- if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
801
- if (this.devicesAll[i][j].f_items[k].f_item_lists[0]) {
802
- for (let l = 0; l < this.devicesAll[i][j].f_items[k].f_item_lists.length; l++) {
803
- aa += this.devicesAll[i][j].f_items[k].f_item_lists[l].f_item_value + ' '
804
- }
805
- return aa
806
- }
807
- }
808
- }
809
-
810
- }
811
- }
812
- }
813
-
814
- },
815
- getDevicePath(val1, val2) {
816
- for (let i = 0; i < this.devicesAll.length; i++) {
817
- for (let j = 0; j < this.devicesAll[i].length; j++) {
818
- if (this.devicesAll[i][j].f_device_type == val1) {
819
- for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
820
- if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
821
- return this.devicesAll[i][j].f_items[k].f_path
822
- }
823
- }
824
-
825
- }
826
- }
827
- }
828
-
829
- },
830
- getDeviceAll() {
831
- let keyall = Object.keys(this.data)
832
- for (let i = 0; i < keyall.length; i++) {
833
- //tag)
834
- if (keyall[i].startsWith('device') && keyall[i] != 'deviceundefined') {
835
- this.devicesAll.push(this.data[keyall[i]])
836
- //tag
837
- }
838
- }
839
- //tag
840
- //tag)
841
- this.devicesCollect()
842
-
843
- },
844
-
845
- back() {
846
- if (this.role == 'inspect') {
847
- if (!this.isStrat) {
848
- this.$back()
849
- return
850
- } else {
851
- this.savePaper(true).then(() => {
852
- this.$back()
853
- this.isStrat = false
854
- })
855
- }
856
- } else {
857
- this.$back()
858
- }
859
- },
860
- checkIsStart() {
861
- alert('asdad')
862
- return
863
- },
864
-
865
- viewPic(fileName) {
866
- //tag
867
- if (this.role == 'view') {
868
- if (!fileName.endsWith('nopic.png')) {
869
- this.pic_to_be_viewed = fileName
870
- this.showModal = true
871
- }
872
- } else {
873
- HostApp.viewPic(fileName)
874
- }
875
- },
876
- tick() {
877
- this.timer = null
878
- this.data.f_offsite_time = Util.toStandardTimeString()
879
- this.timer = window.setTimeout(this.tick, 1000)
880
- },
881
- getRepairState() {
882
- let repaired = true
883
- this.data.f_defects.forEach((defect) => {
884
- repaired = repaired & (defect.f_ratification == '已处理')
885
- })
886
- return repaired
887
- },
888
- verifyRepairDefects() {
889
- this.data.f_repair_date = Util.toStandardTimeString()
890
- this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
891
- },
892
- genuineSave(saveOnly) {
893
- HostApp.__this__.save(saveOnly)
894
- if (!saveOnly)
895
- HostApp.__this__.disableTimer()
896
- HostApp.__callback__ = null
897
- HostApp.__this__ = null
898
- },
899
- setUrgency() {
900
- this.data.f_defect_urgency = 'Z'
901
- let that = this
902
- this.data.f_defects.forEach(function (defect) {
903
- if (that.data.f_defect_urgency > defect.f_defect_level.charAt(0))
904
- that.data.f_defect_urgency = defect.f_defect_level.charAt(0)
905
- })
906
- if (this.data.f_defect_urgency == 'Z')
907
- this.data.f_defect_urgency = null
908
- },
909
- disableTimer() {
910
- if (this.timer) {
911
- window.clearTimeout(this.timer)
912
- this.timer = null
913
- }
914
- },
915
- loaded(paper) {
916
- if (!paper.hasOwnProperty('id')) {
917
- this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
918
- this.init()
919
- } else {
920
- Util.booleanFilter(paper)
921
- HostApp.__this__.$set('data', paper)
922
- HostApp.__this__.$goto('paper-state', {}, 'paper-router')
923
- // 如果打回重检则重新计时
924
- //tag
925
- if (HostApp.__this__.role == 'inspect'
926
- && HostApp.__this__.data.f_approved
927
- && HostApp.__this__.data.f_approved == '打回') {
928
- //tag
929
- HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
930
- HostApp.__this__.tick()
931
- }
932
- }
933
- HostApp.__callback__ = null
934
- HostApp.__this__ = null
935
- },
936
- S4() {
937
- return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
938
- },
939
- init() {
940
- this.data.f_noplan_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
941
- this.data.ename = Vue.user.ename
942
- this.data.f_outlets = Vue.user.f_parentname
943
- this.data.f_meetunit = Vue.user.orgpathnames
944
- this.data.orgpathstr = Vue.user.orgpathstr
945
- this.data.f_check_item_id = this.item.id
946
- this.data.f_check_plan_id = this.f_plan_id
947
- this.data.f_checker_id = Vue.user.id
948
- this.data.f_checker_name = Vue.user.name
949
- this.data.f_check_type = this.item.f_user_type
950
- this.data.f_subcompany = this.item.f_subcompany
951
- this.data.f_approved = this.item.f_approved
952
- this.data.f_repair_approved = this.item.f_repair_approved
953
- this.data.f_no_checkplan = this.item.f_no_checkplan
954
- this.data.f_approved = this.item.f_approved
955
- this.data.f_filialeid = this.item.f_filialeid
956
- this.data.f_orgstr = this.item.f_orgstr
957
- this.data.version = this.item.version
958
- this.$set('data.f_meters', this.item.f_plan_meters)
959
- this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
960
- // 安检状态
961
- this.$set('data.f_entry_status', '入户')
962
- this.$set('data.f_usegas', '已使用')
963
- this.$set('data.f_state', this.item.f_state)
964
- // 用户信息
965
- this.$set('data.f_user_name', this.item.f_user_name)
966
- this.$set('data.f_user_phone', this.item.f_user_phone)
967
- this.$set('data.f_userinfoid', this.item.f_userinfoid)
968
- this.$set('data.f_address', this.item.f_address)
969
- this.$set('data.f_card_id', this.item.f_card_id)
970
- this.$set('data.f_area', this.item.f_area)
971
- this.$set('data.f_street', this.item.f_street)
972
- this.$set('data.f_room', this.item.f_room)
973
- this.$set('data.f_building', this.item.f_building)
974
- this.$set('data.f_unit', this.item.f_unit)
975
- this.$set('data.f_floor', this.item.f_floor)
976
- this.$set('data.f_residential_area', this.item.f_residential_area)
977
- this.$set('data.f_idnumber', this.item.f_idnumber)
978
- this.$set('data.f_comments', this.item.f_comments)
979
- this.$set('data.f_userproperties', this.item.f_userproperties)
980
- // 处置方式
981
- this.$set('data.f_no_gas_device', false)
982
- this.$set('data.f_close_valve', false)
983
- this.$set('data.f_unload_battery', false)
984
- if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
985
- this.data.f_check_item_id = this.data.f_noplan_item_id
986
- }
987
-
988
- //房屋结构
989
- // this.$set('data.f_room_style', '多层')
990
- //供暖方式
991
- // this.$set('data.f_heating_style', '热力公司集中供暖')
992
- if (this.item.f_plan_meters) {
993
- for (let de in this.devices) {
994
- this.$set('data.device' + this.devices[de].n, [])
995
- for (let i = 0; i < this.item.f_plan_meters.length; i++) {
996
- if (this.item.f_plan_meters[i].f_meter_type) {
997
- if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
998
- delete this.config['燃气表']['items']['累计购气量']
999
- this.data['device' + this.devices[de].n].push({
1000
- f_device_type: "燃气表",
1001
- f_items: [{
1002
- f_defect_level: null,
1003
- f_device_id: "",
1004
- f_is_defect: "",
1005
- f_item_name: "表品牌",
1006
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
1007
- f_path: "",
1008
- type: "string"
1009
- },
1010
- {
1011
- f_defect_level: null,
1012
- f_device_id: "",
1013
- f_is_defect: "",
1014
- f_item_name: "位置",
1015
- f_item_value: this.item.f_plan_meters[i].f_weizhi,
1016
- f_path: "",
1017
- type: "selector"
1018
- },
1019
- {
1020
- f_defect_level: null,
1021
- f_device_id: "",
1022
- f_is_defect: "",
1023
- f_item_name: "表号",
1024
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
1025
- f_path: "",
1026
- type: "number"
1027
- },
1028
- {
1029
- f_defect_level: null,
1030
- f_device_id: "",
1031
- f_is_defect: "",
1032
- f_item_name: "表封号",
1033
- f_item_value: this.item.f_plan_meters[i].f_metertitles,
1034
- f_path: "",
1035
- type: "number"
1036
- },
1037
- {
1038
- f_defect_level: null,
1039
- f_device_id: "",
1040
- f_is_defect: "",
1041
- f_item_name: "表型号",
1042
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1043
- f_path: "",
1044
- type: "selector"
1045
- },
1046
- {
1047
- f_defect_level: null,
1048
- f_device_id: "",
1049
- f_is_defect: "",
1050
- f_item_name: "表底数",
1051
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1052
- f_path: "",
1053
- type: "number"
1054
- }
1055
- ]
1056
- })
1057
- } else if (this.devices[de].device == "燃气表") {
1058
- delete this.config['燃气表']['items']['表底数']
1059
- this.data['device' + this.devices[de].n].push({
1060
- f_device_type: "燃气表",
1061
- f_items: [{
1062
- f_defect_level: null,
1063
- f_device_id: "",
1064
- f_is_defect: "",
1065
- f_item_name: "表品牌",
1066
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
1067
- f_path: "",
1068
- type: "string"
1069
- },
1070
- {
1071
- f_defect_level: null,
1072
- f_device_id: "",
1073
- f_is_defect: "",
1074
- f_item_name: "位置",
1075
- f_item_value: this.item.f_plan_meters[i].f_weizhi,
1076
- f_path: "",
1077
- type: "selector"
1078
- },
1079
- {
1080
- f_defect_level: null,
1081
- f_device_id: "",
1082
- f_is_defect: "",
1083
- f_item_name: "表号",
1084
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
1085
- f_path: "",
1086
- type: "number"
1087
- },
1088
- {
1089
- f_defect_level: null,
1090
- f_device_id: "",
1091
- f_is_defect: "",
1092
- f_item_name: "表封号",
1093
- f_item_value: this.item.f_plan_meters[i].f_metertitles,
1094
- f_path: "",
1095
- type: "number"
1096
- },
1097
- {
1098
- f_defect_level: null,
1099
- f_device_id: "",
1100
- f_is_defect: "",
1101
- f_item_name: "表型号",
1102
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1103
- f_path: "",
1104
- type: "selector"
1105
- },
1106
- {
1107
- f_defect_level: null,
1108
- f_device_id: "",
1109
- f_is_defect: "",
1110
- f_item_name: "累计购气量",
1111
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1112
- f_path: "",
1113
- type: "number"
1114
- }
1115
- ]
1116
- })
1117
- }
1118
- }
1119
- }
1120
- }
1121
- }
1122
-
1123
- this.$goto('paper-state', {}, 'paper-router')
1124
- },
1125
- extend(initalObj, finalObj) {
1126
- var obj = finalObj || {};
1127
- for (var i in initalObj) {
1128
- var prop = initalObj[i];
1129
-
1130
- // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1131
- if (prop === obj) {
1132
- continue;
1133
- }
1134
-
1135
- if (typeof prop === 'object') {
1136
- if (obj[i]) {
1137
- this.extend(obj[i], prop)
1138
- } else {
1139
- obj[i] = prop;
1140
- }
1141
- }
1142
- }
1143
- return obj;
1144
- },
1145
- //获取当前时间
1146
- getNowFormatDate() {
1147
- var date = new Date();
1148
- var seperator1 = "-";
1149
- var seperator2 = ":";
1150
- var month = date.getMonth() + 1;
1151
- var strDate = date.getDate();
1152
- if (month >= 1 && month <= 9) {
1153
- month = "0" + month;
1154
- }
1155
- if (strDate >= 0 && strDate <= 9) {
1156
- strDate = "0" + strDate;
1157
- }
1158
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
1159
- + " " + date.getHours() + seperator2 + date.getMinutes()
1160
- + seperator2 + date.getSeconds();
1161
- return currentdate;
1162
- }
1163
- },
1164
- ready() {
1165
- this.putDevices()
1166
- if (this.item.f_state != '未检' || this.item.f_no_checkplan == '无计划安检') {
1167
- if (this.role != 'inspect') {
1168
- let that = this
1169
- let id
1170
- if (this.role == 'view') {
1171
- id = this.item.id
1172
- } else if (this.role == 'androidview') {
1173
- id = this.item.f_paper_id
1174
- }
1175
- this.$resetpost(`rs/path/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
1176
- //tag
1177
- if (respanse.data.length != 0) {
1178
- // 包含 其它 特殊处理的数组
1179
- // 对应位置
1180
-
1181
- //tag
1182
-
1183
- that.data = Object.assign(that.data, respanse.data[0])
1184
- if (respanse.data[0].f_devices) {
1185
- for (let da in that.devices) {
1186
- that.$set('data.device' + that.devices[da].n, [])
1187
- }
1188
- respanse.data[0].f_devices.forEach((item) => {
1189
- for (let de in that.devices) {
1190
- if (that.devices[de].device == item.f_device_type) {
1191
- item.f_items.forEach((f_item) => {
1192
- //tag
1193
- //tag
1194
- let itemValues = []
1195
- f_item.f_item_lists.forEach((tempItem) => {
1196
- //tag
1197
- if (tempItem.f_item_value !== 'null') {
1198
- itemValues.push(tempItem.f_item_value)
1199
- }
1200
- })
1201
- f_item.f_item_value = itemValues
1202
- })
1203
- that.data['device' + that.devices[de].n].push({
1204
- f_device_type: item.f_device_type,
1205
- f_items: item.f_items
1206
- })
1207
- }
1208
- }
1209
- })
1210
- }
1211
- Util.replaceFalse(that.data)
1212
- Util.booleanFilter(that.data)
1213
- if (this.role == 'view') {
1214
- Util.ratifyPics(that.data)
1215
- Util.ratifyPics(that.picture)
1216
- } else {
1217
- Util.androidRatifyPics(that.data, this.$androidUtil.getProxyUrl())
1218
- }
1219
- //tag
1220
- }
1221
- // this.$goto('paper-message-blank', {userinfo:this.data,devices:this.devices,config:this.config,role:this.role}, 'self')
1222
- this.isshow = true
1223
- asyncReady(this).then(() => {
1224
- //tag
1225
- //tag)
1226
- if (this.data.f_check_type == '民用') {
1227
- this.deviceconfig = Vue.config.safecheck.DevicesConfig
1228
- if (typeof this.deviceconfig==='string'){
1229
- this.deviceconfig=JSON.parse(this.deviceconfig)
1230
- }
1231
- //tag)
1232
- } else if (this.data.f_check_type == '非民用') {
1233
- this.deviceconfig = Vue.config.safecheck.DevicesSetConfig
1234
- if (typeof this.deviceconfig==='string'){
1235
- this.deviceconfig=JSON.parse(this.deviceconfig)
1236
- }
1237
- //tag)
1238
- }
1239
- if (this.data.f_collection_type == '按金额') {
1240
- let aaa = Object.assign({}, this.config2["燃气表"].items, this.deviceconfig["燃气表"].items)
1241
- this.deviceconfig["燃气表"].items = aaa
1242
- //this.deviceconfig["燃气表"]=this.config2["燃气表"]
1243
- //tag)
1244
- } else {
1245
- let aaa = Object.assign({}, this.config["燃气表"].items, this.deviceconfig["燃气表"].items)
1246
- this.deviceconfig["燃气表"].items = aaa
1247
- //tag)
1248
- }
1249
- this.deviceconfig2 = ObjConfig.getObjConfig(this.deviceconfig)
1250
- this.deviceconfig2[0].items = jsonSort(this.deviceconfig2[0].items, "index")
1251
- this.deviceconfig2[1].items = jsonSort(this.deviceconfig2[1].items, "index")
1252
- this.deviceconfig2 = jsonSort(this.deviceconfig2, "index")
1253
- this.getDeviceAll()
1254
-
1255
-
1256
- })
1257
- }
1258
- ).catch(
1259
- (respanse) => {
1260
- //tag
1261
- alert('查找安检单失败')
1262
- })
1263
- }
1264
- }
1265
-
1266
- },
1267
- watch: {
1268
- // 'isUpload'(val){
1269
- // //tag
1270
- // }
1271
- },
1272
- destroyed() {
1273
- //tag
1274
- this.disableTimer()
1275
- }
1276
- }
1277
-
1278
- </script>
1279
- <style scoped>
1280
- .table-striped thead tr th {
1281
- background-color: rgb(223, 237, 251);
1282
- padding: 10px;
1283
- border-left: solid 0px #dae4f2;
1284
- border-top: solid 1px #dae4f2;
1285
- border-right: none;
1286
- border-bottom: none;
1287
- text-align: center;
1288
- color: black;
1289
- }
1290
- </style>
1
+ <style scoped id="printStyle">
2
+ .img {
3
+ border: 1px solid #9773ed;
4
+ width: auto;
5
+ height: auto;
6
+ float: left;
7
+ text-align: center;
8
+ margin: 6px;
9
+ }
10
+
11
+ img {
12
+ margin: 6px;
13
+ }
14
+
15
+
16
+ .container {
17
+ margin: 10px auto;
18
+ width: 80%;
19
+ height: auto;
20
+ }
21
+
22
+ div::-webkit-scrollbar {
23
+ width: 0 !important;
24
+ height: 0 !important;
25
+ }
26
+
27
+ div {
28
+ -ms-overflow-style: none;
29
+ overflow: -moz-scrollbars-none;
30
+ }
31
+
32
+ .divmask {
33
+ pointer-events: none;
34
+ }
35
+
36
+ .app-header {
37
+ border-radius: 50%;
38
+ background: rgba(73, 158, 223, 0.4);
39
+ color: #FFF;
40
+ padding: 20px;
41
+ text-align: center;
42
+ font-size: 1.2em;
43
+ z-index: 10;
44
+ opacity: 0.5;
45
+ bottom: 50px;
46
+ margin-top: -20px;
47
+ position: absolute;
48
+ top: 10%;
49
+ right: 2%;
50
+ height: 8%;
51
+ }
52
+ </style>
53
+
54
+ <template>
55
+ <div class="basic-main" style="height: 100%">
56
+ <div class="page-header app-header auto" style="padding: 15px;margin-right: 10px;right: 0%;height: 7%">
57
+ <div @click="back()">
58
+ <img src="../../../assets/back.png" style="margin: 0px"/>
59
+ </div>
60
+ <div style="margin-top:20px">
61
+ <button class="button_search" @click="updateSpotCheck('合格')">合格</button>
62
+ </div>
63
+ <div style="margin-top:20px">
64
+ <button class="button_search" @click="NoSpotCheck">不合格</button>
65
+ </div>
66
+ </div>
67
+ <work-busy :is-busy="loading"></work-busy>
68
+ <div class="container-fluid" style="overflow: scroll">
69
+ <div class="row">
70
+ <div class="col-md-5" style="margin-right: 2%;margin-left: 2%;height: 100%;overflow: scroll">
71
+ <div style="width: 100%;margin: auto">
72
+ <table class="table table-striped table-bordered" style="margin-top: 40px"
73
+ v-show="paperdata.f_entry_status=='入户'">
74
+ <thead>
75
+ <tr>
76
+ <th colspan="4" style="text-align: center">用户安检概况</th>
77
+ </tr>
78
+ </thead>
79
+ <tbody>
80
+ <tr>
81
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">到达时间:</td>
82
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_onsite_time }}</td>
83
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">离开时间:</td>
84
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_offsite_time }}</td>
85
+ </tr>
86
+ <tr>
87
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
88
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_entry_status }}</td>
89
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">燃气使用:</td>
90
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_usegas }}</td>
91
+ </tr>
92
+ <tr>
93
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">备注:</td>
94
+ <td colspan="3"
95
+ style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
96
+ {{ paperdata.f_repair_approved_note }}
97
+ </td>
98
+ </tr>
99
+ </tbody>
100
+ </table>
101
+ <table class="table table-striped table-bordered" style="margin-top: 35px"
102
+ v-show="paperdata.f_entry_status=='入户'">
103
+ <thead>
104
+ <tr>
105
+ <th style="text-align: center">总体安检照片</th>
106
+ </tr>
107
+ </thead>
108
+ <tbody>
109
+ <tr>
110
+ <td style="margin: auto;text-align: center">
111
+ <div class="container" style="max-width: 550px;background: #FFFFFF">
112
+ <div class="img" v-for="img in paperdata.f_overall_imgs">
113
+ <img-self-plus :list="paperdata.f_overall_imgs " :src="img.f_overall_path" style="float: left"
114
+ width="150"
115
+ height="200"></img-self-plus>
116
+ </div>
117
+ </div>
118
+
119
+
120
+ </td>
121
+
122
+ </tr>
123
+ </tbody>
124
+ </table>
125
+ <table class="table table-striped table-bordered" style="width: 100%"
126
+ v-show="paperdata.f_entry_status=='入户' && (paperdata.f_sign_path || f_user_path) ">
127
+ <thead>
128
+ <tr>
129
+ <th style="text-align: center">用户签名照片</th>
130
+ </tr>
131
+ </thead>
132
+ <tbody>
133
+ <tr>
134
+ <td style="margin: auto;text-align: center" v-if="paperdata.f_sign_path">
135
+ <div class="container" style="max-width: 500px;background: #FFFFFF">
136
+ <div class="img" style="float: none">
137
+ <img-self-plus :src="'rs/image/file/'+paperdata.f_sign_path" width="200"
138
+ height="200"></img-self-plus>
139
+ </div>
140
+ </div>
141
+ </td>
142
+ <td style="margin: auto;text-align: center" v-if="f_user_path">
143
+ <div class="container" style="max-width: 550px;background: #FFFFFF">
144
+ <div class="img" style="float: none">
145
+ <img-self-plus :src="'rs/image/file/'+f_user_path"
146
+ width="200"
147
+ height="200"></img-self-plus>
148
+ </div>
149
+ </div>
150
+ </td>
151
+ </tr>
152
+ </tbody>
153
+ </table>
154
+ <table class="table table-striped table-bordered"
155
+ v-show="paperdata.f_entry_status=='入户' && paperdata.f_defect_notified">
156
+ <thead>
157
+ <tr>
158
+ <th style="text-align: center">安检通知书/隐患整改通知书</th>
159
+ </tr>
160
+ </thead>
161
+ <tbody>
162
+ <tr>
163
+ <td style="margin: auto;text-align: center">
164
+ <div class="container" style="max-width: 500px;background: #FFFFFF">
165
+ <div class="img" style="float: none">
166
+ <img-self-plus :src="paperdata.f_notified_path" width="486" height="300"></img-self-plus>
167
+ </div>
168
+ </div>
169
+ </td>
170
+ </tr>
171
+ </tbody>
172
+ </table>
173
+ <table class="table table-striped table-bordered"
174
+ v-show="paperdata.f_entry_status=='入户'&& paperdata.f_video_path">
175
+ <thead>
176
+ <tr>
177
+ <th style="text-align: center">安检视频</th>
178
+ </tr>
179
+ </thead>
180
+ <tbody>
181
+ <tr>
182
+ <td style="margin: auto;text-align: center">
183
+ <div class="container" style="max-width: 500px;background: #FFFFFF">
184
+ <video width="320" height="200" controls v-if="paperdata.f_video_path">
185
+ <source :src="paperdata.f_video_path" type="video/mp4">
186
+ </video>
187
+ </div>
188
+ </td>
189
+ </tr>
190
+ </tbody>
191
+ </table>
192
+ <table class="table table-striped table-bordered"
193
+ v-show="item.f_recording1_path">
194
+ <thead>
195
+ <tr>
196
+ <th style="text-align: center">录音文件</th>
197
+ </tr>
198
+ </thead>
199
+ <tbody>
200
+ <tr>
201
+ <td style="margin: auto;text-align: center">
202
+ <div class="container" style="max-width: 500px;background: #FFFFFF">
203
+ <a class="button_spacing button_search-1"
204
+ :download="item.f_user_name+'-'+item.f_check_type+'-'+'录音文件.arm'"
205
+ :href="'rs/image/file/'+item.f_recording1_path">录音下载</a>
206
+ </div>
207
+ </td>
208
+ </tr>
209
+ </tbody>
210
+ </table>
211
+ </div>
212
+ </div>
213
+ <div class style="width: 1%;height: 100%;background-color: #F1F8FF;float: left;"></div>
214
+ <div class="col-md-6" style="height: 100%;overflow: scroll">
215
+ <div style="width: 95%;margin-left: 5%">
216
+ <table class="table table-striped table-bordered" v-for="config in deviceconfig2" style="margin-top: 35px">
217
+ <thead>
218
+ <tr>
219
+ <th style="text-align: center">{{ config.f_device_type }}</th>
220
+ </tr>
221
+ </thead>
222
+ <tr v-for="dev in config.f_items">
223
+ <td>
224
+ <div class="row">
225
+ <div class="col-md-8" style="text-align: center;">
226
+ <label>
227
+ <button-link type="button" class="btn btn-link"
228
+ :style="'color:black'">
229
+ {{ dev.f_item_name }}
230
+ </button-link>
231
+ </label>
232
+ </div>
233
+ <div class="col-md-4" style="text-align: center">
234
+ <label style="font-weight: normal"
235
+ v-if="dev.type!='picture'">{{
236
+ dev.f_item_lists[0].f_item_value
237
+ }}</label>
238
+ <label style="font-weight: normal" v-if="dev.type=='picture'">
239
+ <div v-if="dev.f_path">
240
+ <button-link style="color: black" type="button" class="btn btn-link"
241
+ @click="showpath('rs/image/file/'+dev.f_path)">查看照片
242
+ </button-link>
243
+ </div>
244
+ <div v-else>无照片</div>
245
+ </label>
246
+ </div>
247
+ </div>
248
+ </td>
249
+ </tr>
250
+ </table>
251
+ </div>
252
+ </div>
253
+ </div>
254
+ </div>
255
+ </div>
256
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true">
257
+ <header slot="modal-header" class="modal-header">
258
+ {{ picturename }}
259
+ </header>
260
+ <article slot="modal-body" class="modal-body">
261
+ <div class="from-group">
262
+ <div class="row">
263
+ <div class="col-md-6">
264
+ <img-self-plus v-if="showimg1" :src="showimg1" width="240" height="300"></img-self-plus>
265
+ </div>
266
+ <div class="col-md-6">
267
+ <img-self-plus v-if="showimg2" :src="showimg2" width="240" height="300"></img-self-plus>
268
+ </div>
269
+ <div class="col-md-6" v-for="item in otherDarginShowImgs">
270
+ <img-self-plus v-if="item.path" :src="item.path" width="240" height="300"></img-self-plus>
271
+ </div>
272
+ </div>
273
+ </div>
274
+ </article>
275
+ <footer slot="modal-footer" class="modal-footer" v-show="false">
276
+ <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
277
+ </footer>
278
+ </modal>
279
+ <modal :show.sync="imgshow2" v-ref:modal backdrop="true">
280
+ <header slot="modal-header" class="modal-header">
281
+ {{ paperdata.f_entry_status }}照片
282
+ </header>
283
+ <article slot="modal-body" class="modal-body">
284
+ <div class="from-group">
285
+ <div class="row">
286
+ <div class="col-md-6">
287
+ <img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer_path"
288
+ :src="showimg3"
289
+ width="282"
290
+ height="400"></img-self-plus>
291
+ </div>
292
+ <div class="col-md-6">
293
+ <img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer1_path"
294
+ :src="showimg5" width="282"
295
+ height="400"></img-self-plus>
296
+ </div>
297
+ <div class="col-md-6">
298
+ <img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer2_path"
299
+ :src="showimg6" width="282"
300
+ height="400"></img-self-plus>
301
+ </div>
302
+ <div class="col-md-6">
303
+ <img-self-plus v-if="this.paperdata.f_entry_status=='拒检' && this.paperdata.f_rejectcheck_path"
304
+ :src="showimg4" width="282"
305
+ height="400"></img-self-plus>
306
+ </div>
307
+ <div class="col-md-6">
308
+ <img-self-plus v-if="this.paperdata.f_entry_status=='拒检' && this.paperdata.f_rejectcheck1_path"
309
+ :src="showimg7" width="282"
310
+ height="400"></img-self-plus>
311
+ </div>
312
+ <div class="col-md-6">
313
+ <img-self-plus v-if="this.paperdata.f_entry_status=='拒检' && this.paperdata.f_rejectcheck2_path"
314
+ :src="showimg8" width="282"
315
+ height="400"></img-self-plus>
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </article>
320
+ <footer slot="modal-footer" class="modal-footer" v-show="false">
321
+ <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
322
+ </footer>
323
+ </modal>
324
+ <modal :show.sync="showSpotCheckButton" v-ref:modal backdrop="false">
325
+ <header slot="modal-header" class="modal-header">
326
+ 安检抽检
327
+ </header>
328
+ <article slot="modal-body" class="modal-body">
329
+ <div class="from-group">
330
+ <div class="row">
331
+ <lable>抽检不合格原因</lable>
332
+ <textarea v-model="spotCheckMessage"></textarea>
333
+ </div>
334
+ </div>
335
+ </article>
336
+ <footer slot="modal-footer" class="modal-footer">
337
+ <button type="button" class="btn btn-success" @click='SpotCheckSuccess'>确认</button>
338
+ <button type="button" class="btn btn-success" @click='SpotCheckCancel'>取消</button>
339
+ </footer>
340
+ </modal>
341
+ <modal :show.sync="showModel" :width="'50%'" :backdrop="false">
342
+ <div slot="modal-header" class="modal-header">
343
+ <h4 class="modal-title">
344
+ 安检审核备注
345
+ </h4>
346
+ </div>
347
+ <div slot="modal-body" class="modal-body">
348
+ <div class="row">
349
+ <div class="form-group col-sm-4">
350
+ <label class="font_normal_body">审核备注:</label>
351
+ <textarea v-model="message"></textarea>
352
+ </div>
353
+ </div>
354
+ </div>
355
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
356
+ <button class="button_search" style="margin-right: 15px" @click="auditFailOK()">确定</button>
357
+ <button class="button_search" style="margin-right: 15px" @click="auditFailCancel()">取消</button>
358
+ </div>
359
+ </modal>
360
+ </template>
361
+
362
+ <script>
363
+ import html2pdf from 'html2pdf.js'
364
+ import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
365
+ import Radio from 'vue-client/src/vue-strap/src/radioBtn'
366
+ import Vue from 'vue'
367
+ import * as Util from '../../Util'
368
+ import {HttpResetClass} from "vue-client";
369
+
370
+ let asyncReady = async function (self) {
371
+ // 获取配置信息
372
+ try {
373
+ let res = await new HttpResetClass().load('post', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {
374
+ data: {
375
+ items: 'f_dir',
376
+ tablename: 't_organization',
377
+ condition: `id = '${self.item.f_filialeid}'`,
378
+ orderitem: 'id'
379
+ }
380
+ })/*.then(res=>{*/
381
+ //tag
382
+ //tag)
383
+ console.log(res)
384
+ if (!res.data[0].f_dir) {
385
+ self.$showMessage("该公司无组织目录,无法获取配置文件,请联系管理员确认")
386
+ } else {
387
+ //this.f_dir=res.data[0].f_dir
388
+ let url = self.newConfig == '是' ? '/safecheck/rs/safe_vue' : '/safecheck/rs/vue'
389
+ try {
390
+ let res1 = await new HttpResetClass().load('GET', `${url}/DevicesConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {}, {
391
+ resolveMsg: '获取居民配置项成功!',
392
+ rejectMsg: '获取居民配置项出错!'
393
+ })/*.then(res=>{*/
394
+ //tag
395
+ //this.safeConfig["民用配置项"]=Object.assign({},res.data)
396
+ if (!Vue.config.safecheck) {
397
+ Vue.config = {safecheck: {}}
398
+ }
399
+ Vue.config.safecheck.DevicesConfig = res1.data
400
+ console.log(Vue.config.safecheck.DevicesConfig)
401
+ /*})*/
402
+ let res2 = await new HttpResetClass().load('GET', `${url}/DevicesSetConfig.json?folderName=phonevues&orgDir=${res.data[0].f_dir}`, {}, {
403
+ resolveMsg: '获取非居民配置项成功!',
404
+ rejectMsg: '获取非居民配置项出错!'
405
+ })/*.then(res=>{*/
406
+ //tag
407
+ //this.safeConfig["非民用配置项"]=Object.assign({},res.data)
408
+ Vue.config.safecheck.DevicesSetConfig = {}
409
+ } catch (e) {
410
+ self.$showMessage("获取配置文件失败" + e)
411
+ self.loading = false
412
+ }
413
+ }
414
+ if (self.data.f_recheck_id) {
415
+ let res3 = await new HttpResetClass().load('post', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {
416
+ data: {
417
+ items: '*',
418
+ tablename: 't_check_paper',
419
+ condition: `id = '${self.data.f_recheck_id}'`,
420
+ orderitem: 'id'
421
+ }
422
+ })
423
+ self.lastCheckData = res3.data[0]
424
+ }
425
+ } catch (error) {
426
+ // 忽略704,文件找不到异常R
427
+ if (error.status !== 704) {
428
+ throw error
429
+ }
430
+ this.loading = false
431
+ }
432
+ }
433
+ export default {
434
+ title: '安检单',
435
+ props: ['f_plan_id', 'item', 'role'],
436
+ data() {
437
+ return {
438
+ f_user_path: '',
439
+ message: '',
440
+ showButton: false,
441
+ showModel: false,
442
+ data: {
443
+ f_devices: [],
444
+ f_defect_content: ''
445
+ },
446
+ showPdfDownload: this.$appdata.getSingleValue('安检结果pdf下载') ? this.$appdata.getSingleValue('安检结果pdf下载') : false,
447
+ lastCheckData: {},
448
+ paperdata: {},
449
+ picturename: '隐患照片',
450
+ defectDevice: {},
451
+ hasDevice: false,
452
+ deviceCollect: {},
453
+ deviceCollects: [],
454
+ isshow: true,
455
+ ajresult: '',
456
+ loading: true,
457
+ imgshow: false,
458
+ imgshow2: false,
459
+ isUpload: false,
460
+ livedispose: '',
461
+ showimg1: '',
462
+ showimg2: '',
463
+ showimg3: '',
464
+ showimg4: '',
465
+ showimg5: '',
466
+ showimg6: '',
467
+ showimg7: '',
468
+ showimg8: '',
469
+ hiddenDangerImgNumber: 0, //配置项中隐患照片数
470
+ otherDarginShowImgs: [],//其他隐患图片
471
+ startClick: false, //开始安检按钮是否可点击
472
+ isStrat: false, //是否开始安检
473
+ checkResult: {},//查询结果
474
+ newcheckResult: {},
475
+ timer: null,
476
+ showModal: false,
477
+ pic_to_be_viewed: '',
478
+ showBack: true,
479
+ devices: [],
480
+ devicesAll: [],
481
+ configAJ: [],
482
+ configRQ: [],
483
+ deviceconfig: {},
484
+ newConfig: '',
485
+ deviceconfig2: [],
486
+ f_devices: [],
487
+ config: {
488
+ "燃气表": {
489
+ "checkmust": true,
490
+ "index": 1,
491
+ "items": {
492
+ "基表编号": {"index": 1, "type": "string", "readonly": true},
493
+ "气表型号": {"index": 2, "type": "string", "readonly": true},
494
+ "气表品牌": {"index": 3, "type": "string", "readonly": true},
495
+ "进气方向": {"index": 4, "type": "string", "readonly": true},
496
+ "初始表底": {"index": 5, "type": "number", "isshow": false, "readonly": true},
497
+ "上期表读数": {"index": 6, "type": "number", "readonly": true, isshow: false},
498
+ "累购气量": {"index": 7, "type": "number", "readonly": true},
499
+ "已用气量": {"index": 8, "type": "number", "checkmust": false},//基表数
500
+ "剩余气量": {"index": 9, "type": "number", "checkmust": false},//累购-已用
501
+ //显示屏数 --实际剩余气量
502
+ "气量异常差值": {"index": 10, "type": "number", "readonly": true},
503
+ "表箱号": {"index": 11, "type": "string", "readonly": true},
504
+ "燃气表照片": {"index": 12, "type": "picture", "checkmust": false},
505
+ }
506
+ // 注意,配置项的index必须与上面的固定配置保持'顺序'
507
+ }
508
+ },
509
+ //金额
510
+ config2: {
511
+ "燃气表": {
512
+ "checkmust": true,
513
+ "index": 1,
514
+ "items": {
515
+ "基表编号": {"index": 1, "type": "string", "readonly": true},
516
+ "气表型号": {"index": 2, "type": "string", "readonly": true},
517
+ "气表品牌": {"index": 3, "type": "string", "readonly": true},
518
+ "进气方向": {"index": 4, "type": "string", "readonly": true},
519
+ "初始表底": {"index": 5, "type": "number", "isshow": false, "readonly": true},
520
+ "上期表读数": {"index": 6, "type": "number", "readonly": true, isshow: false},
521
+ "累购金额": {"index": 7, "type": "number", "readonly": true},
522
+ "已用金额": {"index": 8, "type": "number", "checkmust": false},
523
+ //显示屏数 --实际剩余气量
524
+ "剩余金额": {"index": 9, "type": "number", "checkmust": false},
525
+ "金额异常差值": {"index": 10, "type": "number", "readonly": true},
526
+ "表箱号": {"index": 11, "type": "string", "readonly": true},
527
+ "燃气表照片": {"index": 12, "type": "picture", "checkmust": false},
528
+ }
529
+ }
530
+ },
531
+ showSpotCheckButton: false,
532
+ spotCheckMessage:''
533
+ }
534
+ },
535
+ components: {
536
+ RadioGroup,
537
+ Radio,
538
+ },
539
+ computed: {
540
+ isRecodrDownloadBtn() {
541
+ // 投诉单下派还是处理
542
+ let res = this.$appdata.getSingleValue('无限制录音');
543
+ if (res == 'true') {
544
+ return true;
545
+ } else {
546
+ return false;
547
+ }
548
+ },
549
+ selector: {
550
+ get() {
551
+ return 'paper-state'
552
+ },
553
+ set(val) {
554
+ if (this.isStrat) {
555
+ this.$goto(val, {userinfo: this.data}, 'paper-router')
556
+ } else {
557
+ this.$showMessage('未开始安检!')
558
+ }
559
+ }
560
+ },
561
+ actionEnabled: {
562
+ get() {
563
+ return this.role == 'inspect'
564
+ }
565
+ }
566
+ },
567
+ methods: {
568
+ updateSpotCheck(value) {
569
+ var reqData = {
570
+ paperId:this.item.id,
571
+ userName: this.$login.f.name,
572
+ spotCheckState: '已抽检',
573
+ spotCheckResult: value,
574
+ spotCheckMessage:this.spotCheckMessage
575
+ }
576
+ new HttpResetClass().load('POST', 'api/af-safecheck/logic/updateSpotCheck', reqData).then(res => {
577
+ if (res.data = 200) {
578
+ this.$showMessage('安检抽检完成')
579
+ }
580
+ })
581
+ },
582
+ NoSpotCheck() {
583
+ this.showSpotCheckButton = true
584
+ },
585
+ SpotCheckSuccess() {
586
+ this.updateSpotCheck('不合格')
587
+ this.spotCheckMessage = ''
588
+ this.showSpotCheckButton = false
589
+ },
590
+ SpotCheckCancel() {
591
+ this.spotCheckMessage = ''
592
+ this.showSpotCheckButton = false
593
+ },
594
+ exportToPDF() {
595
+ const element = document.getElementById('toPdf') // 替换为您要导出的页面元素的ID
596
+ html2pdf(element)
597
+ },
598
+
599
+ showAudit() {
600
+ var audit = this.$appdata.getSingleValue('安检审核');
601
+ if (audit == '是' && (this.item.f_approved == '未审核' || !this.item.f_approved)) {
602
+ this.showButton = true
603
+ }
604
+ },
605
+ //安检审核成功
606
+ auditSuccesss() {
607
+ this.loading = true;
608
+ var reqdata = {
609
+ audit_result: '通过',
610
+ operator: "success",
611
+ audit_time: Util.getNowDate(),
612
+ user_name: this.$login.f.name,
613
+ id: this.item.id,
614
+ f_check_item_id: this.item.f_check_item_id
615
+ }
616
+ new HttpResetClass().load('POST', '/api/af-safecheck/logic/updateAafeAudit', {data: reqdata}, {
617
+ resolveMsg: '安检审核成功!',
618
+ rejectMsg: '安检审核出错!'
619
+ }).then((res) => {
620
+ if (res.data.code == 200) {
621
+ this.loading = false;
622
+ this.$back()
623
+ }
624
+ })
625
+ },
626
+ auditFail() {
627
+ this.showModel = true;
628
+ },
629
+ auditFailOK() {
630
+
631
+ this.loading = true;
632
+ var reqdata = {
633
+ message: this.message,
634
+ audit_result: '不通过',
635
+ operator: "fail",
636
+ audit_time: Util.getNowDate(),
637
+ user_name: this.$login.f.name,
638
+ id: this.item.id,
639
+ f_check_item_id: this.item.f_check_item_id
640
+ }
641
+ new HttpResetClass().load('POST', '/api/af-safecheck/logic/updateAafeAudit', {data: reqdata}, {
642
+ resolveMsg: '安检审核成功!',
643
+ rejectMsg: '安检审核出错!'
644
+ }).then((res) => {
645
+ if (res.data.code == 200) {
646
+ this.loading = false;
647
+ this.message = '';
648
+ this.showModel = false;
649
+ this.$back()
650
+ }
651
+ })
652
+ },
653
+ auditFailCancel() {
654
+ this.showModel = false;
655
+ this.message = '';
656
+ },
657
+
658
+ devicesCollect() {
659
+ //tag
660
+ //tag)
661
+ //tag)
662
+ //tag
663
+ this.deviceCollects = []
664
+ let checkResult = '正常'
665
+ this.result = '正常'
666
+ let codata = JSON.parse(JSON.stringify(this.data))
667
+ //tag)
668
+ for (let device in this.data) {
669
+ let f_device_type
670
+ if (device.startsWith("device")) {
671
+ for (let item in this.data[device]) {
672
+ if (this.data[device].length > 1) {
673
+ let j = Number.parseInt(item) + 1
674
+ f_device_type = `${this.data[device][item].f_device_type}${j}`
675
+ } else {
676
+ f_device_type = this.data[device][item].f_device_type
677
+ }
678
+ // //tag
679
+ let deviceelse = []
680
+ let deviceInfos = []
681
+ for (let i in this.data[device][item].f_items) {
682
+ let defects = ''
683
+
684
+ let items = this.data[device][item].f_items[i]
685
+
686
+
687
+ if ((items.type === 'selector' || items.type === 'radio' || items.type === 'checkbox' || items.type === 'picture') && items.f_item_value != null && items.f_item_value instanceof Array) {
688
+ for (let i in items.f_item_value) {
689
+ let f_item_value = items.f_item_value[i]
690
+
691
+ //tag)
692
+ //tag)
693
+ //tag)
694
+ //tag)
695
+
696
+ if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name] && (items.isdefect && (items.isdefect == 'true' || items.isdefect == true))) {
697
+ continue
698
+ }
699
+ /*if(items.f_is_defect != true && items.f_is_defect != 'true'){
700
+ continue
701
+ }*/
702
+ if (items.f_is_defect == 'true' || items.f_is_defect == true) {
703
+ checkResult = '有隐患'
704
+ this.result = '有隐患'
705
+ defects = `${defects}:${items.f_item_value}/`
706
+ }
707
+ /*let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
708
+ for (let option in options) {
709
+ if (options[option].data == f_item_value) {
710
+ if (options[option].isdefect == 'true' || options[option].isdefect == true) {
711
+ checkResult = '有隐患'
712
+ this.result = '有隐患'
713
+ defects = `${defects}:${options[option].data}/`
714
+ // let level = options[option].level
715
+ }
716
+ }
717
+ }*/
718
+ //tag)
719
+ }
720
+ if (defects != '') {
721
+ console.log('有隐患items', items)
722
+ deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}${items.f_else ? items.f_else : ''}`)
723
+ }
724
+ } else if ((items.type === 'string' || items.type === 'number') && items.f_is_defect && items.f_item_value[0]) {
725
+ checkResult = '有隐患'
726
+ this.result = '有隐患'
727
+ deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
728
+
729
+ } else if (items.f_item_name == '金额异常差值') {
730
+ var deviation = this.$appdata.getSingleValue('金额异常差值允许误差')
731
+ //tag
732
+ if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
733
+ if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
734
+ checkResult = '有隐患'
735
+ this.result = '有隐患'
736
+ deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
737
+ }
738
+ }
739
+ } else if (items.f_item_name == '气量异常差值') {
740
+ var deviation = this.$appdata.getSingleValue('气量异常差值允许误差')
741
+ //tag
742
+ if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
743
+ if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
744
+ checkResult = '有隐患'
745
+ this.result = '有隐患'
746
+ deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
747
+ }
748
+ }
749
+ }
750
+ if (!this.config[this.data[device][item].f_device_type].items[items.f_item_name]) {
751
+ // console.log('this.config[this.data[device][item].f_device_type]', this.config[this.data[device][item].f_device_type])
752
+ // console.log('this.deviceconfig2', this.deviceconfig2)
753
+ for (let dev in this.deviceconfig2) {
754
+ if (this.deviceconfig2[dev].checkname == this.data[device][item].f_device_type) {
755
+ this.deviceconfig2[dev].items.push({
756
+ lname: items.f_item_name
757
+ })
758
+ }
759
+ }
760
+ }
761
+ //tag)
762
+ //tag
763
+ //tag
764
+ if (items.type === 'selector') {
765
+ items.selected = []
766
+ } else if (items.type === 'inputSelector') {
767
+ items.selected = ''
768
+ }
769
+ }
770
+
771
+
772
+ //tag
773
+ this.$set('deviceCollect.name', f_device_type)
774
+ this.$set('deviceCollect.value', checkResult)
775
+ this.$set('deviceCollect.devices', deviceInfos)
776
+ this.$set('deviceCollect.else', deviceelse)
777
+ console.log('deviceCollect.devices', this.deviceCollect.devices)
778
+ console.log('deviceCollect.else', this.deviceCollect.else)
779
+ //tag)
780
+ if (this.deviceCollect.name) {
781
+ //tag
782
+ this.deviceCollects.push(JSON.parse(JSON.stringify(this.deviceCollect)))
783
+ }
784
+
785
+ checkResult = '正常'
786
+ this.deviceCollect = {}
787
+ }
788
+ }
789
+ }
790
+ if (this.deviceCollects.length > 0) {
791
+ this.hasDevice = true
792
+ }
793
+ this.ajresult = JSON.parse(this.data.f_defect_content).result
794
+ this.showimg3 = this.data.f_noanswer_path
795
+ this.showimg5 = this.data.f_noanswer1_path
796
+ this.showimg6 = this.data.f_noanswer2_path
797
+ this.showimg4 = this.data.f_rejectcheck_path
798
+ this.showimg7 = this.data.f_rejectcheck1_path
799
+ this.showimg8 = this.data.f_rejectcheck2_path
800
+ this.paperdata = this.data
801
+ this.f_user_path = this.paperdata.f_user_pictures ? JSON.parse(this.paperdata.f_user_pictures)[0].f_user_path : ''
802
+ this.loading = false
803
+ },
804
+ imgclose() {
805
+ this.imgshow = false
806
+ },
807
+ putDevices() {
808
+ ////tag
809
+ this.$set('data.approve', "true")
810
+ this.$set('data.writeback', "false")
811
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
812
+ if (Vue.config.safecheck.ApproveConfig.approve != undefined) {
813
+ this.$set('data.approve', Vue.config.safecheck.ApproveConfig.approve)
814
+ }
815
+ if (Vue.config.safecheck.ApproveConfig.writeback != undefined) {
816
+ this.$set('data.writeback', Vue.config.safecheck.ApproveConfig.writeback)
817
+ }
818
+ if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
819
+ this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
820
+ }
821
+ if (Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
822
+ if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
823
+ this.hiddenDangerImgNumber = 3
824
+ } else {
825
+ this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
826
+ }
827
+ }
828
+ }
829
+ //tag
830
+
831
+ //tag)
832
+ if (!this.item.f_safecheck_type) {
833
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度普检'][this.item.f_check_type]])
834
+ } else {
835
+ if (Vue.config.safecheck.DevicesConfig != undefined)
836
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
837
+ }
838
+ //遍历安检项配置
839
+ for (let i in this.config) {
840
+ //取得安检项索引值
841
+ let n = this.config[i].index
842
+ this.devices[n - 1] = {device: i, n: n, checkmust: this.config[i].checkmust}
843
+ this.$set('data.' + 'device' + n, [])
844
+ let items = []
845
+ for (let it in this.config[i].items) {
846
+ //赋值下拉选项
847
+ if (this.config[i].items[it].type == 'selector') {
848
+ for (let op in this.config[i].items[it].options)
849
+ if (this.config[i].items[it].options[op].isdefault == true) {
850
+ items.push({
851
+ f_defect_level: this.config[i].items[it].options[op].level,
852
+ f_is_defect: this.config[i].items[it].options[op].isdefect,
853
+ f_item_name: it,
854
+ f_item_value: this.config[i].items[it].options[op].data,
855
+ f_path: "",
856
+ type: "selector"
857
+ })
858
+ }
859
+ }
860
+ }
861
+ n = n + 1
862
+ }
863
+
864
+ },
865
+ showpath(val1, val2) {
866
+ //tag
867
+ //tag
868
+ if (val1) {
869
+ this.showimg1 = val1
870
+ this.picturename = val2
871
+ this.imgshow = true
872
+ }
873
+ },
874
+ showpicture(val1, val2) {
875
+ //tag
876
+ if (val2 == '气量异常差值' || val2 == '金额异常差值') {
877
+ return
878
+ }
879
+ for (let i = 0; i < this.devicesAll.length; i++) {
880
+ for (let j = 0; j < this.devicesAll[i].length; j++) {
881
+ if (this.devicesAll[i][j].f_device_type == val1) {
882
+ for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
883
+ if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
884
+ if (!this.devicesAll[i][j].f_items[k].f_is_defect) {
885
+ return false
886
+ } else {
887
+ this.showimg1 = this.devicesAll[i][j].f_items[k].f_path
888
+ this.showimg2 = this.devicesAll[i][j].f_items[k].f_second_path
889
+ this.otherDarginShowImgs = []
890
+ for (let l = 0; l < this.hiddenDangerImgNumber; l++) {
891
+ let img = {path: ''}
892
+ if (this.devicesAll[i][j].f_items[k]['f_p' + (l + 1) + '_path']) {
893
+ img.path = this.devicesAll[i][j].f_items[k]['f_p' + (l + 1) + '_path'] + '?' + Math.random()
894
+ this.otherDarginShowImgs.push(img)
895
+ }
896
+ }
897
+ this.picturename = '隐患照片'
898
+ this.imgshow = true
899
+ return true
900
+ }
901
+ }
902
+ }
903
+
904
+ }
905
+ }
906
+ }
907
+ },
908
+ isred(val1, val2) {
909
+ //tag
910
+ if (val2 == '气量异常差值' || val2 == '金额异常差值') {
911
+ return
912
+ }
913
+ for (let i = 0; i < this.devicesAll.length; i++) {
914
+ for (let j = 0; j < this.devicesAll[i].length; j++) {
915
+ if (this.devicesAll[i][j].f_device_type == val1) {
916
+ for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
917
+ if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
918
+ if (!this.devicesAll[i][j].f_items[k].f_is_defect) {
919
+ return false
920
+ } else {
921
+ return true
922
+ }
923
+ }
924
+ }
925
+
926
+ }
927
+ }
928
+ }
929
+ },
930
+ showpicture2() {
931
+ this.imgshow2 = true
932
+ },
933
+ getDeviceValue(val1, val2) {
934
+ let aa = ''
935
+ for (let i = 0; i < this.devicesAll.length; i++) {
936
+ for (let j = 0; j < this.devicesAll[i].length; j++) {
937
+ if (this.devicesAll[i][j].f_device_type == val1) {
938
+ for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
939
+ if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
940
+ if (this.devicesAll[i][j].f_items[k].f_item_lists[0]) {
941
+ for (let l = 0; l < this.devicesAll[i][j].f_items[k].f_item_lists.length; l++) {
942
+ let val = this.devicesAll[i][j].f_items[k].f_item_lists[l].f_item_value
943
+ aa += (val === null ? '空' : val) + ' '
944
+ }
945
+ return aa
946
+ }
947
+ }
948
+ }
949
+
950
+ }
951
+ }
952
+ }
953
+
954
+ },
955
+ getDevicePath(val1, val2) {
956
+ for (let i = 0; i < this.devicesAll.length; i++) {
957
+ for (let j = 0; j < this.devicesAll[i].length; j++) {
958
+ if (this.devicesAll[i][j].f_device_type == val1) {
959
+ for (let k = 0; k < this.devicesAll[i][j].f_items.length; k++) {
960
+ if (this.devicesAll[i][j].f_items[k].f_item_name == val2) {
961
+ return this.devicesAll[i][j].f_items[k].f_path
962
+ }
963
+ }
964
+
965
+ }
966
+ }
967
+ }
968
+
969
+ },
970
+ getDeviceAll() {
971
+ let keyall = Object.keys(this.data)
972
+ for (let i = 0; i < keyall.length; i++) {
973
+ //tag)
974
+ if ((keyall[i].startsWith('f_devices') || keyall[i].startsWith('devices')) && keyall[i] != 'deviceundefined') {
975
+ this.devicesAll.push(this.data[keyall[i]])
976
+ //tag
977
+ }
978
+ }
979
+ //tag
980
+ //tag)
981
+ this.devicesCollect()
982
+
983
+ },
984
+
985
+ back() {
986
+ if (this.role == 'inspect') {
987
+ if (!this.isStrat) {
988
+ this.$back()
989
+ return
990
+ } else {
991
+ this.savePaper(true).then(() => {
992
+ this.$back()
993
+ this.isStrat = false
994
+ })
995
+ }
996
+ } else {
997
+ this.$back()
998
+ }
999
+ },
1000
+ checkIsStart() {
1001
+ alert('asdad')
1002
+ return
1003
+ },
1004
+
1005
+ viewPic(fileName) {
1006
+ //tag
1007
+ if (this.role == 'view') {
1008
+ if (!fileName.endsWith('nopic.png')) {
1009
+ this.pic_to_be_viewed = fileName
1010
+ this.showModal = true
1011
+ }
1012
+ } else {
1013
+ HostApp.viewPic(fileName)
1014
+ }
1015
+ },
1016
+ tick() {
1017
+ this.timer = null
1018
+ this.data.f_offsite_time = Util.toStandardTimeString()
1019
+ this.timer = window.setTimeout(this.tick, 1000)
1020
+ },
1021
+ getRepairState() {
1022
+ let repaired = true
1023
+ this.data.f_defects.forEach((defect) => {
1024
+ repaired = repaired & (defect.f_ratification == '已处理')
1025
+ })
1026
+ return repaired
1027
+ },
1028
+ verifyRepairDefects() {
1029
+ this.data.f_repair_date = Util.toStandardTimeString()
1030
+ this.data.f_repaired = this.getRepairState() ? '已修' : '在修'
1031
+ },
1032
+ genuineSave(saveOnly) {
1033
+ HostApp.__this__.save(saveOnly)
1034
+ if (!saveOnly)
1035
+ HostApp.__this__.disableTimer()
1036
+ HostApp.__callback__ = null
1037
+ HostApp.__this__ = null
1038
+ },
1039
+ setUrgency() {
1040
+ this.data.f_defect_urgency = 'Z'
1041
+ let that = this
1042
+ this.data.f_defects.forEach(function (defect) {
1043
+ if (that.data.f_defect_urgency > defect.f_defect_level.charAt(0))
1044
+ that.data.f_defect_urgency = defect.f_defect_level.charAt(0)
1045
+ })
1046
+ if (this.data.f_defect_urgency == 'Z')
1047
+ this.data.f_defect_urgency = null
1048
+ },
1049
+ disableTimer() {
1050
+ if (this.timer) {
1051
+ window.clearTimeout(this.timer)
1052
+ this.timer = null
1053
+ }
1054
+ },
1055
+ loaded(paper) {
1056
+ if (!paper.hasOwnProperty('id')) {
1057
+ this.$showMessage("该安检单在手机上已经不存在,可能是卸载过程序。可以进入重新安检,或返回安检计划。")
1058
+ this.init()
1059
+ } else {
1060
+ Util.booleanFilter(paper)
1061
+ HostApp.__this__.$set('data', paper)
1062
+ HostApp.__this__.$goto('paper-state', {}, 'paper-router')
1063
+ // 如果打回重检则重新计时
1064
+ //tag
1065
+ if (HostApp.__this__.role == 'inspect'
1066
+ && HostApp.__this__.data.f_approved
1067
+ && HostApp.__this__.data.f_approved == '打回') {
1068
+ //tag
1069
+ HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1070
+ HostApp.__this__.tick()
1071
+ }
1072
+ }
1073
+ HostApp.__callback__ = null
1074
+ HostApp.__this__ = null
1075
+ },
1076
+ S4() {
1077
+ return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
1078
+ },
1079
+ init() {
1080
+ this.data.f_noplan_item_id = this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4() + "" + this.S4()
1081
+ this.data.ename = Vue.user.ename
1082
+ this.data.f_outlets = Vue.user.f_parentname
1083
+ this.data.f_meetunit = Vue.user.orgpathnames
1084
+ this.data.orgpathstr = Vue.user.orgpathstr
1085
+ this.data.f_check_item_id = this.item.id
1086
+ this.data.f_check_plan_id = this.f_plan_id
1087
+ this.data.f_checker_id = Vue.user.id
1088
+ this.data.f_checker_name = Vue.user.name
1089
+ this.data.f_check_type = this.item.f_user_type
1090
+ this.data.f_subcompany = this.item.f_subcompany
1091
+ this.data.f_approved = this.item.f_approved
1092
+ this.data.f_repair_approved = this.item.f_repair_approved
1093
+ this.data.f_no_checkplan = this.item.f_no_checkplan
1094
+ this.data.f_approved = this.item.f_approved
1095
+ this.data.f_filialeid = this.item.f_filialeid
1096
+ this.data.f_orgstr = this.item.f_orgstr
1097
+ this.data.version = this.item.version
1098
+ this.$set('data.f_meters', this.item.f_plan_meters)
1099
+ this.$set('data.f_userinfo_code', this.item.f_userinfo_code)
1100
+ // 安检状态
1101
+ this.$set('data.f_entry_status', '入户')
1102
+ this.$set('data.f_usegas', '已使用')
1103
+ this.$set('data.f_state', this.item.f_state)
1104
+ // 用户信息
1105
+ this.$set('data.f_user_name', this.item.f_user_name)
1106
+ this.$set('data.f_user_phone', this.item.f_user_phone)
1107
+ this.$set('data.f_userinfoid', this.item.f_userinfoid)
1108
+ this.$set('data.f_address', this.item.f_address)
1109
+ this.$set('data.f_card_id', this.item.f_card_id)
1110
+ this.$set('data.f_area', this.item.f_area)
1111
+ this.$set('data.f_street', this.item.f_street)
1112
+ this.$set('data.f_room', this.item.f_room)
1113
+ this.$set('data.f_building', this.item.f_building)
1114
+ this.$set('data.f_unit', this.item.f_unit)
1115
+ this.$set('data.f_floor', this.item.f_floor)
1116
+ this.$set('data.f_residential_area', this.item.f_residential_area)
1117
+ this.$set('data.f_idnumber', this.item.f_idnumber)
1118
+ this.$set('data.f_comments', this.item.f_comments)
1119
+ this.$set('data.f_userproperties', this.item.f_userproperties)
1120
+ // 处置方式
1121
+ this.$set('data.f_no_gas_device', false)
1122
+ this.$set('data.f_close_valve', false)
1123
+ this.$set('data.f_unload_battery', false)
1124
+ if (this.data.f_check_item_id == '' && this.item.f_no_checkplan == '无计划安检') {
1125
+ this.data.f_check_item_id = this.data.f_noplan_item_id
1126
+ }
1127
+
1128
+ //房屋结构
1129
+ // this.$set('data.f_room_style', '多层')
1130
+ //供暖方式
1131
+ // this.$set('data.f_heating_style', '热力公司集中供暖')
1132
+ if (this.item.f_plan_meters) {
1133
+ for (let de in this.devices) {
1134
+ this.$set('data.device' + this.devices[de].n, [])
1135
+ for (let i = 0; i < this.item.f_plan_meters.length; i++) {
1136
+ if (this.item.f_plan_meters[i].f_meter_type) {
1137
+ if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_meter_type.indexOf('机表') > 0) {
1138
+ delete this.config['燃气表']['items']['累计购气量']
1139
+ this.data['device' + this.devices[de].n].push({
1140
+ f_device_type: "燃气表",
1141
+ f_items: [{
1142
+ f_defect_level: null,
1143
+ f_device_id: "",
1144
+ f_is_defect: "",
1145
+ f_item_name: "表品牌",
1146
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
1147
+ f_path: "",
1148
+ type: "string"
1149
+ },
1150
+ {
1151
+ f_defect_level: null,
1152
+ f_device_id: "",
1153
+ f_is_defect: "",
1154
+ f_item_name: "位置",
1155
+ f_item_value: this.item.f_plan_meters[i].f_weizhi,
1156
+ f_path: "",
1157
+ type: "selector"
1158
+ },
1159
+ {
1160
+ f_defect_level: null,
1161
+ f_device_id: "",
1162
+ f_is_defect: "",
1163
+ f_item_name: "表号",
1164
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
1165
+ f_path: "",
1166
+ type: "number"
1167
+ },
1168
+ {
1169
+ f_defect_level: null,
1170
+ f_device_id: "",
1171
+ f_is_defect: "",
1172
+ f_item_name: "表封号",
1173
+ f_item_value: this.item.f_plan_meters[i].f_metertitles,
1174
+ f_path: "",
1175
+ type: "number"
1176
+ },
1177
+ {
1178
+ f_defect_level: null,
1179
+ f_device_id: "",
1180
+ f_is_defect: "",
1181
+ f_item_name: "表型号",
1182
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1183
+ f_path: "",
1184
+ type: "selector"
1185
+ },
1186
+ {
1187
+ f_defect_level: null,
1188
+ f_device_id: "",
1189
+ f_is_defect: "",
1190
+ f_item_name: "表底数",
1191
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1192
+ f_path: "",
1193
+ type: "number"
1194
+ }
1195
+ ]
1196
+ })
1197
+ } else if (this.devices[de].device == "燃气表") {
1198
+ delete this.config['燃气表']['items']['表底数']
1199
+ this.data['device' + this.devices[de].n].push({
1200
+ f_device_type: "燃气表",
1201
+ f_items: [{
1202
+ f_defect_level: null,
1203
+ f_device_id: "",
1204
+ f_is_defect: "",
1205
+ f_item_name: "表品牌",
1206
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
1207
+ f_path: "",
1208
+ type: "string"
1209
+ },
1210
+ {
1211
+ f_defect_level: null,
1212
+ f_device_id: "",
1213
+ f_is_defect: "",
1214
+ f_item_name: "位置",
1215
+ f_item_value: this.item.f_plan_meters[i].f_weizhi,
1216
+ f_path: "",
1217
+ type: "selector"
1218
+ },
1219
+ {
1220
+ f_defect_level: null,
1221
+ f_device_id: "",
1222
+ f_is_defect: "",
1223
+ f_item_name: "表号",
1224
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
1225
+ f_path: "",
1226
+ type: "number"
1227
+ },
1228
+ {
1229
+ f_defect_level: null,
1230
+ f_device_id: "",
1231
+ f_is_defect: "",
1232
+ f_item_name: "表封号",
1233
+ f_item_value: this.item.f_plan_meters[i].f_metertitles,
1234
+ f_path: "",
1235
+ type: "number"
1236
+ },
1237
+ {
1238
+ f_defect_level: null,
1239
+ f_device_id: "",
1240
+ f_is_defect: "",
1241
+ f_item_name: "表型号",
1242
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
1243
+ f_path: "",
1244
+ type: "selector"
1245
+ },
1246
+ {
1247
+ f_defect_level: null,
1248
+ f_device_id: "",
1249
+ f_is_defect: "",
1250
+ f_item_name: "累计购气量",
1251
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
1252
+ f_path: "",
1253
+ type: "number"
1254
+ }
1255
+ ]
1256
+ })
1257
+ }
1258
+ }
1259
+ }
1260
+ }
1261
+ }
1262
+
1263
+ this.$goto('paper-state', {}, 'paper-router')
1264
+ },
1265
+ extend(initalObj, finalObj) {
1266
+ var obj = finalObj || {};
1267
+ for (var i in initalObj) {
1268
+ var prop = initalObj[i];
1269
+
1270
+ // 避免相互引用对象导致死循环,如initalObj.a = initalObj的情况
1271
+ if (prop === obj) {
1272
+ continue;
1273
+ }
1274
+
1275
+ if (typeof prop === 'object') {
1276
+ if (obj[i]) {
1277
+ this.extend(obj[i], prop)
1278
+ } else {
1279
+ obj[i] = prop;
1280
+ }
1281
+ }
1282
+ }
1283
+ return obj;
1284
+ },
1285
+ //获取当前时间
1286
+ getNowFormatDate() {
1287
+ var date = new Date();
1288
+ var seperator1 = "-";
1289
+ var seperator2 = ":";
1290
+ var month = date.getMonth() + 1;
1291
+ var strDate = date.getDate();
1292
+ if (month >= 1 && month <= 9) {
1293
+ month = "0" + month;
1294
+ }
1295
+ if (strDate >= 0 && strDate <= 9) {
1296
+ strDate = "0" + strDate;
1297
+ }
1298
+ var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
1299
+ + " " + date.getHours() + seperator2 + date.getMinutes()
1300
+ + seperator2 + date.getSeconds();
1301
+ return currentdate;
1302
+ }
1303
+ },
1304
+ ready() {
1305
+ setTimeout(() => {
1306
+ this.loading = false;
1307
+ }, 3000)
1308
+ this.$resetpost(`rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.id}'`}}).then((respanse) => {
1309
+ //tag
1310
+ this.paperdata = respanse.data[0]
1311
+ this.paperdata.f_overall_imgs.forEach(item => {
1312
+ item.f_overall_path = 'rs/image/file/' + item.f_overall_path
1313
+ })
1314
+ this.deviceconfig2 = Object.assign(this.data, respanse.data[0].f_devices)
1315
+ })
1316
+
1317
+
1318
+ },
1319
+ watch: {
1320
+ // 'isUpload'(val){
1321
+ // //tag
1322
+ // }
1323
+ },
1324
+ destroyed() {
1325
+ //tag
1326
+ this.disableTimer()
1327
+ }
1328
+ }
1329
+
1330
+ </script>
1331
+ <style scoped>
1332
+ .table-striped thead tr th {
1333
+ background-color: rgb(223, 237, 251);
1334
+ padding: 10px;
1335
+ border-left: solid 0px #dae4f2;
1336
+ border-top: solid 1px #dae4f2;
1337
+ border-right: none;
1338
+ border-bottom: none;
1339
+ text-align: center;
1340
+ color: black;
1341
+ }
1342
+ </style>