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,1241 +1,1236 @@
1
- <template>
2
- <work-busy :is-busy="excessive"></work-busy>
3
- <div style="height: 100%">
4
- <div class="panel auto" v-if="false">
5
- <div class="panel-heading" @click="selectVal('基本信息')" style="background-color: #ffffff">
6
- <span class="spanboder">
7
- <img src="../../assets/person.png" style="width: 22px;margin-right: 8px;">基本信息
8
- <img class="butt3" :src="imgback('基本信息')">
9
- </span>
10
- </div>
11
- <div class="panel-body " id="upuserinfo_sel" v-show="headername=='基本信息'">
12
- <div class="row auto" style="margin: 5px 0">
13
- <label class="righttxt">用户编号:</label>
14
- <input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_userinfo_code" readonly/>
15
- </div>
16
- <div class="row auto" style="margin: 5px 0">
17
- <label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt"
18
- v-model="userinfo.baseinfo.base.f_user_name" readonly/>
19
- </div>
20
- <div class="row auto" style="margin: 5px 0">
21
- <label class="righttxt">用户状态:</label><input type="text" class="form-control rightipt" readonly
22
- v-model="userinfo.baseinfo.base.f_user_state"/>
23
- </div>
24
- <div class="row auto" style="margin: 5px 0">
25
- <label class="righttxt">用户电话:</label><input type="text" class="form-control rightipt"
26
- v-model="userinfo.baseinfo.base.f_user_phone"/>
27
- </div>
28
- <div class="row auto" style="margin: 5px 0">
29
- <label class="righttxt">租户姓名:</label><input type="text" class="form-control rightipt"
30
- v-model="userinfo.baseinfo.base.f_rent_name"/>
31
- </div>
32
- <div class="row auto" style="margin: 5px 0">
33
- <label class="righttxt">租户电话:</label><input type="text" class="form-control rightipt"
34
- v-model="userinfo.baseinfo.base.f_zuhu_phone"/>
35
- </div>
36
- <div class="row auto" style="margin: 5px 0">
37
- <label class="righttxt">建档日期:</label><input type="text" class="form-control rightipt"
38
- v-model="userinfo.baseinfo.base.f_createfile_date" readonly/>
39
- </div>
40
- <!-- <div class="row auto" style="margin: 5px 0">
41
- <label class="righttxt">开户日期:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_open_date" readonly />
42
- </div>-->
43
- <div class="row auto" style="margin: 5px 0">
44
- <label class="righttxt">地址类型:</label>
45
- <div class="rightipt" style="display: flex;justify-content: space-around;margin-top: 5px">
46
- <div><input type="radio" v-model="addressType" name="addressType" @change="changeAddressType"
47
- id="phone_addressType1" value="普通地址"/><label style="font-weight: normal;padding-left: 2px"
48
- for="phone_addressType1">普通地址</label></div>
49
- <div><input type="radio" v-model="addressType" name="addressType" @change="changeAddressType"
50
- id="phone_addressType2" value="特殊地址"/><label style="font-weight: normal;padding-left: 2px"
51
- for="phone_addressType2">特殊地址</label></div>
52
- </div>
53
- <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
54
- <!--<input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_pcd" />-->
55
- <!--<v-select :value.sync="userinfo.addressinfo.f_iscity" class="input-font" style="margin-left: 5%;"
56
- :width="'60%'"
57
- v-model="userinfo.addressinfo.f_iscity"
58
- :options='cityTypes' placeholder='地区类型' close-on-select clear-button value-single @change="area_change()"></v-select>-->
59
- </div>
60
- <div class="row auto" style="margin: 5px 0">
61
- <label class="righttxt">地区类型:</label>
62
- <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
63
- <input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_iscity"/>
64
- <!--<v-select :value.sync="userinfo.addressinfo.f_iscity" class="input-font" style="margin-left: 5%;"
65
- :width="'60%'"
66
- :disabled="true"
67
- v-model="userinfo.addressinfo.f_iscity"
68
- :options='cityTypes' placeholder='地区类型' close-on-select clear-button value-single ></v-select>-->
69
- </div>
70
- <div class="row auto" style="margin: 5px 0">
71
- <label class="righttxt">省&ensp;市&ensp;区:</label>
72
- <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
73
- <!--<input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_pcd" />-->
74
- <v-select :value.sync="selectPcd" class="input-font" style="margin-left: 5%;"
75
- :width="'60%'"
76
- v-model="selectPcd"
77
- :options='pcds' placeholder='请选择省市区' close-on-select clear-button value-single
78
- @change="pcd_change()"></v-select>
79
- </div>
80
- <div class="row auto" style="margin: 5px 0">
81
- <label class="righttxt">街道名称:</label>
82
- <!--<input type="text" readonly class="form-control rightipt" v-model="userinfo.addressinfo.f_street" />-->
83
- <v-select :value.sync="selectStreet" class="input-font" style="margin-left: 5%;"
84
- :width="'60%'"
85
- v-model="selectStreet"
86
- :options='streets' placeholder='请选择街道' close-on-select clear-button value-single
87
- @change="street_change()"></v-select>
88
- </div>
89
- <div class="row auto" style="margin: 5px 0">
90
- <label class="righttxt">集收单位:</label>
91
- <!--<input type="text" readonly class="form-control rightipt" v-model="userinfo.addressinfo.f_residential_area" />-->
92
- <v-select :value.sync="selectArea" class="input-font" style="margin-left: 5%;"
93
- :width="'60%'"
94
- v-model="selectArea"
95
- :timeout="500"
96
- @select-search="select_search"
97
- :options='area' placeholder='请选择集收单位' close-on-select clear-button value-single
98
- @change="area_change()"></v-select>
99
- </div>
100
- <!--<div class="row auto" style="margin: 5px 0" v-show="addressType=='特殊地址'">
101
- <label class="righttxt">集收单位:</label>
102
- &lt;!&ndash;<input type="text" readonly class="form-control rightipt" v-model="userinfo.addressinfo.f_residential_area" />&ndash;&gt;
103
- <v-select :value.sync="selectArea" class="input-font" style="margin-left: 5%;"
104
- :width="'60%'"
105
- v-model="selectArea"
106
- @select-search="select_search"
107
- :options='area' placeholder='请选择集收单位' close-on-select clear-button value-single @change="area_changeTC()"></v-select>
108
- </div>-->
109
- <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
110
- <label class="righttxt">楼&ensp;&ensp;&ensp;&ensp;号:</label><input type="text" @change="changeNewAddress"
111
- class="form-control rightipt"
112
- v-model="userinfo.addressinfo.f_building"/>
113
- </div>
114
- <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
115
- <label class="righttxt">单&ensp;&ensp;&ensp;&ensp;元:</label><input type="text" @change="changeNewAddress"
116
- class="form-control rightipt"
117
- v-model="userinfo.addressinfo.f_unit"/>
118
- </div>
119
- <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
120
- <label class="righttxt">楼&ensp;&ensp;&ensp;&ensp;层:</label><input type="text" @change="changeNewAddress"
121
- class="form-control rightipt"
122
- v-model="userinfo.addressinfo.f_floor"/>
123
- </div>
124
- <div class="row auto" style="margin: 5px 0" v-show="addressType=='普通地址'">
125
- <label class="righttxt">门&ensp;牌&ensp;号:</label><input type="text" @change="changeNewAddress"
126
- class="form-control rightipt"
127
- v-model="userinfo.addressinfo.f_room"/>
128
- </div>
129
- <div class="row auto" style="margin: 5px 0">
130
- <label class="righttxt">详细地址:</label><input type="text" class="form-control rightipt" readonly
131
- v-model="userinfo_old.addressinfo.f_address"/>
132
- </div>
133
- <div class="row auto" style="margin: 5px 0">
134
- <label class="righttxt">新&ensp;地&ensp;址:</label>
135
- <!--<input type="text" class="form-control rightipt" readonly v-model="getaddress()" />-->
136
- <textarea :readonly="addressType=='普通地址'" class="form-control rightipt" : style="height: 80px"
137
- v-model="userinfo.addressinfo.f_address"></textarea>
138
- </div>
139
-
140
- <!--<div class="row auto" style="margin: 5px 0" v-show="addressType=='特殊地址'">
141
- <label class="righttxt">新&ensp;地&ensp;址:</label>&lt;!&ndash;<input type="text" class="form-control rightipt" v-model="userinfo.addressinfo.f_address" />&ndash;&gt;
142
- <textarea class="form-control rightipt" style="height: 80px" v-model="getAddressTS"></textarea>
143
- </div>-->
144
-
145
- <div class="row auto" style="margin: 5px 0">
146
- <label class="righttxt">备&ensp;&ensp;&ensp;&ensp;注:</label><textarea class="form-control rightipt"
147
- style="height: 150px"
148
- v-model="userinfo.baseinfo.base.f_remark"></textarea>
149
- <!--<input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_remark" />-->
150
- </div>
151
- </div>
152
- </div>
153
- <div class="panel auto" v-if="false">
154
- <div class="panel-heading" @click="selectVal('表具信息')" style="background-color: #ffffff">
155
- <span class="spanboder">
156
- <img src="../../assets/person.png" style="width: 22px;margin-right: 8px;">表具信息
157
- <img class="butt3" :src="imgback('表具信息')">
158
- </span>
159
- </div>
160
- <div class="panel-body " v-show="headername=='表具信息'">
161
- <div class="row auto" style="margin: 5px 0">
162
- <label class="righttxt">表&ensp;&ensp;&ensp;&ensp;号:</label>
163
- <input type="text" :readonly="userinfo.meterinfo[0].f_meter_classify!='机表'" class="form-control rightipt"
164
- style="width: 45%" v-model="userinfo.meterinfo[0].f_meternumber"/>
165
- <button type="button"
166
- :disabled="!(userinfo.meterinfo[0].f_meter_classify=='机表' || userinfo.meterinfo[0].f_meter_classify=='金额卡表' || userinfo.meterinfo[0].f_meter_classify=='气量卡表')"
167
- name="button" class="btn btn-primary" style="width: 15%" @click="scan">扫码
168
- </button>
169
- </div>
170
-
171
- <div class="row auto" style="margin: 5px 0">
172
- <label class="righttxt">通&ensp;气&ensp;人:</label>
173
- <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_gas_person"/>
174
- </div>
175
- <div class="row auto" style="margin: 5px 0">
176
- <label class="righttxt">通气时间:</label>
177
- <datepicker class="rightipt"
178
- :value.sync="userinfo.meterinfo[0].f_gas_date"
179
- v-model="userinfo.meterinfo[0].f_gas_date"
180
- :disabled-days-of-Week="[]"
181
- :format="'yyyy-MM-dd'"
182
- :show-reset-button="reset">
183
- </datepicker>
184
- </div>
185
- <div class="row auto" style="margin: 5px 0" v-show="showBox">
186
- <label class="righttxt">调&ensp;压&ensp;箱:</label>
187
- <v-select class="rightipt"
188
- :value.sync="userinfo.meterinfo[0].f_adjustable_id"
189
- v-model="userinfo.meterinfo[0].f_adjustable_id"
190
- placeholder='请选择'
191
- :width='wid'
192
- readonly
193
- :options="boxOptions"
194
- close-on-select value-single></v-select>
195
- </div>
196
- <div class="row auto" style="margin: 5px 0">
197
- <label class="righttxt">是否直通:</label>
198
- <v-select
199
- :value.sync="userinfo.meterinfo[0].f_if_direct"
200
- class="input-font"
201
- style="margin-left: 5%;"
202
- :width="'60%'"
203
- v-model="userinfo.meterinfo[0].f_if_direct"
204
- :options='directOptions'
205
- placeholder='是否直通'
206
- close-on-select
207
- clear-button
208
- value-single>
209
- </v-select>
210
- </div>
211
- <div class="row auto" style="margin: 5px 0">
212
- <label class="righttxt">表&ensp;封&ensp;号:</label>
213
- <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_metertitles"/>
214
- </div>
215
- <div class="row auto" style="margin: 5px 0">
216
- <label class="righttxt">表&ensp;位&ensp;置:</label>
217
- <!--<input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_position" readonly/>-->
218
- <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_position"
219
- v-model="userinfo.meterinfo[0].f_position"
220
- placeholder='请选择'
221
- :width='wid'
222
- readonly
223
- :options="wz_types"
224
- close-on-select value-single></v-select>
225
- </div>
226
- <div class="row auto" style="margin: 5px 0">
227
- <label class="righttxt">表&ensp;&ensp;&ensp;&ensp;向:</label>
228
- <!--<input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_position" readonly/>-->
229
- <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_aroundmeter"
230
- v-model="userinfo.meterinfo[0].f_aroundmeter"
231
- placeholder='请选择'
232
- :width='wid'
233
- readonly
234
- :options="aroundmeters"
235
- close-on-select value-single></v-select>
236
- </div>
237
- <div class="row auto" style="margin: 5px 0">
238
- <label class="righttxt">气表类型:</label>
239
- <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_meter_classify" readonly/>
240
- </div>
241
- <div class="row auto" style="margin: 5px 0">
242
- <label class="righttxt">表前阀状态:</label>
243
- <!--<input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_position" readonly/>-->
244
- <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_bqf_state"
245
- v-model="userinfo.meterinfo[0].f_bqf_state"
246
- placeholder='请选择'
247
- :width='wid'
248
- readonly
249
- :options="bqf_states"
250
- close-on-select value-single></v-select>
251
- </div>
252
- <!-- <div class="row auto" style="margin: 5px 0">
253
- <div style="display: flex;justify-content: center;">
254
- <button v-if="userinfo.meterinfo[0].f_meter_classify=='机表'" class="col-sm-3 btn btn-primary" @click="upUserState()">机表关阀停用</button>
255
- </div>
256
- </div>-->
257
- </div>
258
- </div>
259
- <div class="panel auto">
260
- <div class="panel-heading" @click="selectVal('设备信息')" style="background-color: #ffffff">
261
- <span class="spanboder"><img src="../../assets/list.png" style="width: 22px;margin-right: 8px;">设备信息<img
262
- class="butt3" :src="imgback('设备信息')"></span>
263
- </div>
264
- <div class="panel-body" v-show="headername=='设备信息'">
265
- <div class="row" v-for="(idx,row) in model"
266
- style="border:2px solid #A2C2EB; border-top:10px solid #A2C2EB; box-shadow: #00b3ee;margin-bottom: 10px">
267
- <div class="row auto" style="margin: 5px 0">
268
- <label class="righttxt">设备类型:</label>
269
- <!--<input type="text" class="form-control rightipt" readonly v-model="row.f_devices_type" />-->
270
- <v-select class="rightipt" :value.sync="row.f_devices_type"
271
- v-model="row.f_devices_type"
272
- placeholder='请选择'
273
- @change="getServiceLife(idx,row.f_devices_type)"
274
- :width='wid'
275
- readonly
276
- :options="devices_types"
277
- close-on-select value-single></v-select>
278
- </div>
279
- <div class="row auto" style="margin: 5px 0">
280
- <label class="righttxt">设备品牌:</label>
281
- <input type="text" class="form-control rightipt"
282
- v-model="row.f_brand"/>
283
- </div>
284
- <div class="row auto" style="margin: 5px 0">
285
- <label class="righttxt">设备型号:</label><input type="text" class="form-control rightipt"
286
- v-model="row.f_devices_model"/>
287
- </div>
288
- <div class="row auto" style="margin: 5px 0" v-if="false">
289
- <label class="righttxt">生产日期:</label>
290
- <datepicker class="rightipt"
291
- :value.sync="row.f_make_date"
292
- v-model="row.f_make_date"
293
- :disabled-days-of-Week="[]"
294
- :format="'yyyy-MM-dd'"
295
- :show-reset-button="reset" readonly="readonly">
296
- </datepicker>
297
- </div>
298
- <div class="row auto" style="margin: 5px 0">
299
- <label class="righttxt">安装日期:</label>
300
- <datepicker class="rightipt"
301
- @change="countExpireFate(idx,row.f_input_date)"
302
- :value.sync="row.f_input_date"
303
- v-model="row.f_input_date"
304
- :disabled-days-of-Week="[]"
305
- :format="'yyyy-MM-dd'"
306
- :show-reset-button="reset" readonly="readonly">
307
- </datepicker>
308
- </div>
309
- <div class="row auto" style="margin: 5px 0">
310
- <label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"
311
- v-model="row.f_service_life" readonly/>
312
- </div>
313
- <div class="row auto" style="margin: 5px 0">
314
- <label class="righttxt">到期日期:</label>
315
- <input type="text" class="form-control rightipt"
316
- v-model="row.f_expire_date" readonly/>
317
- </div>
318
- <div class="row auto" style="margin: 5px 0">
319
- <label class="righttxt">安&ensp;装&ensp;人:</label><input type="text" class="form-control rightipt"
320
- v-model="row.f_input_person"/>
321
- </div>
322
- <div class="row auto" style="margin: 5px 0">
323
- <label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"
324
- v-model="row.f_devices_num"/>
325
- </div>
326
- <div class="row auto" style="margin: 5px 0">
327
- <label class="righttxt">管道类型:</label>
328
- <!--<input type="text" class="form-control rightipt" readonly v-model="row.f_devices_type" />-->
329
- <v-select class="rightipt" :value.sync="row.f_pipe_type"
330
- v-model="row.f_pipe_type"
331
- placeholder='请选择'
332
- :width='wid'
333
- readonly
334
- :options="pipe_types"
335
- close-on-select value-single></v-select>
336
- </div>
337
- <div class="row auto" style="margin: 5px 0">
338
- <label class="righttxt">安装日期:</label>
339
- <datepicker class="rightipt"
340
- @change="countExpireFate_pipe(idx,row.f_pipeinstall_date,row.f_pipe_type)"
341
- :value.sync="row.f_pipeinstall_date"
342
- v-model="row.f_pipeinstall_date"
343
- :disabled-days-of-Week="[]"
344
- :format="'yyyy-MM-dd'"
345
- :show-reset-button="reset" readonly="readonly">
346
- </datepicker>
347
- </div>
348
- <div class="row auto" style="margin: 5px 0">
349
- <label class="righttxt">到期日期:</label>
350
- <input type="text" class="form-control rightipt"
351
- v-model="row.f_pipeexpire_date" readonly/>
352
- </div>
353
- <!--<div class="row auto" style="margin: 5px 0">
354
- <label class="righttxt">设备状态:</label><input type="text" class="form-control rightipt" readonly v-model="row.f_userinfodevices_state" />
355
- </div>-->
356
- <!--<div class="row auto" style="margin: 5px 0">
357
- <label class="righttxt">购买方式:</label><input type="text" class="form-control rightipt" readonly v-model="row.watchpurchase" />
358
- </div>-->
359
- <div style="display: flex;justify-content: center;margin-bottom: 3px"
360
- v-if="$index>this.userinfo_old.devicesinfo.length-1 || this.userinfo_old.devicesinfo.length==0">
361
- <button class="btn btn-warning" @click="delDevices($index)">删除设备</button>
362
- </div>
363
- </div>
364
- <div style="display: flex;justify-content: space-around;">
365
- <button class="col-sm-3 btn btn-primary" @click="addDevices($index)">新增设备</button>
366
- </div>
367
- </div>
368
- </div>
369
- <div class="panel auto">
370
- <div class="panel-body">
371
- <div style="display: flex;justify-content: center;">
372
- <!-- <button class="col-sm-3 btn btn-primary" :disabled="enable" @click="isNeedAudit ? editUserInfo() : editUserInfoNoAudit()">{{isNeedAudit ? '上传审核' : '上传'}}</button>-->
373
- <button class="col-sm-3 btn btn-primary" :disabled="enable" @click="editUserInfo()">上传</button>
374
- </div>
375
- </div>
376
- </div>
377
- </div>
378
- </template>
379
-
380
- <script>
381
- import {HttpResetClass} from 'vue-client'
382
- import * as Util from "../Util";
383
- import Vue from 'vue'
384
-
385
- export default {
386
- title: '设备查看',
387
- data() {
388
- return {
389
- model: [],
390
- show: false,
391
- row: Object,
392
- userinfo: Object,
393
- userinfo_old: Object,
394
- wid: "60%",
395
- aroundmeters: [],
396
- devices_types: [],
397
- pipe_types: [{label: '包覆管', value: '包覆管'}, {label: '波纹管', value: '波纹管'}],
398
- wz_types: [],
399
- cityTypes: [{label: '市区', value: '市区'}, {label: '城镇', value: '城镇'}],
400
- bqf_states: [{label: '开阀', value: '开阀'}, {label: '关阀', value: '关阀'}],
401
- pcds: [],
402
- streets: [],
403
- update: false,
404
- headername: '设备信息',
405
- excessive: false,
406
- area: [],
407
- enable: false,
408
- f_meterno_path: Vue.nopic,
409
- selectArea: {id: ''},
410
- selectPcd: {id: ''},
411
- selectStreet: {id: ''},
412
- changemeterno: false,//是否修改了机表表号
413
- approveChange: false,//是否需要进行信息变更审核
414
- newAddress: '',
415
- addressType: '',
416
- //需要审核的字段
417
- checkField: {
418
- checkUserinfoField: [
419
- 'f_user_name'
420
- ],
421
- checkUserFilesField: [
422
- 'f_meternumber'
423
- ],
424
- checkAddressField: [
425
- 'f_pcd_id',
426
- 'f_street_id',
427
- 'f_residential_area_id',
428
- 'f_building',
429
- 'f_unit',
430
- 'f_floor',
431
- 'f_room',
432
- 'f_slice_area',
433
- 'f_special',
434
- 'f_address'
435
- ],
436
- },
437
- boxOptions: [],
438
- showBox: false,
439
- directOptions: [{label: '是', value: '是'}, {label: '否', value: '否'}],
440
- deviceBrandOption: {},
441
- isNeedAudit: this.$appdata.getSingleValue('信息变更是否需要审核') == 'false' ? false : true
442
- }
443
- },
444
- props: {
445
- user: {
446
- type: Object
447
- },
448
- f_userinfo_id: '',
449
- f_source: ''
450
- },
451
- methods: {
452
- countExpireFate_pipe(index,dateTime,type){
453
- let old = new Date(dateTime)
454
- let newYear = old.getFullYear()+Number(this.$appdata.getSingleValue(type+'-年限') || 0)
455
- let month = old.getMonth()+1
456
- let date = old.getDate()
457
- this.model[index].f_pipeexpire_date = newYear + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
458
- },
459
- countExpireFate(index,dateTime){
460
- let old = new Date(dateTime)
461
- let newYear = old.getFullYear()+Number(this.model[index].f_service_life)
462
- let month = old.getMonth()+1
463
- let date = old.getDate()
464
- this.model[index].f_expire_date = newYear + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
465
- },
466
- getServiceLife(index,type){
467
- const year = this.$appdata.getSingleValue(type+'-'+this.userinfo.meterinfo[0].f_user_type+'-年限') || 0
468
- this.model[index].f_service_life = year
469
- },
470
- dateAddYear(dateTime,year){
471
- let old = new Date(dateTime)
472
- let newYear = old.getFullYear()+Number(year)
473
- let month = old.getMonth()+1
474
- let date = old.getDate()
475
- return newYear + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
476
- },
477
- scan() {
478
- HostApp.__this__ = this,
479
- HostApp.scanCode({callback: "javascript:HostApp.__this__.getCode();"})
480
- },
481
- getCode() {
482
- var datapa = HostApp.getCode().data;
483
- //tag
484
- this.userinfo.meterinfo[0].f_meternumber = datapa
485
- },
486
- //数据检查
487
- checkVal() {
488
- //检查一些必要信息是否未填
489
- this.approveChange = false
490
- this.changemeterno = false
491
- let checked = {ischeck: true, msg: ''}
492
- //tag
493
- //tag
494
- //tag
495
- if (!this.userinfo.baseinfo.base.f_user_name) {
496
- checked = {ischeck: false, msg: '请输入用户名称!'}
497
- }
498
- if (!this.selectPcd.id) {
499
- checked = {ischeck: false, msg: '请选择省市区!'}
500
- }
501
- if (!this.selectStreet.id) {
502
- checked = {ischeck: false, msg: '请选择街道!'}
503
- }
504
- if (!this.userinfo.addressinfo.f_address) {
505
- checked = {ischeck: false, msg: '新地址不能为空!'}
506
- }
507
- if (this.addressType == '普通地址') {
508
- if (!this.selectArea.id) {
509
- checked = {ischeck: false, msg: '请选择集收单位!'}
510
- }
511
- if (!this.userinfo.addressinfo.f_room) {
512
- checked = {ischeck: false, msg: '新输入门牌号!'}
513
- }
514
- }
515
- if (this.userinfo.meterinfo[0].f_meter_classify == '机表' && this.userinfo_old.meterinfo[0].f_meternumber) {
516
-
517
- //tag
518
- //tag
519
- if (this.userinfo.meterinfo[0].f_meternumber) {
520
- if (this.userinfo.meterinfo[0].f_meternumber != this.userinfo_old.meterinfo[0].f_meternumber) {
521
- if (!this.f_meterno_path || this.f_meterno_path == Vue.nopic) {
522
- checked = {ischeck: false, msg: '请拍摄表号照片!'}
523
- } else {
524
- //用来标识当前有修改机表表号,后台需要进行照片上传
525
- this.changemeterno = true
526
- }
527
- }
528
- } else {
529
- checked = {ischeck: false, msg: '请输入表号!'}
530
- }
531
- }
532
- //检查本次修改信息中是否包含需要审核的内容
533
- for (let check in this.checkField) {
534
- //tag
535
- if (typeof check != 'function') {
536
- for (let i = 0; i < this.checkField[check].length; i++) {
537
- //tag
538
- if (check == 'checkUserinfoField') {
539
- //tag
540
- //tag
541
- if (this.userinfo.baseinfo.base[this.checkField[check][i]] != this.userinfo_old.baseinfo.base[this.checkField[check][i]]) {
542
- //tag
543
- this.approveChange = true
544
- }
545
- } else if (check == 'checkUserFilesField') {
546
- //tag
547
- //tag
548
- if (this.userinfo.meterinfo[0][this.checkField[check][i]] != this.userinfo_old.meterinfo[0][this.checkField[check][i]]) {
549
- //tag
550
- this.approveChange = true
551
- }
552
- } else if (check == 'checkAddressField') {
553
- //tag
554
- //tag
555
- if (this.userinfo.addressinfo[this.checkField[check][i]] != this.userinfo_old.addressinfo[this.checkField[check][i]]) {
556
- //tag
557
- this.approveChange = true
558
- }
559
- }
560
- }
561
- }
562
- }
563
- //tag
564
- return checked
565
- },
566
- select_search(text) {
567
- //tag
568
- if (this.selectStreet.id) {
569
- let pcdText = text ? `and f_street_id=${this.selectStreet.id} and f_residential_area like '%${text}%'` : `and f_street_id=${this.selectStreet.id}`
570
- new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
571
- data: {
572
- items: "*",
573
- tablename: "t_area",
574
- orderitem: "id",
575
- condition: `f_orgid = '${Vue.user.orgid}' ${pcdText} `
576
- }
577
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
578
- //tag)
579
- if (res.data.length > 0) {
580
- this.area = []
581
- res.data.forEach((result) => {
582
- this.area.push({label: result.f_residential_area, value: result})
583
- })
584
- }
585
- })
586
- } else {
587
- this.area = []
588
- }
589
- },
590
- cameraCallBack(prop, fileName) {
591
- HostApp.__this__.$set(prop, fileName + '?' + Math.random())
592
- //tag
593
- HostApp.__callback__ = null
594
- HostApp.__this__ = null
595
- },
596
- takePic(prop, title) {
597
- HostApp.__callback__ = this.cameraCallBack
598
- HostApp.__this__ = this
599
- //tag
600
- let fileName
601
- if (!this[prop] || this[prop].includes("nopic.png")) {
602
- fileName = Util.guid() + '-' + prop + '.jpg'
603
- } else {
604
- fileName = Util.getFileName(this[prop])
605
- }
606
- HostApp._open_a_page({
607
- type: 'boomerang',
608
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
609
- param: {
610
- file: fileName,
611
- requestCode: 111,
612
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
613
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
614
- }
615
- })
616
- },
617
- delfile(prop, fileName) {
618
- if (fileName == Vue.nopic)
619
- return
620
- else {
621
- HostApp.delfile(fileName)
622
- this[prop] = Vue.nopic
623
- }
624
- },
625
- editUserInfoNoAudit() {
626
- let checked = this.checkVal()
627
- if (!checked.ischeck) {
628
- this.$showMessage(checked.msg)
629
- return
630
- }
631
- for (let i = 0; i < this.model.length; i++) {
632
- this.model[i].f_user_id = this.userinfo.meterinfo[0].f_user_id
633
- }
634
- this.$showMessage('确定是否修改上传用户信息?', ['confirm', 'cancel']).then((res) => {
635
- if (res === 'confirm') {
636
- this.excessive = true
637
- let userinfoms = Object.assign({}, this.userinfo_old.baseinfo.base)
638
- // userinfoms.f_user_name=row.f_user_name
639
- userinfoms.f_user_phone = this.userinfo.baseinfo.base.f_user_phone
640
- userinfoms.f_rent_name = this.userinfo.baseinfo.base.f_rent_name
641
- userinfoms.f_zuhu_phone = this.userinfo.baseinfo.base.f_zuhu_phone
642
- userinfoms.f_operator_record = Vue.user.name
643
- userinfoms.f_operatorid_record = Vue.user.id
644
- userinfoms.f_remark = this.userinfo.baseinfo.base.f_remark
645
- userinfoms.f_orgid_record = Vue.user.orgid
646
- userinfoms.f_orgname_record = Vue.user.orgs
647
- userinfoms.f_depid_record = Vue.user.depids
648
- userinfoms.f_depname_record = Vue.user.deps
649
- this.userinfo_old.meterinfo[0].f_gas_person = this.userinfo.meterinfo[0].f_gas_person
650
- this.userinfo_old.meterinfo[0].f_gas_date = this.userinfo.meterinfo[0].f_gas_date
651
- this.userinfo_old.meterinfo[0].f_adjustable_id = this.userinfo.meterinfo[0].f_adjustable_id
652
- this.userinfo_old.meterinfo[0].f_metertitles = this.userinfo.meterinfo[0].f_metertitles
653
- this.userinfo_old.meterinfo[0].f_position = this.userinfo.meterinfo[0].f_position
654
- this.userinfo_old.meterinfo[0].f_aroundmeter = this.userinfo.meterinfo[0].f_aroundmeter
655
- this.userinfo_old.meterinfo[0].f_bqf_state = this.userinfo.meterinfo[0].f_bqf_state
656
- this.userinfo_old.meterinfo[0].f_if_direct = this.userinfo.meterinfo[0].f_if_direct
657
- userinfoms.userfiles = []
658
- this.userinfo_old.meterinfo[0].devicesinfo = this.model
659
- userinfoms.userfiles.push(this.userinfo_old.meterinfo[0])
660
- new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/filemanage_fileSave`, {
661
- data: {
662
- userinfo: userinfoms,
663
- modifyReason: this.f_source ? `${this.f_source}维护档案信息` : '',
664
- address: {
665
- id: this.userinfo_old.addressinfo.id,
666
- oldid: this.userinfo_old.addressinfo.id,
667
- f_address: this.userinfo_old.addressinfo.f_address ? this.userinfo_old.addressinfo.f_address : this.userinfo.addressinfo.f_address
668
- }
669
- }
670
- }, {resolveMsg: null, rejectMsg: null}).then((res1) => {
671
- if (res1.data.status == 200) {
672
- let data = this.userinfo.addressinfo
673
- data.f_address = this.userinfo_old.addressinfo.f_address ? this.userinfo_old.addressinfo.f_address : this.userinfo.addressinfo.f_address
674
- //
675
- data.f_operator = Vue.user.name
676
- new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/address_updateuseraddress`, {data: data}).then((res2) => {
677
- this.$showMessage("修改用户地址信息成功!")
678
- }).catch(error => {
679
- this.$showMessage("修改用户地址信息!")
680
- })
681
- this.$showMessage("修改用户信息成功!")
682
- this.enable = true
683
- this.excessive = false
684
- }
685
- }).catch((msg) => {
686
- this.$showMessage("修改用户信息失败,请检查手机网络状况!")
687
- this.excessive = false
688
- })
689
- }
690
- })
691
- },
692
- editUserInfo() {
693
- this.$showMessage('确定是否修改上传审核用户信息?', ['confirm', 'cancel']).then((res) => {
694
- if (res === 'confirm') {
695
- for (let i = 0; i < this.model.length; i++) {
696
- this.model[i].f_user_id = this.userinfo.meterinfo[0].f_user_id
697
- }
698
- this.excessive = true
699
- let userinfoms = Object.assign({}, this.userinfo_old.baseinfo.base)
700
- //userinfoms.f_user_name=row.f_user_name
701
- userinfoms.f_user_phone = this.userinfo.baseinfo.base.f_user_phone
702
- userinfoms.f_rent_name = this.userinfo.baseinfo.base.f_rent_name
703
- userinfoms.f_zuhu_phone = this.userinfo.baseinfo.base.f_zuhu_phone
704
- userinfoms.f_operator_record = Vue.user.name
705
- userinfoms.f_operatorid_record = Vue.user.id
706
- userinfoms.f_remark = this.userinfo.baseinfo.base.f_remark
707
- userinfoms.f_orgid_record = Vue.user.orgid
708
- userinfoms.f_orgname_record = Vue.user.orgs
709
- userinfoms.f_depid_record = Vue.user.depids
710
- userinfoms.f_depname_record = Vue.user.deps
711
- this.userinfo_old.meterinfo[0].f_gas_person = this.userinfo.meterinfo[0].f_gas_person
712
- this.userinfo_old.meterinfo[0].f_gas_date = this.userinfo.meterinfo[0].f_gas_date
713
- this.userinfo_old.meterinfo[0].f_adjustable_id = this.userinfo.meterinfo[0].f_adjustable_id
714
- this.userinfo_old.meterinfo[0].f_metertitles = this.userinfo.meterinfo[0].f_metertitles
715
- this.userinfo_old.meterinfo[0].f_position = this.userinfo.meterinfo[0].f_position
716
- this.userinfo_old.meterinfo[0].f_aroundmeter = this.userinfo.meterinfo[0].f_aroundmeter
717
- this.userinfo_old.meterinfo[0].f_bqf_state = this.userinfo.meterinfo[0].f_bqf_state
718
- this.userinfo_old.meterinfo[0].f_if_direct = this.userinfo.meterinfo[0].f_if_direct
719
- userinfoms.userfiles = []
720
- this.userinfo_old.meterinfo[0].devicesinfo = this.model
721
- userinfoms.userfiles.push(this.userinfo_old.meterinfo[0])
722
- //tag)
723
- new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/filemanage_fileSave`, {
724
- data: {
725
- userinfo: userinfoms,
726
- modifyReason: this.f_source ? `${this.f_source}维护档案信息` : '',
727
- address: {id: this.userinfo_old.addressinfo.id, oldid: this.userinfo_old.addressinfo.id}
728
- }
729
- }, {resolveMsg: null, rejectMsg: null}).then((res1) => {
730
- if (res1.data.status == 200) {
731
- //本次修改信息包含需要审核信息
732
- // if (this.approveChange) {
733
- // //tag
734
- // let res2 = this.$androidUtil.bzLogic('safe_upUserinfoApprove', {
735
- // row: {
736
- // f_time: Util.toStandardTimeString(),
737
- // f_modifier: Vue.user.name,//Vue.user.name
738
- // f_modifier_id: Vue.user.id,//Vue.user.id
739
- // f_modify_type: '用户档案',
740
- // f_userinfoid: this.userinfo.baseinfo.base.f_userinfo_id,
741
- // f_userinfo_code: this.userinfo.baseinfo.base.f_userinfo_code,
742
- // f_approved: '未审核',
743
- // filialestr: Vue.user.orgid,//Vue.user.orgid
744
- // version: 1,
745
- // f_user_name: this.userinfo.baseinfo.base.f_user_name,
746
- // f_user_phone: this.userinfo.baseinfo.base.f_user_phone,
747
- // f_street: this.userinfo.addressinfo.f_street,
748
- // f_building: this.userinfo.addressinfo.f_building,
749
- // f_unit: this.userinfo.addressinfo.f_unit,
750
- // f_floor: this.userinfo.addressinfo.f_floor,
751
- // f_room: this.userinfo.addressinfo.f_room,
752
- // f_building_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_building_suffix,
753
- // f_unit_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_unit_suffix,
754
- // f_floor_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_floor_suffix,
755
- // f_room_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_room_suffix,
756
- // f_residential_area: this.userinfo.addressinfo.f_residential_area,
757
- // f_address: this.userinfo.addressinfo.f_address,
758
- // f_pcd: this.userinfo.addressinfo.f_pcd,
759
- // f_pcd_id: this.userinfo.addressinfo.f_pcd_id,
760
- // f_street_id: this.userinfo.addressinfo.f_street_id,
761
- // f_residential_area_id: this.userinfo.addressinfo.f_residential_area_id,
762
- // f_used_name: this.userinfo.baseinfo.base.f_used_name,
763
- // f_rent_phone: this.userinfo.baseinfo.base.f_rent_phone,
764
- // f_slice_area: this.userinfo.addressinfo.f_slice_area,
765
- // f_remark: this.userinfo.baseinfo.base.f_remark,
766
- // f_source: this.f_source,
767
- // f_meterno_path: this.f_meterno_path,
768
- // f_iscity: this.userinfo.addressinfo.f_iscity,
769
- // f_special: this.userinfo.addressinfo.f_special,
770
- // f_meternumber: this.userinfo.meterinfo[0].f_meternumber,
771
- // changemeterno: this.changemeterno
772
- // },
773
- // tablename: 't_modify_userinfo'
774
- // })
775
- // //tag)
776
- // if (res2.code == 200) {
777
- // this.$showMessage("变更用户信息成功,需要审核的信息已提交审核,等待管理员处理!")
778
- // this.enable = true
779
- // this.excessive = false
780
- // } else {
781
- // this.$showMessage("上传审核信息失败,请检查图片和网络状况是否正常!")
782
- // this.excessive = false
783
- // }
784
- // } else {
785
- // this.$showMessage("修改用户信息成功!")
786
- // this.enable = true
787
- // this.excessive = false
788
- // }
789
- this.$showMessage("修改用户信息成功!")
790
- this.enable = true
791
- this.excessive = false
792
- }
793
- }).catch((msg) => {
794
- this.$showMessage("修改用户信息失败,请检查手机网络状况!")
795
- this.excessive = false
796
- })
797
-
798
- }
799
- })
800
- },
801
- imgback(header) {
802
- if (this.headername == header) {
803
- return require('../../assets/xiangxia1.png')
804
- } else {
805
- return require('../../assets/xiangyou1.png')
806
- }
807
- this.headername = header
808
- },
809
- selectVal(header) {
810
- if (this.headername == header) {
811
- this.headername = ''
812
- } else {
813
- this.headername = header
814
- }
815
-
816
- },
817
- changeNewAddress() {
818
- this.userinfo.addressinfo.f_address = this.addressType == '普通地址' ? this.getAddress : this.getAddressTS
819
- },
820
- area_change() {
821
- //tag
822
- this.userinfo.addressinfo.f_residential_area = this.selectArea.f_residential_area
823
- this.userinfo.addressinfo.f_residential_area_id = this.selectArea.id
824
- this.userinfo.addressinfo.f_slice_area = this.selectArea.f_slice_area
825
- this.changeNewAddress()
826
- //this.userinfo.addressinfo.f_residential_area=this.f_residential_area.f_residential_area
827
- },
828
- async street_change() {
829
- //tag
830
- if (this.selectStreet.id) {
831
- //如果街道改变--给街道赋值!
832
- this.userinfo.addressinfo.f_street = this.selectStreet.f_street
833
- this.userinfo.addressinfo.f_street_id = this.selectStreet.id
834
- this.userinfo.addressinfo.f_iscity = this.selectStreet.f_iscity
835
- //清空当前选中小区的值
836
- this.userinfo.addressinfo.f_residential_area = ''
837
- this.userinfo.addressinfo.f_residential_area_id = ''
838
- this.userinfo.addressinfo.f_slice_area = ''
839
- this.selectArea = {id: ''}
840
- this.area = []
841
- let pcdText = ` and f_street_id=${this.selectStreet.id}`
842
- let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
843
- data: {
844
- items: "*",
845
- tablename: "t_area",
846
- orderitem: "id",
847
- condition: `f_orgid = '${Vue.user.orgid}' ${pcdText} `
848
- }
849
- }, {resolveMsg: null, rejectMsg: null})
850
- ////tag)
851
- res.data.forEach((result) => {
852
- this.area.push({label: result.f_residential_area, value: result})
853
- })
854
- } else {
855
- this.area = []
856
- }
857
-
858
- this.changeNewAddress()
859
- },
860
- async pcd_change() {
861
- //tag
862
- if (this.selectPcd.id) {
863
- //tag
864
- //如果省市区改变-重新赋值
865
- this.userinfo.addressinfo.f_pcd = this.selectPcd.f_pcd
866
- this.userinfo.addressinfo.f_pcd_id = this.selectPcd.id
867
- //清空 选中的街道和集收单位
868
- this.selectStreet = {id: ''}
869
- this.userinfo.addressinfo.f_street = ''
870
- this.userinfo.addressinfo.f_street_id = ''
871
- this.userinfo.addressinfo.f_iscity = ''
872
- this.selectArea = {id: ''}
873
- this.userinfo.addressinfo.f_residential_area = ''
874
- this.userinfo.addressinfo.f_residential_area_id = ''
875
- this.userinfo.addressinfo.f_slice_area = ''
876
- this.streets = []
877
- let pcdText = `and f_pcd_id=${this.selectPcd.id}`
878
- let streetlist = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
879
- data: {
880
- items: "*",
881
- tablename: "t_street",
882
- orderitem: "id",
883
- condition: `f_orgid = '${Vue.user.orgid}' ${pcdText}`
884
- }
885
- }, {resolveMsg: null, rejectMsg: null})
886
- streetlist.data.forEach((result) => {
887
- this.streets.push({label: result.f_street, value: result})
888
- })
889
- } else {
890
- this.streets = []
891
- }
892
- this.changeNewAddress()
893
- },
894
- upUserState() {
895
- //tag)
896
- if (this.userinfo.meterinfo[0].f_table_state == '正常') {
897
- let data = {
898
- f_userfiles_id: {
899
- f_userfiles_id: this.userinfo.meterinfo[0].f_userfiles_id,
900
- f_table_state: '停用',
901
- version: this.userinfo.meterinfo[0].version
902
- },
903
- f_userfile_id: this.userinfo.meterinfo[0].f_userfiles_id,
904
- f_user_id: this.userinfo.meterinfo[0].f_user_id,
905
- f_userinfo_id: this.userinfo.meterinfo[0].f_userinfo_id,
906
- f_user_name: this.userinfo.baseinfo.base.f_user_name,
907
- f_comments: '安检时发现问题关闭阀门',
908
- f_othereason: '',
909
- f_operat_type: '停用',
910
- f_describe: `${Vue.user.name}对客户${this.userinfo.baseinfo.base.f_user_name}进行表具停用操作`,
911
- f_state: '有效',
912
- f_operator: Vue.user.name,//${Vue.$login.f.name}
913
- f_operatorid: Vue.user.id,
914
- f_orgid: Vue.user.orgid,
915
- f_orgname: Vue.user.orgs,
916
- f_depid: Vue.user.depids,
917
- f_depname: Vue.user.deps,
918
- f_zoneid: Vue.user.zoneid,
919
- f_zones: Vue.user.zones
920
- }
921
- new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/entity/t_disable`,
922
- data, {resolveMsg: null, rejectMsg: null}).then((row) => {
923
- this.$showMessage('已成功关阀停气!')
924
- this.userinfo.meterinfo[0].f_table_state = '停用'
925
- })
926
- } else {
927
- this.$showMessage('该用户已被关阀停用,请勿重复操作!')
928
- }
929
-
930
- },
931
- addDevices() {
932
- //Vue.user.name
933
- let obj = {
934
- "f_operator": Vue.user.name,
935
- "f_picture": null,
936
- "f_pipe_type": null,
937
- "f_pipeinstall_date": null,
938
- "f_pipe_connection": null,
939
- "f_expire_date": null,
940
- "f_pipeexpire_date": null,
941
- "f_comments": null,
942
- "f_operate_date": Util.toStandardTimeString(),
943
- "f_operatorid": Vue.user.id,
944
- "f_service_life":'',
945
- "f_devices_num": null,
946
- "f_process_id": null,
947
- "f_devices_type": null,
948
- "f_make_date": null,
949
- "f_input_date": null,
950
- "f_state": "有效",
951
- "f_brand": null,
952
- "f_devices_model": null,
953
- "f_devices_no": null,
954
- "img": {"content": null, "filename": null}
955
- }
956
- this.model.push(obj)
957
- },
958
- delDevices(idx) {
959
- //tag
960
- this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
961
- if (res === 'confirm') {
962
- this.model.splice(idx, 1)
963
- }
964
- })
965
- },
966
- async getAreaList(text) {
967
- if (this.selectStreet.id) {
968
- this.area = []
969
- let pcdText = text ? `and f_street_id=${this.selectStreet.id} and f_residential_area like '%${text}%'` : `and f_street_id=${this.selectStreet.id}`
970
- let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
971
- data: {
972
- items: "*",
973
- tablename: "t_area",
974
- orderitem: "id",
975
- condition: `f_orgid = '${Vue.user.orgid}' ${pcdText}`
976
- }
977
- }, {resolveMsg: null, rejectMsg: null})
978
- ////tag)
979
- res.data.forEach((result) => {
980
- this.area.push({label: result.f_residential_area, value: result})
981
- })
982
- //tag
983
- this.area.push({
984
- label: this.userinfo.addressinfo.f_residential_area,
985
- value: {
986
- id: this.userinfo.addressinfo.f_residential_area_id,
987
- f_residential_area: this.userinfo.addressinfo.f_residential_area
988
- }
989
- })
990
- } else {
991
- this.area = []
992
- }
993
-
994
- },
995
- async getStreetList() {
996
- if (this.selectPcd.id) {
997
- //tag
998
- this.streets = []
999
- let pcdText = `and f_pcd_id=${this.selectPcd.id}`
1000
- let streetlist = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
1001
- data: {
1002
- items: "*",
1003
- tablename: "t_street",
1004
- orderitem: "id",
1005
- condition: `f_orgid = '${Vue.user.orgid}' ${pcdText}`
1006
- }
1007
- }, {resolveMsg: null, rejectMsg: null})
1008
- streetlist.data.forEach((result) => {
1009
- //如果第一次进来有地址id 就拿下地址区域
1010
- if (this.selectStreet.id && this.selectStreet.id == result.id) {
1011
- //tag)
1012
- this.userinfo.addressinfo.f_iscity = result.f_iscity
1013
- }
1014
- this.streets.push({label: result.f_street, value: result})
1015
- })
1016
- } else {
1017
- this.streets = []
1018
- }
1019
- },
1020
- changeAddressType(val) {
1021
- //tag
1022
- if (this.addressType == '普通地址') {
1023
- this.userinfo.addressinfo.f_special = null
1024
- } else if (this.addressType == '特殊地址') {
1025
- this.userinfo.addressinfo.f_special = 1
1026
- this.userinfo.addressinfo.f_building = null
1027
- this.userinfo.addressinfo.f_unit = null
1028
- this.userinfo.addressinfo.f_floor = null
1029
- this.userinfo.addressinfo.f_room = null
1030
- }
1031
- this.changeNewAddress()
1032
- }
1033
-
1034
- },
1035
- computed: {
1036
- getAddress() {
1037
- return (this.userinfo.addressinfo.f_pcd ? this.userinfo.addressinfo.f_pcd : '') +
1038
- (this.userinfo.addressinfo.f_street ? this.userinfo.addressinfo.f_street : '') +
1039
- (this.userinfo.addressinfo.f_residential_area ? this.userinfo.addressinfo.f_residential_area : '') +
1040
- (this.userinfo.addressinfo.f_building ? this.userinfo.addressinfo.f_building + (this.userinfo.addressinfo.f_building_suffix ? this.userinfo.addressinfo.f_building_suffix : '') : '') +
1041
- (this.userinfo.addressinfo.f_unit ? this.userinfo.addressinfo.f_unit + (this.userinfo.addressinfo.f_unit_suffix ? this.userinfo.addressinfo.f_unit_suffix : '') : '') +
1042
- (this.userinfo.addressinfo.f_floor ? this.userinfo.addressinfo.f_floor + (this.userinfo.addressinfo.f_floor_suffix ? this.userinfo.addressinfo.f_floor_suffix : '') : '') +
1043
- (this.userinfo.addressinfo.f_room ? this.userinfo.addressinfo.f_room + (this.userinfo.addressinfo.f_room_suffix ? this.userinfo.addressinfo.f_room_suffix : '') : '')
1044
- },
1045
- getAddressTS() {
1046
- return (this.userinfo.addressinfo.f_pcd ? this.userinfo.addressinfo.f_pcd : '') +
1047
- (this.userinfo.addressinfo.f_street ? this.userinfo.addressinfo.f_street : '') +
1048
- (this.userinfo.addressinfo.f_residential_area ? this.userinfo.addressinfo.f_residential_area : '')
1049
- }
1050
- },
1051
- watch: {
1052
-
1053
- /*'selectPcd.id' (val) {
1054
- //tag
1055
- if(this.selectPcd.id){
1056
- this.getStreetList()
1057
- }
1058
- },
1059
- 'selectStreet.id' (val) {
1060
- //tag
1061
- if(this.selectStreet.id){
1062
- this.getAreaList()
1063
- }
1064
- }*/
1065
- },
1066
- async ready() {
1067
- /*//tag)
1068
-
1069
- //tag)
1070
- //tag)*/
1071
- //this.f_userinfo_id=1102260
1072
- //this.f_userinfo_id=1997541
1073
- if (!this.f_userinfo_id) {
1074
- this.$showMessage("未检测到用户!")
1075
- this.enable = true
1076
- return
1077
- }
1078
- try {
1079
-
1080
- this.devices_types = Vue.$appdata.getParam('设备类型')
1081
- console.log('this.devices_types=', JSON.stringify(this.devices_types))
1082
- for (const devices_type of this.devices_types) {
1083
- console.log('Vue.$appdata.getParam(`档案设备信息-${devices_type.label}品牌`)=', JSON.stringify(Vue.$appdata.getParam(`档案设备信息-${devices_type.label}品牌`)))
1084
- this.deviceBrandOption[devices_type.label] = Vue.$appdata.getParam(`档案设备信息-${devices_type.label}品牌`) || []
1085
- }
1086
- console.log('this.deviceBrandOption=', JSON.stringify(this.deviceBrandOption))
1087
- this.wz_types = Vue.$appdata.getParam('安装位置')
1088
- this.aroundmeters = Vue.$appdata.getParam('左右表')
1089
-
1090
- ////tag)
1091
- this.excessive = true
1092
- //Vue.user.orgid ${this.f_userinfo_id} 10101 ${Vue.user.orgid}
1093
-
1094
- let pcdlist = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
1095
- data: {
1096
- items: "*",
1097
- tablename: "t_pcd",
1098
- orderitem: "id",
1099
- condition: `f_orgid = '${Vue.user.orgid}'`
1100
- }
1101
- }, {resolveMsg: null, rejectMsg: null})
1102
- //tag)
1103
- pcdlist.data.forEach((result) => {
1104
- this.pcds.push({label: result.f_pcd, value: result})
1105
- })
1106
- ////tag)
1107
- let res = await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/logic/filemanage_getFilesDetail`, {
1108
- //f_userinfo_code:'12381344',
1109
- f_userinfo_id: this.f_userinfo_id
1110
- }, {resolveMsg: null, rejectMsg: null})
1111
- //tag
1112
- //tag
1113
- this.userinfo = res.data
1114
- this.userinfo_old = JSON.parse(JSON.stringify(res.data))
1115
- this.model = this.userinfo.meterinfo[0].devicesinfo.concat(this.userinfo.meterinfo[0].devicesinfonew)
1116
- this.selectArea.id = this.userinfo.addressinfo.f_residential_area_id
1117
- this.selectPcd.id = this.userinfo.addressinfo.f_pcd_id
1118
- this.selectPcd.f_pcd = this.userinfo.addressinfo.f_pcd
1119
- this.selectStreet.id = this.userinfo.addressinfo.f_street_id
1120
- this.selectStreet.f_street = this.userinfo.addressinfo.f_street
1121
- await this.getStreetList()
1122
- await this.getAreaList()
1123
- this.excessive = false
1124
- this.addressType = this.userinfo.addressinfo.f_special == 1 ? '特殊地址' : '普通地址'
1125
- //this.userinfo.addressinfo.f_special=1
1126
- //tag
1127
- } catch (e) {
1128
- this.excessive = false
1129
- this.enable = true
1130
- this.$showMessage('获取用户信息出错,请检查网络状况!')
1131
- }
1132
- new HttpResetClass().load('get', `${this.$androidUtil.getProxyUrl()}/rs/vue/UserAddress.json`, {data: {}}, {
1133
- resolveMsg: null,
1134
- rejectMsg: null
1135
- }).then((addressUnit) => {
1136
- //tag
1137
- //tag
1138
- //tag
1139
- //tag
1140
- this.userinfo.addressinfo.f_building_suffix = addressUnit.data.f_building_suffix
1141
- this.userinfo.addressinfo.f_unit_suffix = addressUnit.data.f_unit_suffix
1142
- this.userinfo.addressinfo.f_floor_suffix = addressUnit.data.f_floor_suffix
1143
- this.userinfo.addressinfo.f_room_suffix = addressUnit.data.f_room_suffix
1144
- }).catch((msg) => {
1145
- //tag)
1146
- })
1147
- this.showBox = this.$appdata.getSingleValue('档案审核是否显示调压箱') == '是'? true : false
1148
- console.log(this.showBox)
1149
- if (this.showBox) {
1150
- // 获取调压箱
1151
- new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/sql/adjustableboxQuery`, {data: {condition: '1 = 1'}}, {
1152
- resolveMsg: null,
1153
- rejectMsg: null
1154
- }).then((res) => {
1155
- const boxOptions = []
1156
- for (const data of res.data) {
1157
- const one = {
1158
- label: data.f_adjustable_id + data.f_adjustable_name,
1159
- value: Number(data.f_adjustable_id)
1160
- }
1161
- boxOptions.push(one)
1162
- }
1163
- this.boxOptions = JSON.parse(JSON.stringify(boxOptions))
1164
- console.log(this.boxOptions)
1165
- }).catch((msg) => {
1166
- //tag)
1167
- })
1168
- }
1169
- }
1170
- }
1171
- </script>
1172
- <style lang="less" scoped>
1173
- .butt3 {
1174
- float: right;
1175
- width: 12px;
1176
- margin: 1% 2% 0 0;
1177
- }
1178
-
1179
- .rightipt {
1180
- width: 60%;
1181
- float: left;
1182
- margin-left: 5%;
1183
- }
1184
-
1185
- .righttxt {
1186
- border: none;
1187
- margin-left: 5px;
1188
- /*border-left: 5px solid #A2C2EB;*/
1189
- float: left;
1190
- width: 25%;
1191
- margin-bottom: 3px;
1192
- text-align: left;
1193
- word-wrap: break-word;
1194
- white-space: normal;
1195
- }
1196
-
1197
- .tit1 {
1198
- background-image: url('../../assets/用户姓名.png');
1199
- background-repeat: no-repeat;
1200
- background-position: center;
1201
- }
1202
-
1203
- .spanboder {
1204
- border-bottom: 2px solid #499edf;
1205
- padding-bottom: 8px
1206
- }
1207
-
1208
- #upuserinfo_sel /deep/ ul {
1209
- width: 100% !important;
1210
- left: 0 !important;
1211
- }
1212
-
1213
- .btn-photo {
1214
- border: 0;
1215
- border-radius: 7px;
1216
- background-color: #7dc1f4;
1217
- font: 15px PingFang-SC-Bold;
1218
- height: 20%;
1219
- }
1220
-
1221
- .panel-self {
1222
- border-radius: 10px;
1223
- border: 1px solid #499EDF;
1224
- background-color: #F8F8F8;
1225
- }
1226
-
1227
- .div-photo {
1228
- width: auto;
1229
- height: auto;
1230
- /* margin-top: 10px; */
1231
- position: absolute;
1232
- bottom: 10px;
1233
- right: 10px;
1234
- }
1235
- </style>
1236
- <style lang="less">
1237
- #upuserinfo_sel ul {
1238
- width: 100% !important;
1239
- left: 0 !important;
1240
- }
1241
- </style>
1
+ <template>
2
+ <work-busy :is-busy="excessive"></work-busy>
3
+ <div style="height: 100%">
4
+ <div class="panel auto" v-if="false">
5
+ <div class="panel-heading" @click="selectVal('基本信息')" style="background-color: #ffffff">
6
+ <span class="spanboder">
7
+ <img src="../../assets/person.png" style="width: 22px;margin-right: 8px;">基本信息
8
+ <img class="butt3" :src="imgback('基本信息')">
9
+ </span>
10
+ </div>
11
+ <div class="panel-body " id="upuserinfo_sel" v-show="headername == '基本信息'">
12
+ <div class="row auto" style="margin: 5px 0">
13
+ <label class="righttxt">用户编号:</label>
14
+ <input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_userinfo_code" readonly />
15
+ </div>
16
+ <div class="row auto" style="margin: 5px 0">
17
+ <label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt"
18
+ v-model="userinfo.baseinfo.base.f_user_name" readonly />
19
+ </div>
20
+ <div class="row auto" style="margin: 5px 0">
21
+ <label class="righttxt">用户状态:</label><input type="text" class="form-control rightipt" readonly
22
+ v-model="userinfo.baseinfo.base.f_user_state" />
23
+ </div>
24
+ <div class="row auto" style="margin: 5px 0">
25
+ <label class="righttxt">用户电话:</label><input type="text" class="form-control rightipt"
26
+ v-model="userinfo.baseinfo.base.f_user_phone" />
27
+ </div>
28
+ <div class="row auto" style="margin: 5px 0">
29
+ <label class="righttxt">租户姓名:</label><input type="text" class="form-control rightipt"
30
+ v-model="userinfo.baseinfo.base.f_rent_name" />
31
+ </div>
32
+ <div class="row auto" style="margin: 5px 0">
33
+ <label class="righttxt">租户电话:</label><input type="text" class="form-control rightipt"
34
+ v-model="userinfo.baseinfo.base.f_zuhu_phone" />
35
+ </div>
36
+ <div class="row auto" style="margin: 5px 0">
37
+ <label class="righttxt">建档日期:</label><input type="text" class="form-control rightipt"
38
+ v-model="userinfo.baseinfo.base.f_createfile_date" readonly />
39
+ </div>
40
+ <!-- <div class="row auto" style="margin: 5px 0">
41
+ <label class="righttxt">开户日期:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_open_date" readonly />
42
+ </div>-->
43
+ <div class="row auto" style="margin: 5px 0">
44
+ <label class="righttxt">地址类型:</label>
45
+ <div class="rightipt" style="display: flex;justify-content: space-around;margin-top: 5px">
46
+ <div><input type="radio" v-model="addressType" name="addressType" @change="changeAddressType"
47
+ id="phone_addressType1" value="普通地址" /><label style="font-weight: normal;padding-left: 2px"
48
+ for="phone_addressType1">普通地址</label></div>
49
+ <div><input type="radio" v-model="addressType" name="addressType" @change="changeAddressType"
50
+ id="phone_addressType2" value="特殊地址" /><label style="font-weight: normal;padding-left: 2px"
51
+ for="phone_addressType2">特殊地址</label></div>
52
+ </div>
53
+ <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
54
+ <!--<input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_pcd" />-->
55
+ <!--<v-select :value.sync="userinfo.addressinfo.f_iscity" class="input-font" style="margin-left: 5%;"
56
+ :width="'60%'"
57
+ v-model="userinfo.addressinfo.f_iscity"
58
+ :options='cityTypes' placeholder='地区类型' close-on-select clear-button value-single @change="area_change()"></v-select>-->
59
+ </div>
60
+ <div class="row auto" style="margin: 5px 0">
61
+ <label class="righttxt">地区类型:</label>
62
+ <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
63
+ <input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_iscity" />
64
+ <!--<v-select :value.sync="userinfo.addressinfo.f_iscity" class="input-font" style="margin-left: 5%;"
65
+ :width="'60%'"
66
+ :disabled="true"
67
+ v-model="userinfo.addressinfo.f_iscity"
68
+ :options='cityTypes' placeholder='地区类型' close-on-select clear-button value-single ></v-select>-->
69
+ </div>
70
+ <div class="row auto" style="margin: 5px 0">
71
+ <label class="righttxt">省&ensp;市&ensp;区:</label>
72
+ <!--<input type="text" style="width: 75%;float:right" class="form-control" v-model="row.f_devices_type" />-->
73
+ <!--<input type="text" class="form-control rightipt" readonly v-model="userinfo.addressinfo.f_pcd" />-->
74
+ <v-select :value.sync="selectPcd" class="input-font" style="margin-left: 5%;" :width="'60%'"
75
+ v-model="selectPcd" :options='pcds' placeholder='请选择省市区' close-on-select clear-button value-single
76
+ @change="pcd_change()"></v-select>
77
+ </div>
78
+ <div class="row auto" style="margin: 5px 0">
79
+ <label class="righttxt">街道名称:</label>
80
+ <!--<input type="text" readonly class="form-control rightipt" v-model="userinfo.addressinfo.f_street" />-->
81
+ <v-select :value.sync="selectStreet" class="input-font" style="margin-left: 5%;" :width="'60%'"
82
+ v-model="selectStreet" :options='streets' placeholder='请选择街道' close-on-select clear-button value-single
83
+ @change="street_change()"></v-select>
84
+ </div>
85
+ <div class="row auto" style="margin: 5px 0">
86
+ <label class="righttxt">集收单位:</label>
87
+ <!--<input type="text" readonly class="form-control rightipt" v-model="userinfo.addressinfo.f_residential_area" />-->
88
+ <v-select :value.sync="selectArea" class="input-font" style="margin-left: 5%;" :width="'60%'"
89
+ v-model="selectArea" :timeout="500" @select-search="select_search" :options='area' placeholder='请选择集收单位'
90
+ close-on-select clear-button value-single @change="area_change()"></v-select>
91
+ </div>
92
+ <!--<div class="row auto" style="margin: 5px 0" v-show="addressType=='特殊地址'">
93
+ <label class="righttxt">集收单位:</label>
94
+ &lt;!&ndash;<input type="text" readonly class="form-control rightipt" v-model="userinfo.addressinfo.f_residential_area" />&ndash;&gt;
95
+ <v-select :value.sync="selectArea" class="input-font" style="margin-left: 5%;"
96
+ :width="'60%'"
97
+ v-model="selectArea"
98
+ @select-search="select_search"
99
+ :options='area' placeholder='请选择集收单位' close-on-select clear-button value-single @change="area_changeTC()"></v-select>
100
+ </div>-->
101
+ <div class="row auto" style="margin: 5px 0" v-show="addressType == '普通地址'">
102
+ <label class="righttxt">楼&ensp;&ensp;&ensp;&ensp;号:</label><input type="text" @change="changeNewAddress"
103
+ class="form-control rightipt" v-model="userinfo.addressinfo.f_building" />
104
+ </div>
105
+ <div class="row auto" style="margin: 5px 0" v-show="addressType == '普通地址'">
106
+ <label class="righttxt">单&ensp;&ensp;&ensp;&ensp;元:</label><input type="text" @change="changeNewAddress"
107
+ class="form-control rightipt" v-model="userinfo.addressinfo.f_unit" />
108
+ </div>
109
+ <div class="row auto" style="margin: 5px 0" v-show="addressType == '普通地址'">
110
+ <label class="righttxt">楼&ensp;&ensp;&ensp;&ensp;层:</label><input type="text" @change="changeNewAddress"
111
+ class="form-control rightipt" v-model="userinfo.addressinfo.f_floor" />
112
+ </div>
113
+ <div class="row auto" style="margin: 5px 0" v-show="addressType == '普通地址'">
114
+ <label class="righttxt">门&ensp;牌&ensp;号:</label><input type="text" @change="changeNewAddress"
115
+ class="form-control rightipt" v-model="userinfo.addressinfo.f_room" />
116
+ </div>
117
+ <div class="row auto" style="margin: 5px 0">
118
+ <label class="righttxt">详细地址:</label><input type="text" class="form-control rightipt" readonly
119
+ v-model="userinfo_old.addressinfo.f_address" />
120
+ </div>
121
+ <div class="row auto" style="margin: 5px 0">
122
+ <label class="righttxt">新&ensp;地&ensp;址:</label>
123
+ <!--<input type="text" class="form-control rightipt" readonly v-model="getaddress()" />-->
124
+ <textarea :readonly="addressType == '普通地址'" class="form-control rightipt" : style="height: 80px"
125
+ v-model="userinfo.addressinfo.f_address"></textarea>
126
+ </div>
127
+
128
+ <!--<div class="row auto" style="margin: 5px 0" v-show="addressType=='特殊地址'">
129
+ <label class="righttxt">新&ensp;地&ensp;址:</label>&lt;!&ndash;<input type="text" class="form-control rightipt" v-model="userinfo.addressinfo.f_address" />&ndash;&gt;
130
+ <textarea class="form-control rightipt" style="height: 80px" v-model="getAddressTS"></textarea>
131
+ </div>-->
132
+
133
+ <div class="row auto" style="margin: 5px 0">
134
+ <label class="righttxt">备&ensp;&ensp;&ensp;&ensp;注:</label><textarea class="form-control rightipt"
135
+ style="height: 150px" v-model="userinfo.baseinfo.base.f_remark"></textarea>
136
+ <!--<input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_remark" />-->
137
+ </div>
138
+ </div>
139
+ </div>
140
+ <div class="panel auto" v-if="false">
141
+ <div class="panel-heading" @click="selectVal('表具信息')" style="background-color: #ffffff">
142
+ <span class="spanboder">
143
+ <img src="../../assets/person.png" style="width: 22px;margin-right: 8px;">表具信息
144
+ <img class="butt3" :src="imgback('表具信息')">
145
+ </span>
146
+ </div>
147
+ <div class="panel-body " v-show="headername == '表具信息'">
148
+ <div class="row auto" style="margin: 5px 0">
149
+ <label class="righttxt">表&ensp;&ensp;&ensp;&ensp;号:</label>
150
+ <input type="text" :readonly="userinfo.meterinfo[0].f_meter_classify != '机表'" class="form-control rightipt"
151
+ style="width: 45%" v-model="userinfo.meterinfo[0].f_meternumber" />
152
+ <button type="button"
153
+ :disabled="!(userinfo.meterinfo[0].f_meter_classify == '机表' || userinfo.meterinfo[0].f_meter_classify == '金额卡表' || userinfo.meterinfo[0].f_meter_classify == '气量卡表')"
154
+ name="button" class="btn btn-primary" style="width: 15%" @click="scan">扫码
155
+ </button>
156
+ </div>
157
+
158
+ <div class="row auto" style="margin: 5px 0">
159
+ <label class="righttxt">通&ensp;气&ensp;人:</label>
160
+ <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_gas_person" />
161
+ </div>
162
+ <div class="row auto" style="margin: 5px 0">
163
+ <label class="righttxt">通气时间:</label>
164
+ <datepicker class="rightipt" :value.sync="userinfo.meterinfo[0].f_gas_date"
165
+ v-model="userinfo.meterinfo[0].f_gas_date" :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'"
166
+ :show-reset-button="reset">
167
+ </datepicker>
168
+ </div>
169
+ <div class="row auto" style="margin: 5px 0" v-show="showBox">
170
+ <label class="righttxt">调&ensp;压&ensp;箱:</label>
171
+ <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_adjustable_id"
172
+ v-model="userinfo.meterinfo[0].f_adjustable_id" placeholder='请选择' :width='wid' readonly
173
+ :options="boxOptions" close-on-select value-single></v-select>
174
+ </div>
175
+ <div class="row auto" style="margin: 5px 0">
176
+ <label class="righttxt">是否直通:</label>
177
+ <v-select :value.sync="userinfo.meterinfo[0].f_if_direct" class="input-font" style="margin-left: 5%;"
178
+ :width="'60%'" v-model="userinfo.meterinfo[0].f_if_direct" :options='directOptions' placeholder='是否直通'
179
+ close-on-select clear-button value-single>
180
+ </v-select>
181
+ </div>
182
+ <div class="row auto" style="margin: 5px 0">
183
+ <label class="righttxt">表&ensp;封&ensp;号:</label>
184
+ <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_metertitles" />
185
+ </div>
186
+ <div class="row auto" style="margin: 5px 0">
187
+ <label class="righttxt">表&ensp;位&ensp;置:</label>
188
+ <!--<input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_position" readonly/>-->
189
+ <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_position"
190
+ v-model="userinfo.meterinfo[0].f_position" placeholder='请选择' :width='wid' readonly :options="wz_types"
191
+ close-on-select value-single></v-select>
192
+ </div>
193
+ <div class="row auto" style="margin: 5px 0">
194
+ <label class="righttxt">表&ensp;&ensp;&ensp;&ensp;向:</label>
195
+ <!--<input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_position" readonly/>-->
196
+ <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_aroundmeter"
197
+ v-model="userinfo.meterinfo[0].f_aroundmeter" placeholder='请选择' :width='wid' readonly
198
+ :options="aroundmeters" close-on-select value-single></v-select>
199
+ </div>
200
+ <div class="row auto" style="margin: 5px 0">
201
+ <label class="righttxt">气表类型:</label>
202
+ <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_meter_classify" readonly />
203
+ </div>
204
+ <div class="row auto" style="margin: 5px 0">
205
+ <label class="righttxt">表前阀状态:</label>
206
+ <!--<input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_position" readonly/>-->
207
+ <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_bqf_state"
208
+ v-model="userinfo.meterinfo[0].f_bqf_state" placeholder='请选择' :width='wid' readonly :options="bqf_states"
209
+ close-on-select value-single></v-select>
210
+ </div>
211
+ <!-- <div class="row auto" style="margin: 5px 0">
212
+ <div style="display: flex;justify-content: center;">
213
+ <button v-if="userinfo.meterinfo[0].f_meter_classify=='机表'" class="col-sm-3 btn btn-primary" @click="upUserState()">机表关阀停用</button>
214
+ </div>
215
+ </div>-->
216
+ </div>
217
+ </div>
218
+ <div class="panel auto">
219
+ <div class="panel-heading" @click="selectVal('用气设备信息')" style="background-color: #ffffff">
220
+ <span class="spanboder"><img src="../../assets/list.png" style="width: 22px;margin-right: 8px;">用气设备信息<img
221
+ class="butt3" :src="imgback('用气设备信息')"></span>
222
+ </div>
223
+ <div class="panel-body" v-show="headername == '用气设备信息'">
224
+ <div class="row" v-for="(idx, row) in model"
225
+ style="border:2px solid #A2C2EB; border-top:10px solid #A2C2EB; box-shadow: #00b3ee;margin-bottom: 10px">
226
+ <div class="row auto" style="margin: 5px 0">
227
+ <label class="righttxt">设备类型:</label>
228
+ <!--<input type="text" class="form-control rightipt" readonly v-model="row.f_devices_type" />-->
229
+ <v-select class="rightipt" :value.sync="row.f_devices_type" v-model="row.f_devices_type" placeholder='请选择'
230
+ @change="getServiceLife(idx, row.f_devices_type)" :width='wid' readonly :options="devices_types"
231
+ close-on-select value-single></v-select>
232
+ </div>
233
+ <div class="row auto" style="margin: 5px 0">
234
+ <label class="righttxt">设备品牌:</label>
235
+ <input type="text" class="form-control rightipt" v-model="row.f_brand" />
236
+ </div>
237
+ <div class="row auto" style="margin: 5px 0">
238
+ <label class="righttxt">设备型号:</label><input type="text" class="form-control rightipt"
239
+ v-model="row.f_devices_model" />
240
+ </div>
241
+ <div class="row auto" style="margin: 5px 0" v-if="false">
242
+ <label class="righttxt">生产日期:</label>
243
+ <datepicker class="rightipt" :value.sync="row.f_make_date" v-model="row.f_make_date"
244
+ :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">
245
+ </datepicker>
246
+ </div>
247
+ <div class="row auto" style="margin: 5px 0">
248
+ <label class="righttxt">安装日期:</label>
249
+ <datepicker class="rightipt" @change="countExpireFate(idx, row.f_input_date)" :value.sync="row.f_input_date"
250
+ v-model="row.f_input_date" :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset"
251
+ readonly="readonly">
252
+ </datepicker>
253
+ </div>
254
+ <div class="row auto" style="margin: 5px 0">
255
+ <label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"
256
+ v-model="row.f_service_life" readonly />
257
+ </div>
258
+ <div class="row auto" style="margin: 5px 0">
259
+ <label class="righttxt">到期日期:</label>
260
+ <input type="text" class="form-control rightipt" v-model="row.f_expire_date" readonly />
261
+ </div>
262
+ <div class="row auto" style="margin: 5px 0">
263
+ <label class="righttxt">安&ensp;装&ensp;人:</label><input type="text" class="form-control rightipt"
264
+ v-model="row.f_input_person" />
265
+ </div>
266
+ <div class="row auto" style="margin: 5px 0">
267
+ <label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"
268
+ v-model="row.f_devices_num" />
269
+ </div>
270
+ <div class="row auto" style="margin: 5px 0">
271
+ <label class="righttxt">管道类型:</label>
272
+ <!--<input type="text" class="form-control rightipt" readonly v-model="row.f_devices_type" />-->
273
+ <v-select class="rightipt" :value.sync="row.f_pipe_type" v-model="row.f_pipe_type" placeholder='请选择'
274
+ :width='wid' readonly :options="pipe_types" close-on-select value-single></v-select>
275
+ </div>
276
+ <div class="row auto" style="margin: 5px 0">
277
+ <label class="righttxt">安装日期:</label>
278
+ <datepicker class="rightipt" @change="countExpireFate_pipe(idx, row.f_pipeinstall_date, row.f_pipe_type)"
279
+ :value.sync="row.f_pipeinstall_date" v-model="row.f_pipeinstall_date" :disabled-days-of-Week="[]"
280
+ :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">
281
+ </datepicker>
282
+ </div>
283
+ <div class="row auto" style="margin: 5px 0">
284
+ <label class="righttxt">到期日期:</label>
285
+ <input type="text" class="form-control rightipt" v-model="row.f_pipeexpire_date" readonly />
286
+ </div>
287
+ <!--<div class="row auto" style="margin: 5px 0">
288
+ <label class="righttxt">设备状态:</label><input type="text" class="form-control rightipt" readonly v-model="row.f_userinfodevices_state" />
289
+ </div>-->
290
+ <!--<div class="row auto" style="margin: 5px 0">
291
+ <label class="righttxt">购买方式:</label><input type="text" class="form-control rightipt" readonly v-model="row.watchpurchase" />
292
+ </div>-->
293
+ <div style="display: flex;justify-content: center;margin-bottom: 3px"
294
+ v-if="$index > this.userinfo_old.devicesinfo.length - 1 || this.userinfo_old.devicesinfo.length == 0">
295
+ <button class="btn btn-warning" @click="delDevices($index)">删除设备</button>
296
+ </div>
297
+ </div>
298
+ <div style="display: flex;justify-content: space-around;">
299
+ <button class="col-sm-3 btn btn-primary" @click="addDevices($index)">新增设备</button>
300
+ </div>
301
+ </div>
302
+ </div>
303
+ <div class="panel auto">
304
+ <div class="panel-body">
305
+ <div style="display: flex;justify-content: center;">
306
+ <!-- <button class="col-sm-3 btn btn-primary" :disabled="enable" @click="isNeedAudit ? editUserInfo() : editUserInfoNoAudit()">{{isNeedAudit ? '上传审核' : '上传'}}</button>-->
307
+ <button class="col-sm-3 btn btn-primary" :disabled="enable" @click="editUserInfo()">上传</button>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </div>
312
+ </template>
313
+
314
+ <script>
315
+ import { HttpResetClass } from 'vue-client'
316
+ import * as Util from "../Util";
317
+ import Vue from 'vue'
318
+ import { toStandardDateString } from "../Util";
319
+
320
+ export default {
321
+ title: '设备查看',
322
+ data() {
323
+ return {
324
+ model: [],
325
+ devicemodel:[],
326
+ show: false,
327
+ row: Object,
328
+ userinfo: Object,
329
+ userinfo_old: Object,
330
+ wid: "60%",
331
+ aroundmeters: [],
332
+ devices_types: [],
333
+ device_type: [{label: '调压器', value: '调压器'}, {label: '报警器', value: '报警器'}, {label: '切断阀', value: '切断阀'}],
334
+ pipe_types: Vue.$appdata.getParam('管道类型')?Vue.$appdata.getParam('管道类型'):[{label: '包覆管', value: '包覆管'}, {label: '波纹管', value: '波纹管'}],
335
+ wz_types: [],
336
+ cityTypes: [{ label: '市区', value: '市区' }, { label: '城镇', value: '城镇' }],
337
+ bqf_states: [{ label: '开阀', value: '开阀' }, { label: '关阀', value: '关阀' }],
338
+ pcds: [],
339
+ streets: [],
340
+ update: false,
341
+ headername: '用气设备信息',
342
+ excessive: false,
343
+ area: [],
344
+ enable: false,
345
+ f_meterno_path: Vue.nopic,
346
+ selectArea: { id: '' },
347
+ selectPcd: { id: '' },
348
+ selectStreet: { id: '' },
349
+ changemeterno: false,//是否修改了机表表号
350
+ approveChange: false,//是否需要进行信息变更审核
351
+ newAddress: '',
352
+ addressType: '',
353
+ //需要审核的字段
354
+ checkField: {
355
+ checkUserinfoField: [
356
+ 'f_user_name'
357
+ ],
358
+ checkUserFilesField: [
359
+ 'f_meternumber'
360
+ ],
361
+ checkAddressField: [
362
+ 'f_pcd_id',
363
+ 'f_street_id',
364
+ 'f_residential_area_id',
365
+ 'f_building',
366
+ 'f_unit',
367
+ 'f_floor',
368
+ 'f_room',
369
+ 'f_slice_area',
370
+ 'f_special',
371
+ 'f_address'
372
+ ],
373
+ },
374
+ boxOptions: [],
375
+ showBox: false,
376
+ directOptions: [{ label: '是', value: '是' }, { label: '否', value: '否' }],
377
+ deviceBrandOption: {},
378
+ isNeedAudit: this.$appdata.getSingleValue('信息变更是否需要审核') == 'false' ? false : true
379
+ }
380
+ },
381
+ props: {
382
+ user: {
383
+ type: Object
384
+ },
385
+ f_userinfo_id: '',
386
+ f_source: ''
387
+ },
388
+ methods: {
389
+ deleteDevice(idx) {
390
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
391
+ if (res === 'confirm') {
392
+ this.devicemodel.splice(idx, 1)
393
+ }
394
+ })
395
+ },
396
+ pushDevices() {
397
+ let obj = {
398
+ "f_operator": Vue.user.name,
399
+ "f_operate_date": Util.toStandardTimeString(),
400
+ "f_operatorid": Vue.user.id,
401
+ "f_devices_type":null,
402
+ "f_manufactor":null,
403
+ "f_devices_no":null,
404
+ "f_devices_model":null,
405
+ "f_instaler_person":null,
406
+ "f_make_date":null,
407
+ "f_input_date":null,
408
+ "f_devices_num":null,
409
+ "f_firstcheck_date":null,
410
+ "f_rate_flow":null,
411
+ "f_expire_date":null,
412
+ "f_nextcheck_date":null,
413
+ "f_pressure_range":null,
414
+ "f_import_pressure":null
415
+ }
416
+ this.devicemodel.push(obj)
417
+ },
418
+ countExpireFate_pipe(index, dateTime, type) {
419
+ let old = new Date(dateTime)
420
+ let newYear = old.getFullYear() + Number(this.$appdata.getSingleValue(type + '-年限') || 0)
421
+ let month = old.getMonth() + 1
422
+ let date = old.getDate()
423
+ this.model[index].f_pipeexpire_date = newYear + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
424
+ },
425
+ countExpireFate(index, dateTime) {
426
+ let old = new Date(dateTime)
427
+ let newYear = old.getFullYear() + Number(this.model[index].f_service_life)
428
+ let month = old.getMonth() + 1
429
+ let date = old.getDate()
430
+ this.model[index].f_expire_date = newYear + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
431
+ },
432
+ getServiceLife(index, type) {
433
+ const year = this.$appdata.getSingleValue(type + '-' + this.userinfo.meterinfo[0].f_user_type + '-年限') || 0
434
+ this.model[index].f_service_life = year
435
+ },
436
+ dateAddYear(dateTime, year) {
437
+ let old = new Date(dateTime)
438
+ let newYear = old.getFullYear() + Number(year)
439
+ let month = old.getMonth() + 1
440
+ let date = old.getDate()
441
+ return newYear + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
442
+ },
443
+ scan() {
444
+ HostApp.__this__ = this,
445
+ HostApp.scanCode({ callback: "javascript:HostApp.__this__.getCode();" })
446
+ },
447
+ getCode() {
448
+ var datapa = HostApp.getCode().data;
449
+ //tag
450
+ this.userinfo.meterinfo[0].f_meternumber = datapa
451
+ },
452
+ //数据检查
453
+ checkVal() {
454
+ //检查一些必要信息是否未填
455
+ this.approveChange = false
456
+ this.changemeterno = false
457
+ let checked = { ischeck: true, msg: '' }
458
+ //tag
459
+ //tag
460
+ //tag
461
+ if (!this.userinfo.baseinfo.base.f_user_name) {
462
+ checked = { ischeck: false, msg: '请输入用户名称!' }
463
+ }
464
+ if (!this.selectPcd.id) {
465
+ checked = { ischeck: false, msg: '请选择省市区!' }
466
+ }
467
+ if (!this.selectStreet.id) {
468
+ checked = { ischeck: false, msg: '请选择街道!' }
469
+ }
470
+ if (!this.userinfo.addressinfo.f_address) {
471
+ checked = { ischeck: false, msg: '新地址不能为空!' }
472
+ }
473
+ if (this.addressType == '普通地址') {
474
+ if (!this.selectArea.id) {
475
+ checked = { ischeck: false, msg: '请选择集收单位!' }
476
+ }
477
+ if (!this.userinfo.addressinfo.f_room) {
478
+ checked = { ischeck: false, msg: '新输入门牌号!' }
479
+ }
480
+ }
481
+ if (this.userinfo.meterinfo[0].f_meter_classify == '机表' && this.userinfo_old.meterinfo[0].f_meternumber) {
482
+
483
+ //tag
484
+ //tag
485
+ if (this.userinfo.meterinfo[0].f_meternumber) {
486
+ if (this.userinfo.meterinfo[0].f_meternumber != this.userinfo_old.meterinfo[0].f_meternumber) {
487
+ if (!this.f_meterno_path || this.f_meterno_path == Vue.nopic) {
488
+ checked = { ischeck: false, msg: '请拍摄表号照片!' }
489
+ } else {
490
+ //用来标识当前有修改机表表号,后台需要进行照片上传
491
+ this.changemeterno = true
492
+ }
493
+ }
494
+ } else {
495
+ checked = { ischeck: false, msg: '请输入表号!' }
496
+ }
497
+ }
498
+ //检查本次修改信息中是否包含需要审核的内容
499
+ for (let check in this.checkField) {
500
+ //tag
501
+ if (typeof check != 'function') {
502
+ for (let i = 0; i < this.checkField[check].length; i++) {
503
+ //tag
504
+ if (check == 'checkUserinfoField') {
505
+ //tag
506
+ //tag
507
+ if (this.userinfo.baseinfo.base[this.checkField[check][i]] != this.userinfo_old.baseinfo.base[this.checkField[check][i]]) {
508
+ //tag
509
+ this.approveChange = true
510
+ }
511
+ } else if (check == 'checkUserFilesField') {
512
+ //tag
513
+ //tag
514
+ if (this.userinfo.meterinfo[0][this.checkField[check][i]] != this.userinfo_old.meterinfo[0][this.checkField[check][i]]) {
515
+ //tag
516
+ this.approveChange = true
517
+ }
518
+ } else if (check == 'checkAddressField') {
519
+ //tag
520
+ //tag
521
+ if (this.userinfo.addressinfo[this.checkField[check][i]] != this.userinfo_old.addressinfo[this.checkField[check][i]]) {
522
+ //tag
523
+ this.approveChange = true
524
+ }
525
+ }
526
+ }
527
+ }
528
+ }
529
+ //tag
530
+ return checked
531
+ },
532
+ select_search(text) {
533
+ //tag
534
+ if (this.selectStreet.id) {
535
+ let pcdText = text ? `and f_street_id=${this.selectStreet.id} and f_residential_area like '%${text}%'` : `and f_street_id=${this.selectStreet.id}`
536
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
537
+ data: {
538
+ items: "*",
539
+ tablename: "t_area",
540
+ orderitem: "id",
541
+ condition: `f_orgid = '${Vue.user.orgid}' ${pcdText} `
542
+ }
543
+ }, { resolveMsg: null, rejectMsg: null }).then((res) => {
544
+ //tag)
545
+ if (res.data.length > 0) {
546
+ this.area = []
547
+ res.data.forEach((result) => {
548
+ this.area.push({ label: result.f_residential_area, value: result })
549
+ })
550
+ }
551
+ })
552
+ } else {
553
+ this.area = []
554
+ }
555
+ },
556
+ cameraCallBack(prop, fileName) {
557
+ HostApp.__this__.$set(prop, fileName + '?' + Math.random())
558
+ //tag
559
+ HostApp.__callback__ = null
560
+ HostApp.__this__ = null
561
+ },
562
+ takePic(prop, title) {
563
+ HostApp.__callback__ = this.cameraCallBack
564
+ HostApp.__this__ = this
565
+ //tag
566
+ let fileName
567
+ if (!this[prop] || this[prop].includes("nopic.png")) {
568
+ fileName = Util.guid() + '-' + prop + '.jpg'
569
+ } else {
570
+ fileName = Util.getFileName(this[prop])
571
+ }
572
+ HostApp._open_a_page({
573
+ type: 'boomerang',
574
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
575
+ param: {
576
+ file: fileName,
577
+ requestCode: 111,
578
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
579
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
580
+ }
581
+ })
582
+ },
583
+ delfile(prop, fileName) {
584
+ if (fileName == Vue.nopic)
585
+ return
586
+ else {
587
+ HostApp.delfile(fileName)
588
+ this[prop] = Vue.nopic
589
+ }
590
+ },
591
+ editUserInfoNoAudit() {
592
+ let checked = this.checkVal()
593
+ if (!checked.ischeck) {
594
+ this.$showMessage(checked.msg)
595
+ return
596
+ }
597
+ for (let i = 0; i < this.model.length; i++) {
598
+ this.model[i].f_user_id = this.userinfo.meterinfo[0].f_user_id
599
+ }
600
+ this.$showMessage('确定是否修改上传用户信息?', ['confirm', 'cancel']).then((res) => {
601
+ if (res === 'confirm') {
602
+ this.excessive = true
603
+ let userinfoms = Object.assign({}, this.userinfo_old.baseinfo.base)
604
+ // userinfoms.f_user_name=row.f_user_name
605
+ userinfoms.f_user_phone = this.userinfo.baseinfo.base.f_user_phone
606
+ userinfoms.f_rent_name = this.userinfo.baseinfo.base.f_rent_name
607
+ userinfoms.f_zuhu_phone = this.userinfo.baseinfo.base.f_zuhu_phone
608
+ userinfoms.f_operator_record = Vue.user.name
609
+ userinfoms.f_operatorid_record = Vue.user.id
610
+ userinfoms.f_remark = this.userinfo.baseinfo.base.f_remark
611
+ userinfoms.f_orgid_record = Vue.user.orgid
612
+ userinfoms.f_orgname_record = Vue.user.orgs
613
+ userinfoms.f_depid_record = Vue.user.depids
614
+ userinfoms.f_depname_record = Vue.user.deps
615
+ this.userinfo_old.meterinfo[0].f_gas_person = this.userinfo.meterinfo[0].f_gas_person
616
+ this.userinfo_old.meterinfo[0].f_gas_date = this.userinfo.meterinfo[0].f_gas_date
617
+ this.userinfo_old.meterinfo[0].f_adjustable_id = this.userinfo.meterinfo[0].f_adjustable_id
618
+ this.userinfo_old.meterinfo[0].f_metertitles = this.userinfo.meterinfo[0].f_metertitles
619
+ this.userinfo_old.meterinfo[0].f_position = this.userinfo.meterinfo[0].f_position
620
+ this.userinfo_old.meterinfo[0].f_aroundmeter = this.userinfo.meterinfo[0].f_aroundmeter
621
+ this.userinfo_old.meterinfo[0].f_bqf_state = this.userinfo.meterinfo[0].f_bqf_state
622
+ this.userinfo_old.meterinfo[0].f_if_direct = this.userinfo.meterinfo[0].f_if_direct
623
+ userinfoms.userfiles = []
624
+ this.userinfo_old.meterinfo[0].devicesinfo = this.model
625
+ userinfoms.userfiles.push(this.userinfo_old.meterinfo[0])
626
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/filemanage_fileSave`, {
627
+ data: {
628
+ userinfo: userinfoms,
629
+ modifyReason: this.f_source ? `${this.f_source}维护档案信息` : '',
630
+ address: {
631
+ id: this.userinfo_old.addressinfo.id,
632
+ oldid: this.userinfo_old.addressinfo.id,
633
+ f_address: this.userinfo_old.addressinfo.f_address ? this.userinfo_old.addressinfo.f_address : this.userinfo.addressinfo.f_address
634
+ }
635
+ }
636
+ }, { resolveMsg: null, rejectMsg: null }).then((res1) => {
637
+ if (res1.data.status == 200) {
638
+ let data = this.userinfo.addressinfo
639
+ data.f_address = this.userinfo_old.addressinfo.f_address ? this.userinfo_old.addressinfo.f_address : this.userinfo.addressinfo.f_address
640
+ //
641
+ data.f_operator = Vue.user.name
642
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/address_updateuseraddress`, { data: data }).then((res2) => {
643
+ this.$showMessage("修改用户地址信息成功!")
644
+ }).catch(error => {
645
+ this.$showMessage("修改用户地址信息!")
646
+ })
647
+ this.$showMessage("修改用户信息成功!")
648
+ this.enable = true
649
+ this.excessive = false
650
+ }
651
+ }).catch((msg) => {
652
+ this.$showMessage("修改用户信息失败,请检查手机网络状况!")
653
+ this.excessive = false
654
+ })
655
+ }
656
+ })
657
+ },
658
+ editUserInfo() {
659
+ this.$showMessage('确定是否修改上传审核用户信息?', ['confirm', 'cancel']).then((res) => {
660
+ if (res === 'confirm') {
661
+ for (let i = 0; i < this.model.length; i++) {
662
+ this.model[i].f_user_id = this.userinfo.meterinfo[0].f_user_id
663
+ }
664
+ this.excessive = true
665
+ let userinfoms = Object.assign({}, this.userinfo_old.baseinfo.base)
666
+ //userinfoms.f_user_name=row.f_user_name
667
+ userinfoms.f_user_phone = this.userinfo.baseinfo.base.f_user_phone
668
+ userinfoms.f_rent_name = this.userinfo.baseinfo.base.f_rent_name
669
+ userinfoms.f_zuhu_phone = this.userinfo.baseinfo.base.f_zuhu_phone
670
+ userinfoms.f_operator_record = Vue.user.name
671
+ userinfoms.f_operatorid_record = Vue.user.id
672
+ userinfoms.f_remark = this.userinfo.baseinfo.base.f_remark
673
+ userinfoms.f_orgid_record = Vue.user.orgid
674
+ userinfoms.f_orgname_record = Vue.user.orgs
675
+ userinfoms.f_depid_record = Vue.user.depids
676
+ userinfoms.f_depname_record = Vue.user.deps
677
+ this.userinfo_old.meterinfo[0].f_gas_person = this.userinfo.meterinfo[0].f_gas_person
678
+ this.userinfo_old.meterinfo[0].f_gas_date = this.userinfo.meterinfo[0].f_gas_date
679
+ this.userinfo_old.meterinfo[0].f_adjustable_id = this.userinfo.meterinfo[0].f_adjustable_id
680
+ this.userinfo_old.meterinfo[0].f_metertitles = this.userinfo.meterinfo[0].f_metertitles
681
+ this.userinfo_old.meterinfo[0].f_position = this.userinfo.meterinfo[0].f_position
682
+ this.userinfo_old.meterinfo[0].f_aroundmeter = this.userinfo.meterinfo[0].f_aroundmeter
683
+ this.userinfo_old.meterinfo[0].f_bqf_state = this.userinfo.meterinfo[0].f_bqf_state
684
+ this.userinfo_old.meterinfo[0].f_if_direct = this.userinfo.meterinfo[0].f_if_direct
685
+ userinfoms.userfiles = []
686
+ this.userinfo_old.meterinfo[0].devicesinfo = this.model
687
+ for (let i = 0; i < this.devicemodel.length; i++){
688
+ this.userinfo_old.meterinfo[0].devicesinfo.push(this.devicemodel[i])
689
+ }
690
+ userinfoms.userfiles.push(this.userinfo_old.meterinfo[0])
691
+ //tag)
692
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/filemanage_fileSave`, {
693
+ data: {
694
+ userinfo: userinfoms,
695
+ modifyReason: this.f_source ? `${this.f_source}维护档案信息` : '',
696
+ address: { id: this.userinfo_old.addressinfo.id, oldid: this.userinfo_old.addressinfo.id }
697
+ }
698
+ }, { resolveMsg: null, rejectMsg: null }).then((res1) => {
699
+ if (res1.data.status == 200) {
700
+ //本次修改信息包含需要审核信息
701
+ // if (this.approveChange) {
702
+ // //tag
703
+ // let res2 = this.$androidUtil.bzLogic('safe_upUserinfoApprove', {
704
+ // row: {
705
+ // f_time: Util.toStandardTimeString(),
706
+ // f_modifier: Vue.user.name,//Vue.user.name
707
+ // f_modifier_id: Vue.user.id,//Vue.user.id
708
+ // f_modify_type: '用户档案',
709
+ // f_userinfoid: this.userinfo.baseinfo.base.f_userinfo_id,
710
+ // f_userinfo_code: this.userinfo.baseinfo.base.f_userinfo_code,
711
+ // f_approved: '未审核',
712
+ // filialestr: Vue.user.orgid,//Vue.user.orgid
713
+ // version: 1,
714
+ // f_user_name: this.userinfo.baseinfo.base.f_user_name,
715
+ // f_user_phone: this.userinfo.baseinfo.base.f_user_phone,
716
+ // f_street: this.userinfo.addressinfo.f_street,
717
+ // f_building: this.userinfo.addressinfo.f_building,
718
+ // f_unit: this.userinfo.addressinfo.f_unit,
719
+ // f_floor: this.userinfo.addressinfo.f_floor,
720
+ // f_room: this.userinfo.addressinfo.f_room,
721
+ // f_building_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_building_suffix,
722
+ // f_unit_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_unit_suffix,
723
+ // f_floor_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_floor_suffix,
724
+ // f_room_suffix: this.userinfo.addressinfo.f_special == 1 ? null : this.userinfo.addressinfo.f_room_suffix,
725
+ // f_residential_area: this.userinfo.addressinfo.f_residential_area,
726
+ // f_address: this.userinfo.addressinfo.f_address,
727
+ // f_pcd: this.userinfo.addressinfo.f_pcd,
728
+ // f_pcd_id: this.userinfo.addressinfo.f_pcd_id,
729
+ // f_street_id: this.userinfo.addressinfo.f_street_id,
730
+ // f_residential_area_id: this.userinfo.addressinfo.f_residential_area_id,
731
+ // f_used_name: this.userinfo.baseinfo.base.f_used_name,
732
+ // f_rent_phone: this.userinfo.baseinfo.base.f_rent_phone,
733
+ // f_slice_area: this.userinfo.addressinfo.f_slice_area,
734
+ // f_remark: this.userinfo.baseinfo.base.f_remark,
735
+ // f_source: this.f_source,
736
+ // f_meterno_path: this.f_meterno_path,
737
+ // f_iscity: this.userinfo.addressinfo.f_iscity,
738
+ // f_special: this.userinfo.addressinfo.f_special,
739
+ // f_meternumber: this.userinfo.meterinfo[0].f_meternumber,
740
+ // changemeterno: this.changemeterno
741
+ // },
742
+ // tablename: 't_modify_userinfo'
743
+ // })
744
+ // //tag)
745
+ // if (res2.code == 200) {
746
+ // this.$showMessage("变更用户信息成功,需要审核的信息已提交审核,等待管理员处理!")
747
+ // this.enable = true
748
+ // this.excessive = false
749
+ // } else {
750
+ // this.$showMessage("上传审核信息失败,请检查图片和网络状况是否正常!")
751
+ // this.excessive = false
752
+ // }
753
+ // } else {
754
+ // this.$showMessage("修改用户信息成功!")
755
+ // this.enable = true
756
+ // this.excessive = false
757
+ // }
758
+ this.$showMessage("修改用户信息成功!")
759
+ this.enable = true
760
+ this.excessive = false
761
+ }
762
+ }).catch((msg) => {
763
+ this.$showMessage("修改用户信息失败,请检查手机网络状况!")
764
+ this.excessive = false
765
+ })
766
+
767
+ }
768
+ })
769
+ },
770
+ imgback(header) {
771
+ if (this.headername == header) {
772
+ return require('../../assets/xiangxia1.png')
773
+ } else {
774
+ return require('../../assets/xiangyou1.png')
775
+ }
776
+ this.headername = header
777
+ },
778
+ selectVal(header) {
779
+ if (this.headername == header) {
780
+ this.headername = ''
781
+ } else {
782
+ this.headername = header
783
+ }
784
+
785
+ },
786
+ changeNewAddress() {
787
+ this.userinfo.addressinfo.f_address = this.addressType == '普通地址' ? this.getAddress : this.getAddressTS
788
+ },
789
+ area_change() {
790
+ //tag
791
+ this.userinfo.addressinfo.f_residential_area = this.selectArea.f_residential_area
792
+ this.userinfo.addressinfo.f_residential_area_id = this.selectArea.id
793
+ this.userinfo.addressinfo.f_slice_area = this.selectArea.f_slice_area
794
+ this.changeNewAddress()
795
+ //this.userinfo.addressinfo.f_residential_area=this.f_residential_area.f_residential_area
796
+ },
797
+ async street_change() {
798
+ //tag
799
+ if (this.selectStreet.id) {
800
+ //如果街道改变--给街道赋值!
801
+ this.userinfo.addressinfo.f_street = this.selectStreet.f_street
802
+ this.userinfo.addressinfo.f_street_id = this.selectStreet.id
803
+ this.userinfo.addressinfo.f_iscity = this.selectStreet.f_iscity
804
+ //清空当前选中小区的值
805
+ this.userinfo.addressinfo.f_residential_area = ''
806
+ this.userinfo.addressinfo.f_residential_area_id = ''
807
+ this.userinfo.addressinfo.f_slice_area = ''
808
+ this.selectArea = { id: '' }
809
+ this.area = []
810
+ let pcdText = ` and f_street_id=${this.selectStreet.id}`
811
+ let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
812
+ data: {
813
+ items: "*",
814
+ tablename: "t_area",
815
+ orderitem: "id",
816
+ condition: `f_orgid = '${Vue.user.orgid}' ${pcdText} `
817
+ }
818
+ }, { resolveMsg: null, rejectMsg: null })
819
+ ////tag)
820
+ res.data.forEach((result) => {
821
+ this.area.push({ label: result.f_residential_area, value: result })
822
+ })
823
+ } else {
824
+ this.area = []
825
+ }
826
+
827
+ this.changeNewAddress()
828
+ },
829
+ async pcd_change() {
830
+ //tag
831
+ if (this.selectPcd.id) {
832
+ //tag
833
+ //如果省市区改变-重新赋值
834
+ this.userinfo.addressinfo.f_pcd = this.selectPcd.f_pcd
835
+ this.userinfo.addressinfo.f_pcd_id = this.selectPcd.id
836
+ //清空 选中的街道和集收单位
837
+ this.selectStreet = { id: '' }
838
+ this.userinfo.addressinfo.f_street = ''
839
+ this.userinfo.addressinfo.f_street_id = ''
840
+ this.userinfo.addressinfo.f_iscity = ''
841
+ this.selectArea = { id: '' }
842
+ this.userinfo.addressinfo.f_residential_area = ''
843
+ this.userinfo.addressinfo.f_residential_area_id = ''
844
+ this.userinfo.addressinfo.f_slice_area = ''
845
+ this.streets = []
846
+ let pcdText = `and f_pcd_id=${this.selectPcd.id}`
847
+ let streetlist = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
848
+ data: {
849
+ items: "*",
850
+ tablename: "t_street",
851
+ orderitem: "id",
852
+ condition: `f_orgid = '${Vue.user.orgid}' ${pcdText}`
853
+ }
854
+ }, { resolveMsg: null, rejectMsg: null })
855
+ streetlist.data.forEach((result) => {
856
+ this.streets.push({ label: result.f_street, value: result })
857
+ })
858
+ } else {
859
+ this.streets = []
860
+ }
861
+ this.changeNewAddress()
862
+ },
863
+ upUserState() {
864
+ //tag)
865
+ if (this.userinfo.meterinfo[0].f_table_state == '正常') {
866
+ let data = {
867
+ f_userfiles_id: {
868
+ f_userfiles_id: this.userinfo.meterinfo[0].f_userfiles_id,
869
+ f_table_state: '停用',
870
+ version: this.userinfo.meterinfo[0].version
871
+ },
872
+ f_userfile_id: this.userinfo.meterinfo[0].f_userfiles_id,
873
+ f_user_id: this.userinfo.meterinfo[0].f_user_id,
874
+ f_userinfo_id: this.userinfo.meterinfo[0].f_userinfo_id,
875
+ f_user_name: this.userinfo.baseinfo.base.f_user_name,
876
+ f_comments: '安检时发现问题关闭阀门',
877
+ f_othereason: '',
878
+ f_operat_type: '停用',
879
+ f_describe: `${Vue.user.name}对客户${this.userinfo.baseinfo.base.f_user_name}进行表具停用操作`,
880
+ f_state: '有效',
881
+ f_operator: Vue.user.name,//${Vue.$login.f.name}
882
+ f_operatorid: Vue.user.id,
883
+ f_orgid: Vue.user.orgid,
884
+ f_orgname: Vue.user.orgs,
885
+ f_depid: Vue.user.depids,
886
+ f_depname: Vue.user.deps,
887
+ f_zoneid: Vue.user.zoneid,
888
+ f_zones: Vue.user.zones
889
+ }
890
+ new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/entity/t_disable`,
891
+ data, { resolveMsg: null, rejectMsg: null }).then((row) => {
892
+ this.$showMessage('已成功关阀停气!')
893
+ this.userinfo.meterinfo[0].f_table_state = '停用'
894
+ })
895
+ } else {
896
+ this.$showMessage('该用户已被关阀停用,请勿重复操作!')
897
+ }
898
+
899
+ },
900
+ addDevices() {
901
+ //Vue.user.name
902
+ let obj = {
903
+ "f_operator": Vue.user.name,
904
+ "f_picture": null,
905
+ "f_pipe_type": null,
906
+ "f_pipeinstall_date": null,
907
+ "f_pipe_connection": null,
908
+ "f_expire_date": null,
909
+ "f_pipeexpire_date": null,
910
+ "f_comments": null,
911
+ "f_operate_date": Util.toStandardTimeString(),
912
+ "f_operatorid": Vue.user.id,
913
+ "f_service_life": '',
914
+ "f_devices_num": null,
915
+ "f_process_id": null,
916
+ "f_devices_type": null,
917
+ "f_make_date": null,
918
+ "f_input_date": null,
919
+ "f_state": "有效",
920
+ "f_brand": null,
921
+ "f_devices_model": null,
922
+ "f_devices_no": null,
923
+ "img": { "content": null, "filename": null }
924
+ }
925
+ this.model.push(obj)
926
+ },
927
+ delDevices(idx) {
928
+ //tag
929
+ this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
930
+ if (res === 'confirm') {
931
+ this.model.splice(idx, 1)
932
+ }
933
+ })
934
+ },
935
+ async getAreaList(text) {
936
+ if (this.selectStreet.id) {
937
+ this.area = []
938
+ let pcdText = text ? `and f_street_id=${this.selectStreet.id} and f_residential_area like '%${text}%'` : `and f_street_id=${this.selectStreet.id}`
939
+ let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
940
+ data: {
941
+ items: "*",
942
+ tablename: "t_area",
943
+ orderitem: "id",
944
+ condition: `f_orgid = '${Vue.user.orgid}' ${pcdText}`
945
+ }
946
+ }, { resolveMsg: null, rejectMsg: null })
947
+ ////tag)
948
+ res.data.forEach((result) => {
949
+ this.area.push({ label: result.f_residential_area, value: result })
950
+ })
951
+ //tag
952
+ this.area.push({
953
+ label: this.userinfo.addressinfo.f_residential_area,
954
+ value: {
955
+ id: this.userinfo.addressinfo.f_residential_area_id,
956
+ f_residential_area: this.userinfo.addressinfo.f_residential_area
957
+ }
958
+ })
959
+ } else {
960
+ this.area = []
961
+ }
962
+
963
+ },
964
+ async getStreetList() {
965
+ if (this.selectPcd.id) {
966
+ //tag
967
+ this.streets = []
968
+ let pcdText = `and f_pcd_id=${this.selectPcd.id}`
969
+ let streetlist = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
970
+ data: {
971
+ items: "*",
972
+ tablename: "t_street",
973
+ orderitem: "id",
974
+ condition: `f_orgid = '${Vue.user.orgid}' ${pcdText}`
975
+ }
976
+ }, { resolveMsg: null, rejectMsg: null })
977
+ streetlist.data.forEach((result) => {
978
+ //如果第一次进来有地址id 就拿下地址区域
979
+ if (this.selectStreet.id && this.selectStreet.id == result.id) {
980
+ //tag)
981
+ this.userinfo.addressinfo.f_iscity = result.f_iscity
982
+ }
983
+ this.streets.push({ label: result.f_street, value: result })
984
+ })
985
+ } else {
986
+ this.streets = []
987
+ }
988
+ },
989
+ changeAddressType(val) {
990
+ //tag
991
+ if (this.addressType == '普通地址') {
992
+ this.userinfo.addressinfo.f_special = null
993
+ } else if (this.addressType == '特殊地址') {
994
+ this.userinfo.addressinfo.f_special = 1
995
+ this.userinfo.addressinfo.f_building = null
996
+ this.userinfo.addressinfo.f_unit = null
997
+ this.userinfo.addressinfo.f_floor = null
998
+ this.userinfo.addressinfo.f_room = null
999
+ }
1000
+ this.changeNewAddress()
1001
+ }
1002
+
1003
+ },
1004
+ computed: {
1005
+ getAddress() {
1006
+ return (this.userinfo.addressinfo.f_pcd ? this.userinfo.addressinfo.f_pcd : '') +
1007
+ (this.userinfo.addressinfo.f_street ? this.userinfo.addressinfo.f_street : '') +
1008
+ (this.userinfo.addressinfo.f_residential_area ? this.userinfo.addressinfo.f_residential_area : '') +
1009
+ (this.userinfo.addressinfo.f_building ? this.userinfo.addressinfo.f_building + (this.userinfo.addressinfo.f_building_suffix ? this.userinfo.addressinfo.f_building_suffix : '') : '') +
1010
+ (this.userinfo.addressinfo.f_unit ? this.userinfo.addressinfo.f_unit + (this.userinfo.addressinfo.f_unit_suffix ? this.userinfo.addressinfo.f_unit_suffix : '') : '') +
1011
+ (this.userinfo.addressinfo.f_floor ? this.userinfo.addressinfo.f_floor + (this.userinfo.addressinfo.f_floor_suffix ? this.userinfo.addressinfo.f_floor_suffix : '') : '') +
1012
+ (this.userinfo.addressinfo.f_room ? this.userinfo.addressinfo.f_room + (this.userinfo.addressinfo.f_room_suffix ? this.userinfo.addressinfo.f_room_suffix : '') : '')
1013
+ },
1014
+ getAddressTS() {
1015
+ return (this.userinfo.addressinfo.f_pcd ? this.userinfo.addressinfo.f_pcd : '') +
1016
+ (this.userinfo.addressinfo.f_street ? this.userinfo.addressinfo.f_street : '') +
1017
+ (this.userinfo.addressinfo.f_residential_area ? this.userinfo.addressinfo.f_residential_area : '')
1018
+ }
1019
+ },
1020
+ watch: {
1021
+
1022
+ /*'selectPcd.id' (val) {
1023
+ //tag
1024
+ if(this.selectPcd.id){
1025
+ this.getStreetList()
1026
+ }
1027
+ },
1028
+ 'selectStreet.id' (val) {
1029
+ //tag
1030
+ if(this.selectStreet.id){
1031
+ this.getAreaList()
1032
+ }
1033
+ }*/
1034
+ },
1035
+ async ready() {
1036
+ /*//tag)
1037
+
1038
+ //tag)
1039
+ //tag)*/
1040
+ //this.f_userinfo_id=1102260
1041
+ //this.f_userinfo_id=1997541
1042
+ if (!this.f_userinfo_id) {
1043
+ this.$showMessage("未检测到用户!")
1044
+ this.enable = true
1045
+ return
1046
+ }
1047
+ try {
1048
+
1049
+ this.devices_types = Vue.$appdata.getParam('设备类型')
1050
+ console.log('this.devices_types=', JSON.stringify(this.devices_types))
1051
+ for (const devices_type of this.devices_types) {
1052
+ console.log('Vue.$appdata.getParam(`档案设备信息-${devices_type.label}品牌`)=', JSON.stringify(Vue.$appdata.getParam(`档案设备信息-${devices_type.label}品牌`)))
1053
+ this.deviceBrandOption[devices_type.label] = Vue.$appdata.getParam(`档案设备信息-${devices_type.label}品牌`) || []
1054
+ }
1055
+ console.log('this.deviceBrandOption=', JSON.stringify(this.deviceBrandOption))
1056
+ this.wz_types = Vue.$appdata.getParam('安装位置')
1057
+ this.aroundmeters = Vue.$appdata.getParam('左右表')
1058
+
1059
+ ////tag)
1060
+ this.excessive = true
1061
+ //Vue.user.orgid ${this.f_userinfo_id} 10101 ${Vue.user.orgid}
1062
+
1063
+ let pcdlist = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
1064
+ data: {
1065
+ items: "*",
1066
+ tablename: "t_pcd",
1067
+ orderitem: "id",
1068
+ condition: `f_orgid = '${Vue.user.orgid}'`
1069
+ }
1070
+ }, { resolveMsg: null, rejectMsg: null })
1071
+ //tag)
1072
+ pcdlist.data.forEach((result) => {
1073
+ this.pcds.push({ label: result.f_pcd, value: result })
1074
+ })
1075
+ ////tag)
1076
+ let res = await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/filemanage_getFilesDetail`, {
1077
+ //f_userinfo_code:'12381344',
1078
+ f_userinfo_id: this.f_userinfo_id
1079
+ }, { resolveMsg: null, rejectMsg: null })
1080
+ //tag
1081
+ //tag
1082
+ this.userinfo = res.data
1083
+ this.userinfo_old = JSON.parse(JSON.stringify(res.data))
1084
+ this.model = this.userinfo.meterinfo[0].devicesinfo.concat(this.userinfo.meterinfo[0].devicesinfonew)
1085
+ //已经超期
1086
+ let now = Util.toStandardDateString()
1087
+ let overdue = this.model.filter(item => item.f_expire_date <= now).map(item => item.f_devices_type).join(',')
1088
+ //临近超期
1089
+
1090
+ const advent_time = (this.$appdata.getSingleValue('设备超期提醒') || 7) * 1000 * 60 * 60 * 24
1091
+ const nowTime = new Date().getTime()
1092
+ const adventTimeLimit = nowTime + advent_time
1093
+ const advent = this.model
1094
+ .filter(item => {
1095
+ const expireTime = new Date(item.f_expire_date).getTime()
1096
+ return expireTime >= nowTime && expireTime <= adventTimeLimit
1097
+ })
1098
+ .map(item => {
1099
+ const expireTime = new Date(item.f_expire_date).getTime()
1100
+ const daysLeft = Math.round((expireTime - nowTime) / (1000 * 60 * 60 * 24))
1101
+ return `${item.f_devices_type}设备还有${daysLeft >= 0 ? daysLeft : 0}天超期`
1102
+ })
1103
+ .join(',')
1104
+ if (overdue && advent) {
1105
+ this.$showMessage(`${overdue}设备已过期,${advent}`)
1106
+ } else if (advent) {
1107
+ this.$showMessage(`${advent}`)
1108
+ } else if (overdue) {
1109
+ this.$showMessage(`${overdue}设备已过期`)
1110
+ }
1111
+ this.selectArea.id = this.userinfo.addressinfo.f_residential_area_id
1112
+ this.selectPcd.id = this.userinfo.addressinfo.f_pcd_id
1113
+ this.selectPcd.f_pcd = this.userinfo.addressinfo.f_pcd
1114
+ this.selectStreet.id = this.userinfo.addressinfo.f_street_id
1115
+ this.selectStreet.f_street = this.userinfo.addressinfo.f_street
1116
+ await this.getStreetList()
1117
+ await this.getAreaList()
1118
+ this.excessive = false
1119
+ this.addressType = this.userinfo.addressinfo.f_special == 1 ? '特殊地址' : '普通地址'
1120
+ //this.userinfo.addressinfo.f_special=1
1121
+ //tag
1122
+ } catch (e) {
1123
+ this.excessive = false
1124
+ this.enable = true
1125
+ this.$showMessage('获取用户信息出错,请检查网络状况!')
1126
+ }
1127
+ new HttpResetClass().load('get', `${this.$androidUtil.getProxyUrl()}/rs/vue/UserAddress.json`, { data: {} }, {
1128
+ resolveMsg: null,
1129
+ rejectMsg: null
1130
+ }).then((addressUnit) => {
1131
+ //tag
1132
+ //tag
1133
+ //tag
1134
+ //tag
1135
+ this.userinfo.addressinfo.f_building_suffix = addressUnit.data.f_building_suffix
1136
+ this.userinfo.addressinfo.f_unit_suffix = addressUnit.data.f_unit_suffix
1137
+ this.userinfo.addressinfo.f_floor_suffix = addressUnit.data.f_floor_suffix
1138
+ this.userinfo.addressinfo.f_room_suffix = addressUnit.data.f_room_suffix
1139
+ }).catch((msg) => {
1140
+ //tag)
1141
+ })
1142
+ this.showBox = this.$appdata.getSingleValue('档案审核是否显示调压箱') == '是' ? true : false
1143
+ console.log(this.showBox)
1144
+ if (this.showBox) {
1145
+ // 获取调压箱
1146
+ new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/adjustableboxQuery`, { data: { condition: '1 = 1' } }, {
1147
+ resolveMsg: null,
1148
+ rejectMsg: null
1149
+ }).then((res) => {
1150
+ const boxOptions = []
1151
+ for (const data of res.data) {
1152
+ const one = {
1153
+ label: data.f_adjustable_id + data.f_adjustable_name,
1154
+ value: Number(data.f_adjustable_id)
1155
+ }
1156
+ boxOptions.push(one)
1157
+ }
1158
+ this.boxOptions = JSON.parse(JSON.stringify(boxOptions))
1159
+ console.log(this.boxOptions)
1160
+ }).catch((msg) => {
1161
+ //tag)
1162
+ })
1163
+ }
1164
+ }
1165
+ }
1166
+ </script>
1167
+ <style lang="less" scoped>
1168
+ .butt3 {
1169
+ float: right;
1170
+ width: 12px;
1171
+ margin: 1% 2% 0 0;
1172
+ }
1173
+
1174
+ .rightipt {
1175
+ width: 60%;
1176
+ float: left;
1177
+ margin-left: 5%;
1178
+ }
1179
+
1180
+ .righttxt {
1181
+ border: none;
1182
+ margin-left: 5px;
1183
+ /*border-left: 5px solid #A2C2EB;*/
1184
+ float: left;
1185
+ width: 25%;
1186
+ margin-bottom: 3px;
1187
+ text-align: left;
1188
+ word-wrap: break-word;
1189
+ white-space: normal;
1190
+ }
1191
+
1192
+ .tit1 {
1193
+ background-image: url('../../assets/用户姓名.png');
1194
+ background-repeat: no-repeat;
1195
+ background-position: center;
1196
+ }
1197
+
1198
+ .spanboder {
1199
+ border-bottom: 2px solid #499edf;
1200
+ padding-bottom: 8px
1201
+ }
1202
+
1203
+ #upuserinfo_sel /deep/ ul {
1204
+ width: 100% !important;
1205
+ left: 0 !important;
1206
+ }
1207
+
1208
+ .btn-photo {
1209
+ border: 0;
1210
+ border-radius: 7px;
1211
+ background-color: #7dc1f4;
1212
+ font: 15px PingFang-SC-Bold;
1213
+ height: 20%;
1214
+ }
1215
+
1216
+ .panel-self {
1217
+ border-radius: 10px;
1218
+ border: 1px solid #499EDF;
1219
+ background-color: #F8F8F8;
1220
+ }
1221
+
1222
+ .div-photo {
1223
+ width: auto;
1224
+ height: auto;
1225
+ /* margin-top: 10px; */
1226
+ position: absolute;
1227
+ bottom: 10px;
1228
+ right: 10px;
1229
+ }
1230
+ </style>
1231
+ <style lang="less">
1232
+ #upuserinfo_sel ul {
1233
+ width: 100% !important;
1234
+ left: 0 !important;
1235
+ }
1236
+ </style>