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

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