safecheck-client 4.0.1-6 → 4.0.1-61

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