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,1019 +1,1045 @@
1
- <template>
2
- <div class="auto">
3
- <div style="width: 100%;height: 36px;background-color: #f1f8ff">
4
- <div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
5
- <div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">拍照选项:</p></div>
6
- </div>
7
- <form novalidate class="form-horizontal" style="width: 100%;margin: auto">
8
- <div class="form-group col-sm-12 col-xs-12 col-md-12 info" style="width:100%;">
9
- <div class="text-center">
10
- <label class="font">检查说明:</label>
11
- </div>
12
- <div class="col-md-12 col-sm-12 col-xs-12" style="width: 90%;margin-left: 5px">
13
- <ol class="showInput" style="width: 90%;margin-left: 40px">
14
- <li>已对客户燃气设施进行了安全检查</li>
15
- <li>已对客户进行了安全知识宣传,并发放宣传资料</li>
16
- <li>已对客户的资料进行了登记</li>
17
- <li>已对违章及隐患之客户下发隐患整改告知书</li>
18
- </ol>
19
- </div>
20
- </div>
21
-
22
- <div class="form-group col-sm-12" style="margin-top: 10px">
23
- <div class="auto" style="width: 100%;float: left;" >
24
- <label class="text-left font">总体送气照片</label>
25
- <div class="auto">
26
- <div class="panel">
27
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
28
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
29
- <div class="row">
30
- <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 10px;margin-right: 75px" v-for="(index,img) in paper.f_overall_imgs">
31
- <img-self :src="img.f_overall_path" alt="总体送气照片" :width="150" :height="200"></img-self>
32
- <!--<img src="../../assets/remove.png" @click="delfile('f_overall_path', img.f_overall_path,index)" class="imgs" style="width: 30px;" alt="">-->
33
- </div>
34
- </div>
35
- </div>
36
- <div class="row text-right div-photo">
37
- <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall_path', '总体安检照片1')">拍照</button>-->
38
- </div>
39
- </div>
40
- </div>
41
- </div>
42
- </div>
43
- <!--<div class="auto" style="width: 49%;float: left;margin-left: 20px">-->
44
- <!--<label class="text-left font">总体安检照片2</label>-->
45
- <!--<div class="auto">-->
46
- <!--<div class="panel">-->
47
- <!--<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">-->
48
- <!--<div class="row" style="height: 240px;overflow: scroll;top: 1px">-->
49
- <!--<div class="col-sm-4">-->
50
- <!--<img-self :src="paper.f_overall2_path" alt="总体安检照片2" width="150" height="200"></img-self>-->
51
- <!--</div>-->
52
- <!--</div>-->
53
- <!--<div class="row text-right div-photo">-->
54
- <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall2_path', '总体安检照片2')">拍照</button>-->
55
- <!--</div>-->
56
- <!--</div>-->
57
- <!--</div>-->
58
- <!--</div>-->
59
- <!--</div>-->
60
- </div>
61
- <div class="form-group col-sm-12" style="margin-top: 20px">
62
- <label class="text-left font">用户签名</label>
63
- <div class="auto">
64
- <div class="panel">
65
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
66
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
67
- <div class="col-sm-4">
68
- <img :class="style__" :src="paper.f_sign_path" :width="200" :height="150" />
69
- </div>
70
- </div>
71
- <!--<div class="row text-right div-photo">-->
72
- <!--&lt;!&ndash;<button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>&ndash;&gt;-->
73
- <!--</div>-->
74
- </div>
75
- </div>
76
- </div>
77
- </div>
78
- <div class="form-group col-sm-12" v-if="paper.f_exceed_reason">
79
- <label>送气超期原因:</label><br/>
80
- <textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
81
- </div>
82
- <!--<div class="form-group col-sm-12" style="margin-top: 20px">
83
- <input type="checkbox" :readonly="true" :checked="paper.f_blacklist=='是'"/><label class="text-left font" >限制该用户购气</label>
84
- <textarea if="paper.f_blacklist=='是'" id="el_ca_tx" v-model.trim="paper.f_blocking_cause" style="border-radius:4px;width: 100%;" >
85
- </textarea>
86
- </div>-->
87
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
88
- <!--<div class="form-group col-md-12 col-sm-12 col-xs-12">
89
- <input type="checkbox" v-model="paper.f_defect_notified" class="showInput"/>安检通知书/隐患整改通知书
90
- </div>
91
- <div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="paper.f_defect_notified">
92
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
93
- <button type="button" @click="print()">打印隐患整改单</button>
94
- </div>
95
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
96
- <label class="text-left font">安检通知书/隐患整改通知书照片(要求能清晰反应安检通知单和用户签字内容):</label>
97
- <div class="auto" >
98
- <div class="panel" style="padding: 10px 10px 5px 10px;">
99
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
100
- <div class="row" style="height: 240px;overflow: scroll;top: 1px">
101
- <div class="col-sm-4">
102
- <img-self :src="paper.f_notified_path" alt="安检通知书/隐患整改通知书照片" width="150" height="200"></img-self>
103
- </div>
104
- </div>
105
- <div class="row text-right div-photo">
106
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_notified_path', '安检通知书/隐患整改通知书照片')">拍照</button>
107
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_notified_path', this.paper.f_notified_path)" style="width: 25%;"></img>
108
- </div>
109
- </div>
110
- </div>
111
- </div>
112
- </div>
113
- </div>
114
- -->
115
- <div class="form-group col-md-12 col-sm-12 col-xs-12">
116
- <div class="row">
117
- <label class="text-left">请对我们的服务做出评价:</label>
118
- </div>
119
- <div class="col-xs-4 col-sm-4" v-for="item in radios">
120
- <input v-model="paper.f_client_evaluation" :value="item.label" :checked='item.isChecked' @click="check(item.value)" type="radio">{{item.label}}
121
- </div>
122
- </div>
123
- <!-- <div class="form-group col-md-12 col-sm-12 col-xs-12">-->
124
- <!-- <label class="text-left font">反馈录音:</label>-->
125
- <!-- <div class="col-md-12 col-sm-12 col-xs-12" v-if="!paper.f_recording1_path">-->
126
- <!-- <audio :src="paper.f_recording1_path" v-el:audio controls @click="palyAudio(row)"></audio>-->
127
- <!-- </div>-->
128
- <!-- </div>-->
129
- <div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
130
- <button type="button" v-show="$parent.actionEnabled" class="btn save-btn" @click="$parent.savePaper(true)">保存</button>
131
- <button id="upload" type="button" v-show="$parent.actionEnabled && !$parent.isBusy" class="btn upload-btn" @click="$parent.uploadPaper" >上传</button>
132
- <button v-if="safeCheckToRepair && $parent.actionEnabled" class="btn repair-btn btn-warning" type="button" @click="showToRepair">转维修</button>
133
- </div>
134
- </div>
135
- </form>
136
-
137
- <modal :show.sync="showCheckToRepair" v-ref:modal :backdrop="isback">
138
- <div slot="modal-header" class="modal-header">
139
- <h4 class="modal-title">
140
- 安检转维修
141
- </h4>
142
- </div>
143
- <div slot="modal-body" class="modal-body">
144
- <div v-if="showrepair">
145
- <div class="row">
146
- <label class="col-xs-4 col-md-4 control-label text-left">派单方式</label>
147
- <div class="col-xs-8 col-md-8">
148
- <label v-for="handling1 in handling" >
149
- <input type="radio"
150
- v-model="meading"
151
- value="{{handling1.label}}">
152
- {{handling1.label}}
153
- </label>
154
- </div>
155
- </div>
156
- <div class="row" v-if="meading == '转站点'">
157
- <label class="col-xs-4 col-md-4 control-label font text-left" for="f_reciever">站点</label>
158
- <div class="col-xs-8 col-md-8">
159
- <right-tree @ready="onReady" islist :Url="Url" :userid="userid" :source="source" v-on:re-res="reres" :textContent="选择站点管理员" :selectData="" v-ref:f_reciever>
160
- </right-tree>
161
- </div>
162
- </div>
163
-
164
- <div class="row" style="margin-top: 6px" v-if="meading == '转维修员'">
165
- <label class="col-xs-4 col-md-4 control-label font text-left">维修人</label>
166
- <div class="col-xs-8">
167
- <v-select :value="model.serviceacitivity[0].f_reciever" :value-single="true"
168
- :options='f_repair_person' placeholder='请选择维修员'
169
- close-on-select v-on:change="repiarmancg"></v-select>
170
- </div>
171
-
172
- </div>
173
- <div class="row" style="margin-top: 6px">
174
- <label for="f_repair" class="col-xs-4 col-md-4 control-label font text-left">报修类型</label>
175
- <div class="col-xs-8 col-md-8">
176
- <v-select :value.sync="model.f_repairtype" :value-single="true"
177
- :options='repairstypes' placeholder='报修类型'
178
- close-on-select>
179
- </v-select>
180
- </div>
181
- </div>
182
-
183
- <div class="row" style="margin-top: 6px">
184
- <label class="control-label font text-left col-md-4 col-xs-4">备注</label>
185
- <div class="col-xs-8 col-md-8">
186
- <input type="text" v-model="model.f_remarks"/>
187
- </div>
188
-
189
- </div>
190
-
191
- </div>
192
- <div v-if="!showrepair">
193
- 暂无隐患设备信息
194
- </div>
195
- </div>
196
- <div slot="modal-footer" class="modal-footer">
197
- <button type="button" class="btn btn-default" @click="uploadPaper()">确定</button>
198
- <button type="button" class="btn btn-default" @click="undo()">取消</button>
199
- </div>
200
- </modal>
201
- </div>
202
- </template>
203
-
204
- <script>
205
- import Vue from 'vue'
206
- import * as Util from '../Util'
207
- import { HttpResetClass } from 'vue-client'
208
- import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
209
- import Radio from 'vue-client/src/vue-strap/src/radioBtn'
210
- import co from 'co'
211
-
212
- let getRepairParam = function * (self){
213
- let data = {
214
- model: self.model, loginUser: {
215
- name: self.role == 'view'?self.$login.f.name:Vue.user.name,
216
- ename: self.role == 'view'?self.$login.f.ename:Vue.user.ename
217
- }, user: self.user, callObj: self.callObj
218
- }
219
- if(self.meading == '转维修员'){
220
- data.toRepair = '一级派单'
221
- }
222
- data.model.f_attendant = data.loginUser.name
223
- //tag
224
- //tag
225
- let res
226
- let errString = self.$parent.errorVerify()
227
- if(errString){
228
- //tag
229
- if (Vue.android)
230
- self.undo()
231
- this.$showMessage(errString)
232
- return
233
- } else {
234
- if(self.role == 'inspect'){
235
- if(self.meading == '转维修员' && (self.model.serviceacitivity[0].f_reciever == '' || self.model.serviceacitivity[0].f_reciever == undefined)){
236
- this.$showMessage("请选择维修员!")
237
- return
238
- }
239
- if(self.meading == '转站点' && (self.model.serviceacitivity[0].f_reciever == '' || self.model.serviceacitivity[0].f_reciever == undefined)){
240
- this.$showMessage("请选择站点!")
241
- return
242
- }
243
- if(self.model.f_repairtype == ''){
244
- this.$showMessage("请选择报修类型!")
245
- return
246
- }
247
- //tag)
248
- let checkResult = '正常'
249
- let options = [{"data": "已处理"},{"data": "未处理"}]
250
- let value = ''
251
- let codata = JSON.parse(JSON.stringify(self.paper))
252
- for(let device in codata){
253
- //tag)
254
- let f_device_type
255
- if(device.startsWith("device")){
256
- for(let item in codata[device]) {
257
- if(codata[device].length > 1 ){
258
- let j = Number.parseInt(item)+1
259
- f_device_type = `${codata[device][item].f_device_type}${j}`
260
- }else{
261
- f_device_type = codata[device][item].f_device_type
262
- }
263
- // //tag
264
- let details = []
265
- for(let i in codata[device][item].f_items){
266
- let items = codata[device][item].f_items[i]
267
- //tag
268
- if(items.f_is_defect == true || items.f_is_defect == 'true'){
269
- checkResult = '有隐患'
270
- //tag
271
- let res = yield self.$resetpost(`${self.Url}/rs/sql/getDeviceItem`,{data:{f_device_id:codata[device][item].f_device_id,f_item_name:items.f_item_name}})
272
- //tag)
273
- self.$set('detail.f_defect_id', res.data[0].id)
274
- self.$set('detail.f_project',`${items.f_item_name}:${items.f_item_value}`)
275
- self.$set('detail.type',items.type)
276
- self.$set('detail.options',options)
277
- details.push(JSON.parse(JSON.stringify(self.detail)))
278
- }
279
- if(items.type == 'selector'){
280
- items.selected = ''
281
- }
282
- self.detail = {}
283
- }
284
- //tag
285
- self.$set('defectDevice.f_type',f_device_type)
286
- self.$set('defectDevice.details',details)
287
- if(self.defectDevice.details.length >0 ){
288
- self.repairitems.push(JSON.parse(JSON.stringify(self.defectDevice)))
289
- }
290
- self.defectDevice = {}
291
- //tag
292
- }
293
- }
294
- }
295
- self.$set('model.f_repairitems.data',self.repairitems)
296
-
297
-
298
- //tag)
299
- res = self.$androidUtil.bzLogic('safecheckToRepair',data)
300
- //tag
301
- //tag
302
- //tag
303
- if(res.code == 200){
304
- self.$parent.isSafeCheckToRepair = true
305
- self.undo()
306
- self.$set('paper.f_SafeToRepair_id',res.data.f_service_id)
307
- //tag
308
- self.$resetpost(`${self.Url}/rs/logic/updatePaperRepair`,{data:{f_paper_id:self.paper.f_paper_id,f_SafeToRepair_id:res.data.f_service_id}}).then((ret)=>{
309
- //tag
310
- if(ret.data.code ==200){
311
- //tag
312
- self.$parent.$back()
313
- }else{
314
- self.$showMessage('安检转维修失败!')
315
- }
316
- }).catch(v=>{
317
- //tag)
318
- self.$showMessage('安检转维修失败!')
319
- })
320
- }else{
321
- self.$showMessage('安检转维修失败!')
322
- }
323
- }
324
- }
325
- }
326
-
327
-
328
-
329
- let getRepairs = async function(self,url) {
330
- // 获取配置信息
331
- try {
332
- let val = {source: 'this.getParentByType($department$).getChildByName($维修员$).getUsers()', userid: `${Vue.$login.jwt}`}
333
- let repairs =[]
334
- let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
335
- res.data.forEach((item) => {
336
- repairs.push({label: item.name, value: item})
337
- })
338
- self.f_repair_person = repairs
339
- if(self.$parent.role == 'inspect'){
340
- let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
341
- if(res.code == 200){
342
- self.user = res.data[0]
343
- self.model.f_area = self.user.f_area
344
- }
345
- }else{
346
- //tag
347
- self.$resetpost(`${self.Url}/rs/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
348
- //tag
349
- if(res.data.length != 0){
350
- self.user = res.data[0]
351
- self.model.f_area = self.user.f_area
352
- }
353
- })
354
- // path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
355
- }
356
- } catch (error) {
357
- //tag
358
- }
359
- }
360
-
361
- export default {
362
- title: '用户反馈',
363
- data() {
364
- return {
365
- paper:this.$parent.data,
366
- printContent:[],
367
- radios:[
368
- {
369
- label: '满意',
370
- value: 0,
371
- isChecked: false,
372
- },
373
- {
374
- label: '基本满意',
375
- value:1,
376
- isChecked: false,
377
- },
378
- {
379
- label: '不满意',
380
- value:2,
381
- isChecked: false,
382
- },
383
- ],
384
- model: {
385
- // 一次派单
386
- serviceacitivity: [{
387
- f_service_acitivity_type: '派单'
388
- }],
389
- f_source:'安检',
390
- f_service_id: '',
391
- f_contact_phone: '',
392
- f_meetunit: '',
393
- f_phone: '',
394
- f_user_name: '',
395
- f_address: '',
396
- f_repair_date: Util.toStandardTimeString(),
397
- f_card_id: '',
398
- // f_department: '', 站点选择
399
- f_reciever:'',
400
- f_remarks: '',
401
- f_user_type: '',
402
- f_area: '',
403
- f_unit_name:'',
404
- f_street: '',
405
- f_residential_area: '',
406
- f_building: '',
407
- f_unit: '',
408
- f_floor: '',
409
- f_room: '',
410
- aState: null,
411
- f_repairtype: '',
412
- f_repairitems:{},
413
- },
414
- repairitems:[],
415
- repairstypes:this.$appdata.getParam('报修类型'),
416
- //f_repair_person: this.readRepair(),
417
- showrepair: false,
418
- safeCheckToRepair:'',
419
- showCheckToRepair:false,
420
- userid: '',
421
- source:
422
- 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
423
- 'tool.getFullTree(dep.where(row.getChildByName($派单员$) != null))',
424
- isback:false,
425
- defectDevice:{},
426
- detail:{},
427
- callObj:null,
428
- user:{},
429
- role:this.$parent.role,
430
- handling:[{label:'转站点',value:'转站点'},{label:'转维修员',value:'转维修员'}],
431
- meading:'转站点',
432
- Url:this.$androidUtil.getProxyUrl()
433
- }
434
- },
435
- props: ['idx'],
436
- components: {
437
- RadioGroup,
438
- Radio
439
- },
440
- methods: {
441
- check(index) {
442
- //tag
443
- // 先取消所有选中项
444
- for (let item of this.radios){
445
- item.isChecked = false;
446
- }
447
- //再设置当前点击项选中
448
- this.paper.f_client_evaluation = this.radios[index].label;
449
- // 设置值,以供传递
450
- this.radios[index].isChecked = true;
451
- //tag;
452
- },
453
- getSignValue(fileName) {
454
- this.f_signname = fileName
455
- },
456
- cameraCallBack(prop, fileName) {
457
- HostApp.__this__.paper[prop] = fileName + '?' + Math.random()
458
- HostApp.__callback__ = null
459
- HostApp.__this__ = null
460
- },
461
- takePic(prop, title) {
462
- HostApp.__callback__ = this.cameraCallBack
463
- HostApp.__this__ = this
464
- //tag
465
- //tag
466
- let fileName
467
- if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
468
- fileName = Util.guid() + '-' + prop + '.jpg'
469
- } else {
470
- fileName = Util.getFileName(this.paper[prop])
471
- }
472
- HostApp._open_a_page({
473
- type: 'boomerang',
474
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
475
- param: {
476
- file: fileName,
477
- requestCode: 111,
478
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
479
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
480
- }
481
- })
482
- },
483
- amrCallBack(fileName) {
484
- HostApp.__this__.$set('paper.f_recording1_path', fileName)
485
- HostApp.__callback__ = null
486
- HostApp.__this__ = null
487
- },
488
- record() {
489
- if (this.$parent.role != 'inspect') {
490
- if (this.paper.f_recording1_path != '') {
491
- window.location = this.paper.f_recording1_path
492
- }
493
- } else {
494
- HostApp.__callback__ = this.amrCallBack
495
- HostApp.__this__ = this
496
- let fileName
497
- if (!this.paper.f_recording1_path) {
498
- fileName = Util.guid() + '.amr'
499
- } else {
500
- fileName = Util.getFileName(this.paper.f_recording1_path)
501
- }
502
- HostApp._open_a_page({
503
- type: 'boomerang',
504
- page: 'com.aofeng.hybrid.android.peripheral.AudioClipActivity',
505
- param: {file: fileName, requestCode: 111, callback: 'javascript:HostApp.__callback__("%s");'}
506
- })
507
- }
508
- },
509
- // 签名回调
510
- signCallback(prop, fileName) {
511
- // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
512
- HostApp.__this__.$set('paper.f_sign_path', fileName)
513
- HostApp.__callback__ = null
514
- HostApp.__this__ = null
515
- },
516
- // 用户签名
517
- sign() {
518
- this.delAudioFile('f_sign_path', this.paper.f_sign_path)
519
- let prop = 'f_sign_path'
520
- let idx = 'aofeng'
521
- let fileName
522
- if (!this.paper.f_sign_path) {
523
- fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
524
- } else {
525
- fileName = Util.getFileName(this.paper.f_sign_path)
526
- }
527
- HostApp.__callback__ = this.signCallback
528
- HostApp.__this__ = this
529
- HostApp.getSignature({
530
- file: fileName,
531
- requestCode: 111,
532
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
533
- })
534
- },
535
- delfile(prop, fileName) {
536
- if (fileName == Vue.nopic)
537
- return
538
- else {
539
- HostApp.delfile(fileName)
540
- this.paper[prop] = Vue.nopic
541
- }
542
- },
543
- delAudioFile(prop, fileName) {
544
- if (!fileName)
545
- return
546
- else {
547
- HostApp.delfile(fileName)
548
- this.paper[prop] = null
549
- }
550
- },
551
- //获取打印用户信息
552
- getUser() {
553
- if (this.paper.f_user_name == undefined)
554
- this.paper.f_user_name = ''
555
- this.printContent.push({type: 3, text: '用户名称:' + this.paper.f_user_name, fontsize: 2, isbold: false, align: 'left'})
556
- if (this.paper.f_userinfo_code == undefined)
557
- this.paper.f_userinfo_code = ''
558
- this.printContent.push({type: 3, text: '用户编号:' + this.paper.f_userinfo_code, fontsize: 2, isbold: false, align: 'left'})
559
- if (this.paper.f_address == undefined)
560
- this.paper.f_address = ''
561
- this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
562
- if (this.paper.f_user_phone == undefined)
563
- this.paper.f_user_phone = ''
564
- this.printContent.push({type: 3, text: '电话:' + this.paper.f_user_phone, fontsize: 2, isbold: false, align: 'left'})
565
- },
566
- verify(){
567
- let hasError = this.$parent.verifyUser()
568
- if(hasError)
569
- return hasError
570
- hasError = this.$parent.verifyDevices()
571
- if(hasError)
572
- return hasError
573
- },
574
- print() {
575
- let errString = this.verify()
576
- if (errString) {
577
- //tag
578
- if (Vue.android)
579
- this.$showMessage(errString)
580
- return
581
- }
582
- // 文本
583
- let templatename = '安检结果单'
584
- if(Vue.config.safecheck != undefined) {
585
- if (Vue.config.safecheck.ApproveConfig != undefined) {
586
- if (Vue.config.safecheck.ApproveConfig.templatename != undefined) {
587
- templatename = Vue.config.safecheck.ApproveConfig.templatename
588
- }
589
- }
590
- }
591
- let textHead = {type: 3, text: templatename, fontsize: 3, isbold: true, align: 'center'}
592
- let feedPageHead = {type: 4, value: 2, unit: 'line'}
593
- let feedPageEnd = {type: 4, value: 4, unit: 'line'}
594
- this.printContent.push(textHead)
595
- this.printContent.push(feedPageHead)
596
- this.getUser()
597
- this.getDefect()
598
- this.getCheck()
599
- this.printContent.push(feedPageEnd)
600
- let arrstr = JSON.stringify(this.printContent)
601
- //tag
602
- this.$androidUtil.print(arrstr)
603
- this.$set('printContent', [])
604
- },
605
- //打印安检信息
606
- getCheck() {
607
- let telephone = '96777'
608
- if(Vue.config.safecheck != undefined) {
609
- if (Vue.config.safecheck.ApproveConfig != undefined) {
610
- if (Vue.config.safecheck.ApproveConfig.checkphone != undefined) {
611
- telephone = Vue.config.safecheck.ApproveConfig.checkphone
612
- }
613
- }
614
- }
615
- this.printContent.push({type: 3, text: '*******************************', fontsize: 3, isbold: false, align: 'center'})
616
- this.printContent.push({type: 3, text: '咨询电话;'+telephone, fontsize: 2, isbold: false, align: 'left'})
617
- this.printContent.push({type: 3, text: '安检人:'+Vue.user.name, fontsize: 2, isbold: false, align: 'left'})
618
- this.printContent.push({type: 3, text: '安检时间:' + this.getNowFormatDate(), fontsize: 2, isbold: false, align: 'left'})
619
- this.printContent.push({type: 3, text: '用户签字:', fontsize: 2, isbold: false, align: 'left'})
620
- this.printContent.push({type: 4, value: 4, unit: 'line'})
621
- },
622
-
623
- getDefect() {
624
- let showmore = false
625
- if(Vue.config.safecheck != undefined) {
626
- if (Vue.config.safecheck.ApproveConfig != undefined) {
627
- if (Vue.config.safecheck.ApproveConfig.showmore != undefined) {
628
- showmore = Vue.config.safecheck.ApproveConfig.showmore
629
- }
630
- }
631
- }
632
-
633
- let backData = this.$parent.getAllDefect()
634
- // 对隐患信息进行遍历
635
- let res = JSON.parse(backData.f_defect_content)
636
- this.printContent.push({
637
- type: 3,
638
- text: '安检结果:' + res.result,
639
- fontsize: 2,
640
- isbold: false,
641
- align: 'left'
642
- })
643
- this.printContent.push({type: 3, text: '*******************************', fontsize: 3, isbold: false, align: 'center'})
644
-
645
-
646
- if(showmore) {
647
- //全部打印
648
- for (let dev in this.$parent.config) {
649
- for (let device in backData) {
650
- if (device.startsWith("device")) {
651
- for (let item in backData[device]) {
652
- //遍历结果
653
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
654
- let error = true
655
- for (let i in backData[device][item].f_items) {
656
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
657
- error = false
658
- }
659
- }
660
- if (error) {
661
- this.printContent.push({
662
- type: 3,
663
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
664
- fontsize: 2,
665
- isbold: false,
666
- align: 'left'
667
- })
668
- } else {
669
- this.printContent.push({
670
- type: 3,
671
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
672
- fontsize: 2,
673
- isbold: true,
674
- align: 'left'
675
- })
676
- }
677
-
678
- for (let i in backData[device][item].f_items) {
679
- if (backData[device][item].f_items[i].f_item_value != '' && backData[device][item].f_items[i].f_item_value != null) {
680
- this.printContent.push({
681
- type: 3,
682
- text: backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
683
- fontsize: 2,
684
- isbold: false,
685
- align: 'left'
686
- })
687
- }
688
- }
689
- this.printContent.push({type: 4, value: 2, unit: 'line'})
690
- }
691
- }
692
- }
693
- }
694
- }
695
-
696
- for (let dev in this.$parent.config) {
697
- for (let device in backData) {
698
- if (device.startsWith("device")) {
699
- for (let item in backData[device]) {
700
- //遍历结果
701
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
702
- let error = true
703
- for (let i in backData[device][item].f_items) {
704
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
705
- error = false
706
- }
707
- }
708
- if (!error) {
709
- this.printContent.push({
710
- type: 3,
711
- text: '隐患:',
712
- fontsize: 2,
713
- isbold: true,
714
- align: 'left'
715
- })
716
- }
717
- }
718
- }
719
- }
720
- }
721
- for (let device in backData) {
722
- if (device.startsWith("device")) {
723
- for (let item in backData[device]) {
724
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
725
- for (let i in backData[device][item].f_items) {
726
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
727
- this.printContent.push({
728
- type: 3,
729
- text: backData[device][item].f_items[i].f_item_name + ' ' + backData[device][item].f_items[i].f_item_value,
730
- fontsize: 2,
731
- isbold: true,
732
- align: 'left'
733
- })
734
- }
735
- }
736
- }
737
- }
738
- }
739
- }
740
-
741
- }
742
- }else {
743
- for (let dev in this.$parent.config) {
744
- for (let device in backData) {
745
- if (device.startsWith("device")) {
746
- for (let item in backData[device]) {
747
- //遍历结果
748
- if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
749
- let error = true
750
- for (let i in backData[device][item].f_items) {
751
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
752
- error = false
753
- }
754
- }
755
- if (error) {
756
- this.printContent.push({
757
- type: 3,
758
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
759
- fontsize: 2,
760
- isbold: false,
761
- align: 'left'
762
- })
763
- } else {
764
- this.printContent.push({
765
- type: 3,
766
- text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
767
- fontsize: 2,
768
- isbold: false,
769
- align: 'left'
770
- })
771
- }
772
-
773
- for (let i in backData[device][item].f_items) {
774
- if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
775
- this.printContent.push({
776
- type: 3,
777
- text: '隐患:' + backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
778
- fontsize: 2,
779
- isbold: false,
780
- align: 'left'
781
- })
782
- }
783
- }
784
- this.printContent.push({type: 4, value: 2, unit: 'line'})
785
- }
786
- }
787
- }
788
- }
789
- }
790
- }
791
- },
792
- //获取当前时间
793
- getNowFormatDate(){
794
- var date = new Date();
795
- var seperator1 = "-";
796
- var seperator2 = ":";
797
- var month = date.getMonth() + 1;
798
- var strDate = date.getDate();
799
- if (month >= 1 && month <= 9) {
800
- month = "0" + month;
801
- }
802
- if (strDate >= 0 && strDate <= 9) {
803
- strDate = "0" + strDate;
804
- }
805
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
806
- + " " + date.getHours() + seperator2 + date.getMinutes()
807
- + seperator2 + date.getSeconds();
808
- return currentdate;
809
- },
810
- readRepair () {
811
- let url = this.$androidUtil.getProxyUrl()
812
- let gen = getRepairs(this,url)
813
- return co(gen)
814
- },
815
- showToRepair(){
816
- let res = this.hasDefect()
817
- //tag
818
- //tag
819
- if(res == '正常'){
820
- this.showrepair = false
821
- }else{
822
- this.showrepair = true
823
- this.assignObj()
824
- }
825
- this.showCheckToRepair = !this.showCheckToRepair
826
- },
827
- // 选中部门
828
- reres(val){
829
- if(val.res == undefined){
830
- return
831
- }
832
- this.model.serviceacitivity[0].f_meetunit = val.res
833
- this.model.f_meetunit = val.res
834
- this.model.f_orgstr = val.resids
835
- var arr = val.res.split('.')
836
- this.model.f_outlets = arr[arr.length - 1]
837
- this.model.serviceacitivity[0].f_reciever = val.resids
838
- },
839
- assignObj(){
840
- this.model.f_contact_phone = this.paper.f_user_phone
841
- this.model.f_user_name = this.paper.f_user_name
842
- this.model.f_address = this.paper.f_address
843
- this.model.f_user_type = this.paper.f_check_type
844
- this.model.f_street = this.paper.f_street
845
- this.model.f_residential_area = this.paper.f_residential_area
846
- this.model.f_building = this.paper.f_building
847
- this.model.f_unit = this.paper.f_unit
848
- this.model.f_floor = this.paper.f_floor
849
- this.model.f_room = this.paper.f_room
850
- this.model.f_floor = this.paper.f_floor
851
- this.model.f_userinfo_id = this.paper.f_userinfoid
852
- this.model.f_userinfo_code = this.paper.f_userinfo_code
853
- },
854
- hasDefect(){
855
- let checkResult = '正常'
856
- let codata = JSON.parse(JSON.stringify(this.paper))
857
- for(let device in this.paper){
858
- if(device.startsWith("device")){
859
- for(let item in this.paper[device]) {
860
- for(let i in this.paper[device][item].f_items){
861
- let items = this.paper[device][item].f_items[i]
862
- //tag
863
- if(items.f_is_defect == true || items.f_is_defect == 'true'){
864
- checkResult = '有隐患'
865
- }
866
- }
867
- }
868
- }
869
- }
870
- return checkResult
871
- },
872
- uploadPaper() {
873
- if(this.showrepair){
874
- this.$parent.isToRepair = true
875
- this.$parent.savePaper(false).then((res) => {
876
- //tag
877
- if(res != true){
878
- //tag
879
- return
880
- }else{
881
- //TODO 上传成功 转维修失败
882
- this.todo()
883
- }
884
- })
885
- }else{
886
- this.undo()
887
- }
888
-
889
- },
890
- //确认安检转维修
891
- todo(){
892
- let gen = getRepairParam(this)
893
- co(gen)
894
- },
895
- undo(){
896
- this.showCheckToRepair = !this.showCheckToRepair
897
- this.model.serviceacitivity[0].f_reciever = ''
898
- this.model.serviceacitivity[0].f_meetunit = ''
899
- this.model.f_repairtype = ''
900
- this.meading = '转站点'
901
- },
902
- repiarmancg(val){
903
- if(val){
904
- //tag
905
- this.model.serviceacitivity[0].f_reciever = val.name
906
- let http1 = new HttpResetClass()
907
- http1.load('POST',`${this.Url}/rs/sql/tel_singleTable_OrderBy`, {data: {
908
- items: 'f_user_telephone',
909
- tablename: 't_user',
910
- condition: `name = '${val}'`,
911
- orderitem: 'id'
912
- }}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
913
- this.model.f_repairman_phone = ress.data[0].f_user_telephone
914
- })
915
- }
916
- },
917
- },
918
- ready() {
919
- for (let item of this.radios){
920
- if(this.paper.f_client_evaluation == item.label){
921
- item.isChecked = true;
922
- }
923
- }
924
- //tag
925
- //tag
926
- //tag
927
- //tag
928
- if (!this.paper.f_notified_path)
929
- this.$set('paper.f_notified_path', Vue.nopic)
930
- if (!this.paper.f_sign_path)
931
- this.$set('paper.f_sign_path', Vue.nopic)
932
- if (!this.paper.f_overall_imgs){
933
- let imgs = []
934
- // imgs.push({f_overall_path:Vue.nopic})
935
- this.$set('paper.f_overall_imgs', imgs)
936
- //tag
937
- }
938
- if (!this.paper.f_overall2_path)
939
- this.$set('paper.f_overall2_path', Vue.nopic)
940
-
941
- this.userid = this.role == 'view'? this.$login.f.id:Vue.user.id
942
- if(Vue.config.safecheck != undefined){
943
- if(Vue.config.safecheck.ApproveConfig != undefined){
944
- if(Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
945
- this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
946
- }
947
- }
948
- }
949
- //tag
950
- //tag
951
- },
952
- watch:{
953
- '$parent.isUpload'(val){
954
- //tag
955
- }
956
- }
957
- }
958
- </script>
959
- <style>
960
- .text-left{
961
- text-align:left;
962
- }
963
- .font{
964
- font: 15px PingFang-SC-Medium;
965
- color: #333333;
966
- }
967
- .showInput{
968
- font: 14px PingFang-SC-Medium;
969
- color: #666666;
970
- }
971
- .info{
972
- margin-top: 15px;
973
- border-radius: 5px;
974
- background-color: #f3faff;
975
- }
976
- .btn-photo{
977
- border: 0;
978
- border-radius: 7px;
979
- background-color: #7dc1f4;
980
- font: 15px PingFang-SC-Bold;
981
- height: 20%;
982
- }
983
- .div-photo{
984
- width: auto;
985
- height: auto;
986
- /* margin-top: 10px; */
987
- position: absolute;
988
- bottom: 10px;
989
- right: 10px;
990
- }
991
- .btn-voice{
992
- border-radius: 7px;
993
- border: 1px solid #dedede;
994
- background-color: #f5fbff;
995
- font: 15px PingFang-SC-Bold;
996
- color: #499edf;
997
- }
998
- .save-btn{
999
- width: 25%;
1000
- background-color:#499edf;
1001
- border-radius: 6px;
1002
- color: #FFFFFF;
1003
- font: 15px PingFang-SC-Bold;
1004
- }
1005
- .upload-btn{
1006
- width: 25%;
1007
- background-color:#ffffff;
1008
- border: 1px solid #499edf;
1009
- border-radius: 6px;
1010
- color: #499edf;
1011
- font: 15px PingFang-SC-Bold;
1012
- }
1013
- .repair-btn{
1014
- width: 25%;
1015
- border: 1px solid #499edf;
1016
- border-radius: 6px;
1017
- font: 15px PingFang-SC-Bold;
1018
- }
1019
- </style>
1
+ <template>
2
+ <div class="auto">
3
+ <div style="width: 100%;height: 36px;background-color: #f1f8ff">
4
+ <div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
5
+ <div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">拍照选项:</p></div>
6
+ </div>
7
+ <form novalidate class="form-horizontal" style="width: 100%;margin: auto">
8
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 info" style="width:100%;">
9
+ <div class="text-center">
10
+ <label class="font">检查说明:</label>
11
+ </div>
12
+ <div class="col-md-12 col-sm-12 col-xs-12" style="width: 90%;margin-left: 5px">
13
+ <ol class="showInput" style="width: 90%;margin-left: 40px">
14
+ <li>已对客户燃气设施进行了安全检查</li>
15
+ <li>已对客户进行了安全知识宣传,并发放宣传资料</li>
16
+ <li>已对客户的资料进行了登记</li>
17
+ <li>已对违章及隐患之客户下发隐患整改告知书</li>
18
+ </ol>
19
+ </div>
20
+ </div>
21
+
22
+ <div class="form-group col-sm-12" style="margin-top: 10px">
23
+ <div class="auto" style="width: 100%;float: left;" >
24
+ <label class="text-left font">总体送气照片</label>
25
+ <div class="auto">
26
+ <div class="panel">
27
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
28
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
29
+ <div class="row">
30
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 10px;margin-right: 75px" v-for="(index,img) in paper.f_overall_imgs">
31
+ <img-self :src="img.f_overall_path" alt="总体送气照片" :width="150" :height="200"></img-self>
32
+ </div>
33
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 10px;margin-right: 75px" v-for="(index,img) in fileInfoData">
34
+ <img-self :src="img.f_downloadURL" alt="总体送气照片" :width="150" :height="200"></img-self>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="row text-right div-photo">
39
+ <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall_path', '总体安检照片1')">拍照</button>-->
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <!--<div class="auto" style="width: 49%;float: left;margin-left: 20px">-->
46
+ <!--<label class="text-left font">总体安检照片2</label>-->
47
+ <!--<div class="auto">-->
48
+ <!--<div class="panel">-->
49
+ <!--<div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">-->
50
+ <!--<div class="row" style="height: 240px;overflow: scroll;top: 1px">-->
51
+ <!--<div class="col-sm-4">-->
52
+ <!--<img-self :src="paper.f_overall2_path" alt="总体安检照片2" width="150" height="200"></img-self>-->
53
+ <!--</div>-->
54
+ <!--</div>-->
55
+ <!--<div class="row text-right div-photo">-->
56
+ <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall2_path', '总体安检照片2')">拍照</button>-->
57
+ <!--</div>-->
58
+ <!--</div>-->
59
+ <!--</div>-->
60
+ <!--</div>-->
61
+ <!--</div>-->
62
+ </div>
63
+ <div class="form-group col-sm-12" style="margin-top: 20px">
64
+ <label class="text-left font">用户签名</label>
65
+ <div class="auto">
66
+ <div class="panel">
67
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
68
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
69
+ <div class="col-sm-4">
70
+ <img :class="style__" :src="paper.f_sign_path" :width="200" :height="150" />
71
+ </div>
72
+ </div>
73
+ <!--<div class="row text-right div-photo">-->
74
+ <!--&lt;!&ndash;<button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>&ndash;&gt;-->
75
+ <!--</div>-->
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ <div class="form-group col-sm-12" v-if="paper.f_exceed_reason">
81
+ <label>送气超期原因:</label><br/>
82
+ <textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
83
+ </div>
84
+ <!--<div class="form-group col-sm-12" style="margin-top: 20px">
85
+ <input type="checkbox" :readonly="true" :checked="paper.f_blacklist=='是'"/><label class="text-left font" >限制该用户购气</label>
86
+ <textarea if="paper.f_blacklist=='是'" id="el_ca_tx" v-model.trim="paper.f_blocking_cause" style="border-radius:4px;width: 100%;" >
87
+ </textarea>
88
+ </div>-->
89
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
90
+ <!--<div class="form-group col-md-12 col-sm-12 col-xs-12">
91
+ <input type="checkbox" v-model="paper.f_defect_notified" class="showInput"/>安检通知书/隐患整改通知书
92
+ </div>
93
+ <div class="form-group col-md-12 col-sm-12 col-xs-12" v-if="paper.f_defect_notified">
94
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
95
+ <button type="button" @click="print()">打印隐患整改单</button>
96
+ </div>
97
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
98
+ <label class="text-left font">安检通知书/隐患整改通知书照片(要求能清晰反应安检通知单和用户签字内容):</label>
99
+ <div class="auto" >
100
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
101
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
102
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px">
103
+ <div class="col-sm-4">
104
+ <img-self :src="paper.f_notified_path" alt="安检通知书/隐患整改通知书照片" width="150" height="200"></img-self>
105
+ </div>
106
+ </div>
107
+ <div class="row text-right div-photo">
108
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_notified_path', '安检通知书/隐患整改通知书照片')">拍照</button>
109
+ &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../assets/remove.png" :class="style__" @click="delfile('f_notified_path', this.paper.f_notified_path)" style="width: 25%;"></img>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ -->
117
+ <div class="form-group col-md-12 col-sm-12 col-xs-12">
118
+ <div class="row">
119
+ <label class="text-left">请对我们的服务做出评价:</label>
120
+ </div>
121
+ <div class="col-xs-4 col-sm-4" v-for="item in radios">
122
+ <input v-model="paper.f_client_evaluation" :value="item.label" :checked='item.isChecked' @click="check(item.value)" type="radio">{{item.label}}
123
+ </div>
124
+ </div>
125
+ <!-- <div class="form-group col-md-12 col-sm-12 col-xs-12">-->
126
+ <!-- <label class="text-left font">反馈录音:</label>-->
127
+ <!-- <div class="col-md-12 col-sm-12 col-xs-12" v-if="!paper.f_recording1_path">-->
128
+ <!-- <audio :src="paper.f_recording1_path" v-el:audio controls @click="palyAudio(row)"></audio>-->
129
+ <!-- </div>-->
130
+ <!-- </div>-->
131
+ <div class="text-center form-group col-md-12 col-sm-12 col-xs-12">
132
+ <button type="button" v-show="$parent.actionEnabled" class="btn save-btn" @click="$parent.savePaper(true)">保存</button>
133
+ <button id="upload" type="button" v-show="$parent.actionEnabled && !$parent.isBusy" class="btn upload-btn" @click="$parent.uploadPaper" >上传</button>
134
+ <button v-if="safeCheckToRepair && $parent.actionEnabled" class="btn repair-btn btn-warning" type="button" @click="showToRepair">转维修</button>
135
+ </div>
136
+ </div>
137
+ </form>
138
+
139
+ <modal :show.sync="showCheckToRepair" v-ref:modal :backdrop="isback">
140
+ <div slot="modal-header" class="modal-header">
141
+ <h4 class="modal-title">
142
+ 安检转维修
143
+ </h4>
144
+ </div>
145
+ <div slot="modal-body" class="modal-body">
146
+ <div v-if="showrepair">
147
+ <div class="row">
148
+ <label class="col-xs-4 col-md-4 control-label text-left">派单方式</label>
149
+ <div class="col-xs-8 col-md-8">
150
+ <label v-for="handling1 in handling" >
151
+ <input type="radio"
152
+ v-model="meading"
153
+ value="{{handling1.label}}">
154
+ {{handling1.label}}
155
+ </label>
156
+ </div>
157
+ </div>
158
+ <div class="row" v-if="meading == '转站点'">
159
+ <label class="col-xs-4 col-md-4 control-label font text-left" for="f_reciever">站点</label>
160
+ <div class="col-xs-8 col-md-8">
161
+ <right-tree @ready="onReady" islist :Url="Url" :userid="userid" :source="source" v-on:re-res="reres" :textContent="选择站点管理员" :selectData="" v-ref:f_reciever>
162
+ </right-tree>
163
+ </div>
164
+ </div>
165
+
166
+ <div class="row" style="margin-top: 6px" v-if="meading == '转维修员'">
167
+ <label class="col-xs-4 col-md-4 control-label font text-left">维修人</label>
168
+ <div class="col-xs-8">
169
+ <v-select :value="model.serviceacitivity[0].f_reciever" :value-single="true"
170
+ :options='f_repair_person' placeholder='请选择维修员'
171
+ close-on-select v-on:change="repiarmancg"></v-select>
172
+ </div>
173
+
174
+ </div>
175
+ <div class="row" style="margin-top: 6px">
176
+ <label for="f_repair" class="col-xs-4 col-md-4 control-label font text-left">报修类型</label>
177
+ <div class="col-xs-8 col-md-8">
178
+ <v-select :value.sync="model.f_repairtype" :value-single="true"
179
+ :options='repairstypes' placeholder='报修类型'
180
+ close-on-select>
181
+ </v-select>
182
+ </div>
183
+ </div>
184
+
185
+ <div class="row" style="margin-top: 6px">
186
+ <label class="control-label font text-left col-md-4 col-xs-4">备注</label>
187
+ <div class="col-xs-8 col-md-8">
188
+ <input type="text" v-model="model.f_remarks"/>
189
+ </div>
190
+
191
+ </div>
192
+
193
+ </div>
194
+ <div v-if="!showrepair">
195
+ 暂无隐患设备信息
196
+ </div>
197
+ </div>
198
+ <div slot="modal-footer" class="modal-footer">
199
+ <button type="button" class="btn btn-default" @click="uploadPaper()">确定</button>
200
+ <button type="button" class="btn btn-default" @click="undo()">取消</button>
201
+ </div>
202
+ </modal>
203
+ </div>
204
+ </template>
205
+
206
+ <script>
207
+ import Vue from 'vue'
208
+ import * as Util from '../Util'
209
+ import { HttpResetClass } from 'vue-client'
210
+ import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
211
+ import Radio from 'vue-client/src/vue-strap/src/radioBtn'
212
+ import co from 'co'
213
+
214
+ let getRepairParam = function * (self){
215
+ let data = {
216
+ model: self.model, loginUser: {
217
+ name: self.role == 'view'?self.$login.f.name:Vue.user.name,
218
+ ename: self.role == 'view'?self.$login.f.ename:Vue.user.ename
219
+ }, user: self.user, callObj: self.callObj
220
+ }
221
+ if(self.meading == '转维修员'){
222
+ data.toRepair = '一级派单'
223
+ }
224
+ data.model.f_attendant = data.loginUser.name
225
+ //tag
226
+ //tag
227
+ let res
228
+ let errString = self.$parent.errorVerify()
229
+ if(errString){
230
+ //tag
231
+ if (Vue.android)
232
+ self.undo()
233
+ this.$showMessage(errString)
234
+ return
235
+ } else {
236
+ if(self.role == 'inspect'){
237
+ if(self.meading == '转维修员' && (self.model.serviceacitivity[0].f_reciever == '' || self.model.serviceacitivity[0].f_reciever == undefined)){
238
+ this.$showMessage("请选择维修员!")
239
+ return
240
+ }
241
+ if(self.meading == '转站点' && (self.model.serviceacitivity[0].f_reciever == '' || self.model.serviceacitivity[0].f_reciever == undefined)){
242
+ this.$showMessage("请选择站点!")
243
+ return
244
+ }
245
+ if(self.model.f_repairtype == ''){
246
+ this.$showMessage("请选择报修类型!")
247
+ return
248
+ }
249
+ //tag)
250
+ let checkResult = '正常'
251
+ let options = [{"data": "已处理"},{"data": "未处理"}]
252
+ let value = ''
253
+ let codata = JSON.parse(JSON.stringify(self.paper))
254
+ for(let device in codata){
255
+ //tag)
256
+ let f_device_type
257
+ if(device.startsWith("device")){
258
+ for(let item in codata[device]) {
259
+ if(codata[device].length > 1 ){
260
+ let j = Number.parseInt(item)+1
261
+ f_device_type = `${codata[device][item].f_device_type}${j}`
262
+ }else{
263
+ f_device_type = codata[device][item].f_device_type
264
+ }
265
+ // //tag
266
+ let details = []
267
+ for(let i in codata[device][item].f_items){
268
+ let items = codata[device][item].f_items[i]
269
+ //tag
270
+ if(items.f_is_defect == true || items.f_is_defect == 'true'){
271
+ checkResult = '有隐患'
272
+ //tag
273
+ let res = yield self.$resetpost(`${self.Url}/api/af-safecheck/sql/getDeviceItem`,{data:{f_device_id:codata[device][item].f_device_id,f_item_name:items.f_item_name}})
274
+ //tag)
275
+ self.$set('detail.f_defect_id', res.data[0].id)
276
+ self.$set('detail.f_project',`${items.f_item_name}:${items.f_item_value}`)
277
+ self.$set('detail.type',items.type)
278
+ self.$set('detail.options',options)
279
+ details.push(JSON.parse(JSON.stringify(self.detail)))
280
+ }
281
+ if(items.type == 'selector'){
282
+ items.selected = ''
283
+ }
284
+ self.detail = {}
285
+ }
286
+ //tag
287
+ self.$set('defectDevice.f_type',f_device_type)
288
+ self.$set('defectDevice.details',details)
289
+ if(self.defectDevice.details.length >0 ){
290
+ self.repairitems.push(JSON.parse(JSON.stringify(self.defectDevice)))
291
+ }
292
+ self.defectDevice = {}
293
+ //tag
294
+ }
295
+ }
296
+ }
297
+ self.$set('model.f_repairitems.data',self.repairitems)
298
+
299
+
300
+ //tag)
301
+ res = self.$androidUtil.bzLogic('safecheckToRepair',data)
302
+ //tag
303
+ //tag
304
+ //tag
305
+ if(res.code == 200){
306
+ self.$parent.isSafeCheckToRepair = true
307
+ self.undo()
308
+ self.$set('paper.f_SafeToRepair_id',res.data.f_service_id)
309
+ //tag
310
+ self.$resetpost(`${self.Url}/api/af-safecheck/logic/updatePaperRepair`,{data:{f_paper_id:self.paper.f_paper_id,f_SafeToRepair_id:res.data.f_service_id}}).then((ret)=>{
311
+ //tag
312
+ if(ret.data.code ==200){
313
+ //tag
314
+ self.$parent.$back()
315
+ }else{
316
+ self.$showMessage('安检转维修失败!')
317
+ }
318
+ }).catch(v=>{
319
+ //tag)
320
+ self.$showMessage('安检转维修失败!')
321
+ })
322
+ }else{
323
+ self.$showMessage('安检转维修失败!')
324
+ }
325
+ }
326
+ }
327
+ }
328
+
329
+
330
+
331
+ let getRepairs = async function(self,url) {
332
+ // 获取配置信息
333
+ try {
334
+ let val = {source: 'this.getParentByType($department$).getChildByName($维修员$).getUsers()', userid: `${Vue.$login.jwt}`}
335
+ let repairs =[]
336
+ let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
337
+ res.data.forEach((item) => {
338
+ repairs.push({label: item.name, value: item})
339
+ })
340
+ self.f_repair_person = repairs
341
+ if(self.$parent.role == 'inspect'){
342
+ let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
343
+ if(res.code == 200){
344
+ self.user = res.data[0]
345
+ self.model.f_area = self.user.f_area
346
+ }
347
+ }else{
348
+ //tag
349
+ self.$resetpost(`${self.Url}/api/af-safecheck/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
350
+ //tag
351
+ if(res.data.length != 0){
352
+ self.user = res.data[0]
353
+ self.model.f_area = self.user.f_area
354
+ }
355
+ })
356
+ // path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
357
+ }
358
+ } catch (error) {
359
+ //tag
360
+ }
361
+ }
362
+
363
+ export default {
364
+ title: '用户反馈',
365
+ data() {
366
+ return {
367
+ fileInfoData:[],
368
+ paper:this.$parent.data,
369
+ printContent:[],
370
+ radios:[
371
+ {
372
+ label: '满意',
373
+ value: 0,
374
+ isChecked: false,
375
+ },
376
+ {
377
+ label: '基本满意',
378
+ value:1,
379
+ isChecked: false,
380
+ },
381
+ {
382
+ label: '不满意',
383
+ value:2,
384
+ isChecked: false,
385
+ },
386
+ ],
387
+ model: {
388
+ // 一次派单
389
+ serviceacitivity: [{
390
+ f_service_acitivity_type: '派单'
391
+ }],
392
+ f_source:'安检',
393
+ f_service_id: '',
394
+ f_contact_phone: '',
395
+ f_meetunit: '',
396
+ f_phone: '',
397
+ f_user_name: '',
398
+ f_address: '',
399
+ f_repair_date: Util.toStandardTimeString(),
400
+ f_card_id: '',
401
+ // f_department: '', 站点选择
402
+ f_reciever:'',
403
+ f_remarks: '',
404
+ f_user_type: '',
405
+ f_area: '',
406
+ f_unit_name:'',
407
+ f_street: '',
408
+ f_residential_area: '',
409
+ f_building: '',
410
+ f_unit: '',
411
+ f_floor: '',
412
+ f_room: '',
413
+ aState: null,
414
+ f_repairtype: '',
415
+ f_repairitems:{},
416
+ },
417
+ repairitems:[],
418
+ repairstypes:this.$appdata.getParam('报修类型'),
419
+ //f_repair_person: this.readRepair(),
420
+ showrepair: false,
421
+ safeCheckToRepair:'',
422
+ showCheckToRepair:false,
423
+ userid: '',
424
+ source:
425
+ 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
426
+ 'tool.getFullTree(dep.where(row.getChildByName($派单员$) != null))',
427
+ isback:false,
428
+ defectDevice:{},
429
+ detail:{},
430
+ callObj:null,
431
+ user:{},
432
+ role:this.$parent.role,
433
+ handling:[{label:'转站点',value:'转站点'},{label:'转维修员',value:'转维修员'}],
434
+ meading:'转站点',
435
+ Url:this.$androidUtil.getProxyUrl()
436
+ }
437
+ },
438
+ props: ['idx','item'],
439
+ components: {
440
+ RadioGroup,
441
+ Radio
442
+ },
443
+ methods: {
444
+ //获取pc上传的送气全景照片
445
+ getGaspic() {
446
+ let data = {
447
+ tablename: 't_files',
448
+ condition: `f_blobid = '${this.item.id}' order by f_uploaddate desc `
449
+ }
450
+ let http = new HttpResetClass()
451
+ http.load('post', 'api/af-safecheck/sql/singleTable', {data: data}, {
452
+ resolveMsg: null,
453
+ rejectMsg: null
454
+ }).then(getFile=> {
455
+ for (var i = 0; i < getFile.data.length; i++) {
456
+ let temp = getFile.data[i].f_downloadpath
457
+ if (temp) {
458
+ let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
459
+ getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
460
+ }
461
+ }
462
+ this.fileInfoData = []
463
+ this.fileInfoData = getFile.data
464
+ })
465
+ },
466
+ check(index) {
467
+ //tag
468
+ // 先取消所有选中项
469
+ for (let item of this.radios){
470
+ item.isChecked = false;
471
+ }
472
+ //再设置当前点击项选中
473
+ this.paper.f_client_evaluation = this.radios[index].label;
474
+ // 设置值,以供传递
475
+ this.radios[index].isChecked = true;
476
+ //tag;
477
+ },
478
+ getSignValue(fileName) {
479
+ this.f_signname = fileName
480
+ },
481
+ cameraCallBack(prop, fileName) {
482
+ HostApp.__this__.paper[prop] = fileName + '?' + Math.random()
483
+ HostApp.__callback__ = null
484
+ HostApp.__this__ = null
485
+ },
486
+ takePic(prop, title) {
487
+ HostApp.__callback__ = this.cameraCallBack
488
+ HostApp.__this__ = this
489
+ //tag
490
+ //tag
491
+ let fileName
492
+ if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
493
+ fileName = Util.guid() + '-' + prop + '.jpg'
494
+ } else {
495
+ fileName = Util.getFileName(this.paper[prop])
496
+ }
497
+ HostApp._open_a_page({
498
+ type: 'boomerang',
499
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
500
+ param: {
501
+ file: fileName,
502
+ requestCode: 111,
503
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
504
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
505
+ }
506
+ })
507
+ },
508
+ amrCallBack(fileName) {
509
+ HostApp.__this__.$set('paper.f_recording1_path', fileName)
510
+ HostApp.__callback__ = null
511
+ HostApp.__this__ = null
512
+ },
513
+ record() {
514
+ if (this.$parent.role != 'inspect') {
515
+ if (this.paper.f_recording1_path != '') {
516
+ window.location = this.paper.f_recording1_path
517
+ }
518
+ } else {
519
+ HostApp.__callback__ = this.amrCallBack
520
+ HostApp.__this__ = this
521
+ let fileName
522
+ if (!this.paper.f_recording1_path) {
523
+ fileName = Util.guid() + '.amr'
524
+ } else {
525
+ fileName = Util.getFileName(this.paper.f_recording1_path)
526
+ }
527
+ HostApp._open_a_page({
528
+ type: 'boomerang',
529
+ page: 'com.aofeng.hybrid.android.peripheral.AudioClipActivity',
530
+ param: {file: fileName, requestCode: 111, callback: 'javascript:HostApp.__callback__("%s");'}
531
+ })
532
+ }
533
+ },
534
+ // 签名回调
535
+ signCallback(prop, fileName) {
536
+ // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
537
+ HostApp.__this__.$set('paper.f_sign_path', fileName)
538
+ HostApp.__callback__ = null
539
+ HostApp.__this__ = null
540
+ },
541
+ // 用户签名
542
+ sign() {
543
+ this.delAudioFile('f_sign_path', this.paper.f_sign_path)
544
+ let prop = 'f_sign_path'
545
+ let idx = 'aofeng'
546
+ let fileName
547
+ if (!this.paper.f_sign_path) {
548
+ fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
549
+ } else {
550
+ fileName = Util.getFileName(this.paper.f_sign_path)
551
+ }
552
+ HostApp.__callback__ = this.signCallback
553
+ HostApp.__this__ = this
554
+ HostApp.getSignature({
555
+ file: fileName,
556
+ requestCode: 111,
557
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
558
+ })
559
+ },
560
+ delfile(prop, fileName) {
561
+ if (fileName == Vue.nopic)
562
+ return
563
+ else {
564
+ HostApp.delfile(fileName)
565
+ this.paper[prop] = Vue.nopic
566
+ }
567
+ },
568
+ delAudioFile(prop, fileName) {
569
+ if (!fileName)
570
+ return
571
+ else {
572
+ HostApp.delfile(fileName)
573
+ this.paper[prop] = null
574
+ }
575
+ },
576
+ //获取打印用户信息
577
+ getUser() {
578
+ if (this.paper.f_user_name == undefined)
579
+ this.paper.f_user_name = ''
580
+ this.printContent.push({type: 3, text: '用户名称:' + this.paper.f_user_name, fontsize: 2, isbold: false, align: 'left'})
581
+ if (this.paper.f_userinfo_code == undefined)
582
+ this.paper.f_userinfo_code = ''
583
+ this.printContent.push({type: 3, text: '用户编号:' + this.paper.f_userinfo_code, fontsize: 2, isbold: false, align: 'left'})
584
+ if (this.paper.f_address == undefined)
585
+ this.paper.f_address = ''
586
+ this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
587
+ if (this.paper.f_user_phone == undefined)
588
+ this.paper.f_user_phone = ''
589
+ this.printContent.push({type: 3, text: '电话:' + this.paper.f_user_phone, fontsize: 2, isbold: false, align: 'left'})
590
+ },
591
+ verify(){
592
+ let hasError = this.$parent.verifyUser()
593
+ if(hasError)
594
+ return hasError
595
+ hasError = this.$parent.verifyDevices()
596
+ if(hasError)
597
+ return hasError
598
+ },
599
+ print() {
600
+ let errString = this.verify()
601
+ if (errString) {
602
+ //tag
603
+ if (Vue.android)
604
+ this.$showMessage(errString)
605
+ return
606
+ }
607
+ // 文本
608
+ let templatename = '安检结果单'
609
+ if(Vue.config.safecheck != undefined) {
610
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
611
+ if (Vue.config.safecheck.ApproveConfig.templatename != undefined) {
612
+ templatename = Vue.config.safecheck.ApproveConfig.templatename
613
+ }
614
+ }
615
+ }
616
+ let textHead = {type: 3, text: templatename, fontsize: 3, isbold: true, align: 'center'}
617
+ let feedPageHead = {type: 4, value: 2, unit: 'line'}
618
+ let feedPageEnd = {type: 4, value: 4, unit: 'line'}
619
+ this.printContent.push(textHead)
620
+ this.printContent.push(feedPageHead)
621
+ this.getUser()
622
+ this.getDefect()
623
+ this.getCheck()
624
+ this.printContent.push(feedPageEnd)
625
+ let arrstr = JSON.stringify(this.printContent)
626
+ //tag
627
+ this.$androidUtil.print(arrstr)
628
+ this.$set('printContent', [])
629
+ },
630
+ //打印安检信息
631
+ getCheck() {
632
+ let telephone = '96777'
633
+ if(Vue.config.safecheck != undefined) {
634
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
635
+ if (Vue.config.safecheck.ApproveConfig.checkphone != undefined) {
636
+ telephone = Vue.config.safecheck.ApproveConfig.checkphone
637
+ }
638
+ }
639
+ }
640
+ this.printContent.push({type: 3, text: '*******************************', fontsize: 3, isbold: false, align: 'center'})
641
+ this.printContent.push({type: 3, text: '咨询电话;'+telephone, fontsize: 2, isbold: false, align: 'left'})
642
+ this.printContent.push({type: 3, text: '安检人:'+Vue.user.name, fontsize: 2, isbold: false, align: 'left'})
643
+ this.printContent.push({type: 3, text: '安检时间:' + this.getNowFormatDate(), fontsize: 2, isbold: false, align: 'left'})
644
+ this.printContent.push({type: 3, text: '用户签字:', fontsize: 2, isbold: false, align: 'left'})
645
+ this.printContent.push({type: 4, value: 4, unit: 'line'})
646
+ },
647
+
648
+ getDefect() {
649
+ let showmore = false
650
+ if(Vue.config.safecheck != undefined) {
651
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
652
+ if (Vue.config.safecheck.ApproveConfig.showmore != undefined) {
653
+ showmore = Vue.config.safecheck.ApproveConfig.showmore
654
+ }
655
+ }
656
+ }
657
+
658
+ let backData = this.$parent.getAllDefect()
659
+ // 对隐患信息进行遍历
660
+ let res = JSON.parse(backData.f_defect_content)
661
+ this.printContent.push({
662
+ type: 3,
663
+ text: '安检结果:' + res.result,
664
+ fontsize: 2,
665
+ isbold: false,
666
+ align: 'left'
667
+ })
668
+ this.printContent.push({type: 3, text: '*******************************', fontsize: 3, isbold: false, align: 'center'})
669
+
670
+
671
+ if(showmore) {
672
+ //全部打印
673
+ for (let dev in this.$parent.config) {
674
+ for (let device in backData) {
675
+ if (device.startsWith("device")) {
676
+ for (let item in backData[device]) {
677
+ //遍历结果
678
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
679
+ let error = true
680
+ for (let i in backData[device][item].f_items) {
681
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
682
+ error = false
683
+ }
684
+ }
685
+ if (error) {
686
+ this.printContent.push({
687
+ type: 3,
688
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
689
+ fontsize: 2,
690
+ isbold: false,
691
+ align: 'left'
692
+ })
693
+ } else {
694
+ this.printContent.push({
695
+ type: 3,
696
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
697
+ fontsize: 2,
698
+ isbold: true,
699
+ align: 'left'
700
+ })
701
+ }
702
+
703
+ for (let i in backData[device][item].f_items) {
704
+ if (backData[device][item].f_items[i].f_item_value != '' && backData[device][item].f_items[i].f_item_value != null) {
705
+ this.printContent.push({
706
+ type: 3,
707
+ text: backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
708
+ fontsize: 2,
709
+ isbold: false,
710
+ align: 'left'
711
+ })
712
+ }
713
+ }
714
+ this.printContent.push({type: 4, value: 2, unit: 'line'})
715
+ }
716
+ }
717
+ }
718
+ }
719
+ }
720
+
721
+ for (let dev in this.$parent.config) {
722
+ for (let device in backData) {
723
+ if (device.startsWith("device")) {
724
+ for (let item in backData[device]) {
725
+ //遍历结果
726
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
727
+ let error = true
728
+ for (let i in backData[device][item].f_items) {
729
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
730
+ error = false
731
+ }
732
+ }
733
+ if (!error) {
734
+ this.printContent.push({
735
+ type: 3,
736
+ text: '隐患:',
737
+ fontsize: 2,
738
+ isbold: true,
739
+ align: 'left'
740
+ })
741
+ }
742
+ }
743
+ }
744
+ }
745
+ }
746
+ for (let device in backData) {
747
+ if (device.startsWith("device")) {
748
+ for (let item in backData[device]) {
749
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
750
+ for (let i in backData[device][item].f_items) {
751
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
752
+ this.printContent.push({
753
+ type: 3,
754
+ text: backData[device][item].f_items[i].f_item_name + ' ' + backData[device][item].f_items[i].f_item_value,
755
+ fontsize: 2,
756
+ isbold: true,
757
+ align: 'left'
758
+ })
759
+ }
760
+ }
761
+ }
762
+ }
763
+ }
764
+ }
765
+
766
+ }
767
+ }else {
768
+ for (let dev in this.$parent.config) {
769
+ for (let device in backData) {
770
+ if (device.startsWith("device")) {
771
+ for (let item in backData[device]) {
772
+ //遍历结果
773
+ if (backData[device].length != 0 && backData[device][item].f_device_type == dev) {
774
+ let error = true
775
+ for (let i in backData[device][item].f_items) {
776
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
777
+ error = false
778
+ }
779
+ }
780
+ if (error) {
781
+ this.printContent.push({
782
+ type: 3,
783
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':正常',
784
+ fontsize: 2,
785
+ isbold: false,
786
+ align: 'left'
787
+ })
788
+ } else {
789
+ this.printContent.push({
790
+ type: 3,
791
+ text: dev + (backData[device].indexOf(backData[device][item]) + 1) + ':有隐患',
792
+ fontsize: 2,
793
+ isbold: false,
794
+ align: 'left'
795
+ })
796
+ }
797
+
798
+ for (let i in backData[device][item].f_items) {
799
+ if (backData[device][item].f_items[i].f_is_defect == true || backData[device][item].f_items[i].f_is_defect == 'true') {
800
+ this.printContent.push({
801
+ type: 3,
802
+ text: '隐患:' + backData[device][item].f_items[i].f_item_name + backData[device][item].f_items[i].f_item_value,
803
+ fontsize: 2,
804
+ isbold: false,
805
+ align: 'left'
806
+ })
807
+ }
808
+ }
809
+ this.printContent.push({type: 4, value: 2, unit: 'line'})
810
+ }
811
+ }
812
+ }
813
+ }
814
+ }
815
+ }
816
+ },
817
+ //获取当前时间
818
+ getNowFormatDate(){
819
+ var date = new Date();
820
+ var seperator1 = "-";
821
+ var seperator2 = ":";
822
+ var month = date.getMonth() + 1;
823
+ var strDate = date.getDate();
824
+ if (month >= 1 && month <= 9) {
825
+ month = "0" + month;
826
+ }
827
+ if (strDate >= 0 && strDate <= 9) {
828
+ strDate = "0" + strDate;
829
+ }
830
+ var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
831
+ + " " + date.getHours() + seperator2 + date.getMinutes()
832
+ + seperator2 + date.getSeconds();
833
+ return currentdate;
834
+ },
835
+ readRepair () {
836
+ let url = this.$androidUtil.getProxyUrl()
837
+ let gen = getRepairs(this,url)
838
+ return co(gen)
839
+ },
840
+ showToRepair(){
841
+ let res = this.hasDefect()
842
+ //tag
843
+ //tag
844
+ if(res == '正常'){
845
+ this.showrepair = false
846
+ }else{
847
+ this.showrepair = true
848
+ this.assignObj()
849
+ }
850
+ this.showCheckToRepair = !this.showCheckToRepair
851
+ },
852
+ // 选中部门
853
+ reres(val){
854
+ if(val.res == undefined){
855
+ return
856
+ }
857
+ this.model.serviceacitivity[0].f_meetunit = val.res
858
+ this.model.f_meetunit = val.res
859
+ this.model.f_orgstr = val.resids
860
+ var arr = val.res.split('.')
861
+ this.model.f_outlets = arr[arr.length - 1]
862
+ this.model.serviceacitivity[0].f_reciever = val.resids
863
+ },
864
+ assignObj(){
865
+ this.model.f_contact_phone = this.paper.f_user_phone
866
+ this.model.f_user_name = this.paper.f_user_name
867
+ this.model.f_address = this.paper.f_address
868
+ this.model.f_user_type = this.paper.f_check_type
869
+ this.model.f_street = this.paper.f_street
870
+ this.model.f_residential_area = this.paper.f_residential_area
871
+ this.model.f_building = this.paper.f_building
872
+ this.model.f_unit = this.paper.f_unit
873
+ this.model.f_floor = this.paper.f_floor
874
+ this.model.f_room = this.paper.f_room
875
+ this.model.f_floor = this.paper.f_floor
876
+ this.model.f_userinfo_id = this.paper.f_userinfoid
877
+ this.model.f_userinfo_code = this.paper.f_userinfo_code
878
+ },
879
+ hasDefect(){
880
+ let checkResult = '正常'
881
+ let codata = JSON.parse(JSON.stringify(this.paper))
882
+ for(let device in this.paper){
883
+ if(device.startsWith("device")){
884
+ for(let item in this.paper[device]) {
885
+ for(let i in this.paper[device][item].f_items){
886
+ let items = this.paper[device][item].f_items[i]
887
+ //tag
888
+ if(items.f_is_defect == true || items.f_is_defect == 'true'){
889
+ checkResult = '有隐患'
890
+ }
891
+ }
892
+ }
893
+ }
894
+ }
895
+ return checkResult
896
+ },
897
+ uploadPaper() {
898
+ if(this.showrepair){
899
+ this.$parent.isToRepair = true
900
+ this.$parent.savePaper(false).then((res) => {
901
+ //tag
902
+ if(res != true){
903
+ //tag
904
+ return
905
+ }else{
906
+ //TODO 上传成功 转维修失败
907
+ this.todo()
908
+ }
909
+ })
910
+ }else{
911
+ this.undo()
912
+ }
913
+
914
+ },
915
+ //确认安检转维修
916
+ todo(){
917
+ let gen = getRepairParam(this)
918
+ co(gen)
919
+ },
920
+ undo(){
921
+ this.showCheckToRepair = !this.showCheckToRepair
922
+ this.model.serviceacitivity[0].f_reciever = ''
923
+ this.model.serviceacitivity[0].f_meetunit = ''
924
+ this.model.f_repairtype = ''
925
+ this.meading = '转站点'
926
+ },
927
+ repiarmancg(val){
928
+ if(val){
929
+ //tag
930
+ this.model.serviceacitivity[0].f_reciever = val.name
931
+ let http1 = new HttpResetClass()
932
+ http1.load('POST',`${this.Url}/api/af-safecheck/sql/tel_singleTable_OrderBy`, {data: {
933
+ items: 'f_user_telephone',
934
+ tablename: 't_user',
935
+ condition: `name = '${val}'`,
936
+ orderitem: 'id'
937
+ }}, {resolveMsg: null, rejectMsg: null}).then((ress) => {
938
+ this.model.f_repairman_phone = ress.data[0].f_user_telephone
939
+ })
940
+ }
941
+ },
942
+ },
943
+ ready() {
944
+ for (let item of this.radios){
945
+ if(this.paper.f_client_evaluation == item.label){
946
+ item.isChecked = true;
947
+ }
948
+ }
949
+ //tag
950
+ //tag
951
+ //tag
952
+ //tag
953
+ if (!this.paper.f_notified_path)
954
+ this.$set('paper.f_notified_path', Vue.nopic)
955
+ if (!this.paper.f_sign_path)
956
+ this.$set('paper.f_sign_path', Vue.nopic)
957
+ if (!this.paper.f_overall_imgs){
958
+ let imgs = []
959
+ // imgs.push({f_overall_path:Vue.nopic})
960
+ this.$set('paper.f_overall_imgs', imgs)
961
+ //tag
962
+ }
963
+ if (!this.paper.f_overall2_path)
964
+ this.$set('paper.f_overall2_path', Vue.nopic)
965
+
966
+ this.userid = this.role == 'view'? this.$login.f.id:Vue.user.id
967
+ if(Vue.config.safecheck != undefined){
968
+ if(Vue.config.safecheck.ApproveConfig != undefined){
969
+ if(Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
970
+ this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
971
+ }
972
+ }
973
+ }
974
+ //tag
975
+ //tag
976
+ this.getGaspic()
977
+ },
978
+ watch:{
979
+ '$parent.isUpload'(val){
980
+ //tag
981
+ }
982
+ }
983
+ }
984
+ </script>
985
+ <style>
986
+ .text-left{
987
+ text-align:left;
988
+ }
989
+ .font{
990
+ font: 15px PingFang-SC-Medium;
991
+ color: #333333;
992
+ }
993
+ .showInput{
994
+ font: 14px PingFang-SC-Medium;
995
+ color: #666666;
996
+ }
997
+ .info{
998
+ margin-top: 15px;
999
+ border-radius: 5px;
1000
+ background-color: #f3faff;
1001
+ }
1002
+ .btn-photo{
1003
+ border: 0;
1004
+ border-radius: 7px;
1005
+ background-color: #7dc1f4;
1006
+ font: 15px PingFang-SC-Bold;
1007
+ height: 20%;
1008
+ }
1009
+ .div-photo{
1010
+ width: auto;
1011
+ height: auto;
1012
+ /* margin-top: 10px; */
1013
+ position: absolute;
1014
+ bottom: 10px;
1015
+ right: 10px;
1016
+ }
1017
+ .btn-voice{
1018
+ border-radius: 7px;
1019
+ border: 1px solid #dedede;
1020
+ background-color: #f5fbff;
1021
+ font: 15px PingFang-SC-Bold;
1022
+ color: #499edf;
1023
+ }
1024
+ .save-btn{
1025
+ width: 25%;
1026
+ background-color:#499edf;
1027
+ border-radius: 6px;
1028
+ color: #FFFFFF;
1029
+ font: 15px PingFang-SC-Bold;
1030
+ }
1031
+ .upload-btn{
1032
+ width: 25%;
1033
+ background-color:#ffffff;
1034
+ border: 1px solid #499edf;
1035
+ border-radius: 6px;
1036
+ color: #499edf;
1037
+ font: 15px PingFang-SC-Bold;
1038
+ }
1039
+ .repair-btn{
1040
+ width: 25%;
1041
+ border: 1px solid #499edf;
1042
+ border-radius: 6px;
1043
+ font: 15px PingFang-SC-Bold;
1044
+ }
1045
+ </style>