safecheck-client 4.0.0-6 → 4.0.0-60

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