safecheck-client 4.0.1-61 → 4.0.1-63

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 (476) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/android.html +18 -18
  4. package/config/dev.env.js +6 -6
  5. package/config/index.js +38 -38
  6. package/config/prod.env.js +3 -3
  7. package/config/test.env.js +6 -6
  8. package/docs/AppBase.md +22 -22
  9. package/docs/Busy.md +14 -14
  10. package/docs/CriteriaPaged.md +47 -47
  11. package/docs/DataGrid.md +54 -54
  12. package/docs/DataModel.md +22 -22
  13. package/docs/Dynamic.md +42 -42
  14. package/docs/GetParams.md +11 -11
  15. package/docs/HttpBusy.md +13 -13
  16. package/docs/HttpStore.md +29 -29
  17. package/docs/MessageBox.md +28 -28
  18. package/docs/PagedList.md +29 -29
  19. package/docs/Pager.md +21 -21
  20. package/docs/Project.md +23 -23
  21. package/docs/Route.md +105 -105
  22. package/docs/SafetyCheck/AdjustPlan.md +13 -13
  23. package/docs/SafetyCheck/CheckerPlan.md +12 -12
  24. package/docs/Task.md +46 -46
  25. package/docs/TreeList.md +28 -28
  26. package/docs/TreeMixin.md +18 -18
  27. package/docs/all.md +10 -10
  28. package/docs/list.md +42 -42
  29. package/docs/partial.md +75 -75
  30. package/docs/selector.md +82 -82
  31. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
  32. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
  33. package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
  34. package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
  35. package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
  36. package/examples/AddressList/App.vue +13 -13
  37. package/examples/AddressList/index.html +11 -11
  38. package/examples/DispatchList/App.vue +10 -10
  39. package/examples/DispatchList/BaseTree.vue +13 -13
  40. package/examples/DispatchList/Init.vue +22 -22
  41. package/examples/DispatchList/Test.vue +20 -20
  42. package/examples/DispatchList/index.html +11 -11
  43. package/examples/DispatchList/main.js +18 -18
  44. package/home.html +16 -16
  45. package/package.json +1 -1
  46. package/publish.bat +7 -7
  47. package/release.bat +5 -5
  48. package/src/App.vue +31 -31
  49. package/src/Widget.vue +13 -13
  50. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
  51. package/src/android-bootstrap/less/.csscomb.json +304 -304
  52. package/src/android-bootstrap/less/.csslintrc +19 -19
  53. package/src/android-bootstrap/less/alerts.less +73 -73
  54. package/src/android-bootstrap/less/badges.less +66 -66
  55. package/src/android-bootstrap/less/bootstrap.less +56 -56
  56. package/src/android-bootstrap/less/breadcrumbs.less +26 -26
  57. package/src/android-bootstrap/less/button-groups.less +247 -247
  58. package/src/android-bootstrap/less/buttons.less +173 -173
  59. package/src/android-bootstrap/less/carousel.less +269 -269
  60. package/src/android-bootstrap/less/close.less +34 -34
  61. package/src/android-bootstrap/less/code.less +69 -69
  62. package/src/android-bootstrap/less/component-animations.less +33 -33
  63. package/src/android-bootstrap/less/grid.less +84 -84
  64. package/src/android-bootstrap/less/input-groups.less +167 -167
  65. package/src/android-bootstrap/less/jumbotron.less +52 -52
  66. package/src/android-bootstrap/less/labels.less +64 -64
  67. package/src/android-bootstrap/less/list-group.less +141 -141
  68. package/src/android-bootstrap/less/media.less +66 -66
  69. package/src/android-bootstrap/less/mixins/alerts.less +14 -14
  70. package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
  71. package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
  72. package/src/android-bootstrap/less/mixins/buttons.less +69 -69
  73. package/src/android-bootstrap/less/mixins/center-block.less +7 -7
  74. package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
  75. package/src/android-bootstrap/less/mixins/forms.less +90 -90
  76. package/src/android-bootstrap/less/mixins/gradients.less +59 -59
  77. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
  78. package/src/android-bootstrap/less/mixins/grid.less +122 -122
  79. package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
  80. package/src/android-bootstrap/less/mixins/image.less +33 -33
  81. package/src/android-bootstrap/less/mixins/labels.less +12 -12
  82. package/src/android-bootstrap/less/mixins/list-group.less +30 -30
  83. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
  84. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
  85. package/src/android-bootstrap/less/mixins/opacity.less +8 -8
  86. package/src/android-bootstrap/less/mixins/pagination.less +24 -24
  87. package/src/android-bootstrap/less/mixins/panels.less +24 -24
  88. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
  89. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
  90. package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
  91. package/src/android-bootstrap/less/mixins/resize.less +6 -6
  92. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
  93. package/src/android-bootstrap/less/mixins/size.less +10 -10
  94. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
  95. package/src/android-bootstrap/less/mixins/table-row.less +44 -44
  96. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
  97. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
  98. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
  99. package/src/android-bootstrap/less/mixins.less +40 -40
  100. package/src/android-bootstrap/less/modals.less +151 -151
  101. package/src/android-bootstrap/less/navbar.less +660 -660
  102. package/src/android-bootstrap/less/navs.less +290 -290
  103. package/src/android-bootstrap/less/normalize.less +424 -424
  104. package/src/android-bootstrap/less/pager.less +76 -76
  105. package/src/android-bootstrap/less/pagination.less +89 -89
  106. package/src/android-bootstrap/less/panels.less +274 -274
  107. package/src/android-bootstrap/less/popovers.less +131 -131
  108. package/src/android-bootstrap/less/print.less +101 -101
  109. package/src/android-bootstrap/less/progress-bars.less +87 -87
  110. package/src/android-bootstrap/less/responsive-embed.less +35 -35
  111. package/src/android-bootstrap/less/responsive-utilities.less +194 -194
  112. package/src/android-bootstrap/less/scaffolding.less +161 -161
  113. package/src/android-bootstrap/less/tables.less +262 -262
  114. package/src/android-bootstrap/less/theme.less +291 -291
  115. package/src/android-bootstrap/less/thumbnails.less +36 -36
  116. package/src/android-bootstrap/less/tooltip.less +102 -102
  117. package/src/android-bootstrap/less/type.less +303 -303
  118. package/src/android-bootstrap/less/utilities.less +55 -55
  119. package/src/android-bootstrap/less/variables.less +896 -896
  120. package/src/android-bootstrap/less/wells.less +29 -29
  121. package/src/bootstrap/less/.csscomb.json +304 -304
  122. package/src/bootstrap/less/.csslintrc +19 -19
  123. package/src/bootstrap/less/alerts.less +73 -73
  124. package/src/bootstrap/less/badges.less +66 -66
  125. package/src/bootstrap/less/breadcrumbs.less +26 -26
  126. package/src/bootstrap/less/button-groups.less +247 -247
  127. package/src/bootstrap/less/buttons.less +172 -172
  128. package/src/bootstrap/less/carousel.less +269 -269
  129. package/src/bootstrap/less/close.less +34 -34
  130. package/src/bootstrap/less/code.less +69 -69
  131. package/src/bootstrap/less/component-animations.less +33 -33
  132. package/src/bootstrap/less/dropdowns.less +216 -216
  133. package/src/bootstrap/less/grid.less +84 -84
  134. package/src/bootstrap/less/input-groups.less +167 -167
  135. package/src/bootstrap/less/jumbotron.less +52 -52
  136. package/src/bootstrap/less/labels.less +64 -64
  137. package/src/bootstrap/less/list-group.less +141 -141
  138. package/src/bootstrap/less/media.less +66 -66
  139. package/src/bootstrap/less/mixins/alerts.less +14 -14
  140. package/src/bootstrap/less/mixins/background-variant.less +9 -9
  141. package/src/bootstrap/less/mixins/border-radius.less +18 -18
  142. package/src/bootstrap/less/mixins/buttons.less +69 -69
  143. package/src/bootstrap/less/mixins/center-block.less +7 -7
  144. package/src/bootstrap/less/mixins/clearfix.less +22 -22
  145. package/src/bootstrap/less/mixins/forms.less +90 -90
  146. package/src/bootstrap/less/mixins/gradients.less +59 -59
  147. package/src/bootstrap/less/mixins/grid-framework.less +92 -92
  148. package/src/bootstrap/less/mixins/grid.less +122 -122
  149. package/src/bootstrap/less/mixins/hide-text.less +21 -21
  150. package/src/bootstrap/less/mixins/image.less +33 -33
  151. package/src/bootstrap/less/mixins/labels.less +12 -12
  152. package/src/bootstrap/less/mixins/list-group.less +30 -30
  153. package/src/bootstrap/less/mixins/nav-divider.less +10 -10
  154. package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
  155. package/src/bootstrap/less/mixins/opacity.less +8 -8
  156. package/src/bootstrap/less/mixins/pagination.less +24 -24
  157. package/src/bootstrap/less/mixins/panels.less +24 -24
  158. package/src/bootstrap/less/mixins/progress-bar.less +10 -10
  159. package/src/bootstrap/less/mixins/reset-filter.less +8 -8
  160. package/src/bootstrap/less/mixins/reset-text.less +18 -18
  161. package/src/bootstrap/less/mixins/resize.less +6 -6
  162. package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
  163. package/src/bootstrap/less/mixins/size.less +10 -10
  164. package/src/bootstrap/less/mixins/tab-focus.less +9 -9
  165. package/src/bootstrap/less/mixins/table-row.less +44 -44
  166. package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
  167. package/src/bootstrap/less/mixins/text-overflow.less +8 -8
  168. package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
  169. package/src/bootstrap/less/mixins.less +40 -40
  170. package/src/bootstrap/less/modals.less +151 -151
  171. package/src/bootstrap/less/navbar.less +660 -660
  172. package/src/bootstrap/less/normalize.less +424 -424
  173. package/src/bootstrap/less/pagination.less +89 -89
  174. package/src/bootstrap/less/panels.less +275 -275
  175. package/src/bootstrap/less/popovers.less +131 -131
  176. package/src/bootstrap/less/print.less +101 -101
  177. package/src/bootstrap/less/progress-bars.less +87 -87
  178. package/src/bootstrap/less/responsive-embed.less +35 -35
  179. package/src/bootstrap/less/responsive-utilities.less +194 -194
  180. package/src/bootstrap/less/scaffolding.less +161 -161
  181. package/src/bootstrap/less/theme.less +291 -291
  182. package/src/bootstrap/less/thumbnails.less +36 -36
  183. package/src/bootstrap/less/tooltip.less +102 -102
  184. package/src/bootstrap/less/type.less +303 -303
  185. package/src/bootstrap/less/utilities.less +55 -55
  186. package/src/bootstrap/less/wells.less +29 -29
  187. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  188. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  189. package/src/components/FileUpload.vue +696 -696
  190. package/src/components/Hello.vue +39 -39
  191. package/src/components/LeftTree.vue +27 -27
  192. package/src/components/NewDefectList/DefectListNew.vue +682 -682
  193. package/src/components/android/AddPlanItem.vue +447 -447
  194. package/src/components/android/AddPlanItemYy.vue +451 -451
  195. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  196. package/src/components/android/AndroidDefectDeal.vue +667 -667
  197. package/src/components/android/AttendanceTally.vue +116 -116
  198. package/src/components/android/Blank.vue +10 -10
  199. package/src/components/android/CheckUnplanPage.vue +56 -56
  200. package/src/components/android/Checker.vue +12 -12
  201. package/src/components/android/CheckerAnnual.vue +81 -81
  202. package/src/components/android/CheckerAvarta.vue +82 -82
  203. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  204. package/src/components/android/DailyworkloadQuery.vue +473 -473
  205. package/src/components/android/Devices.vue +327 -327
  206. package/src/components/android/Devicesm.vue +327 -327
  207. package/src/components/android/EquipmentInspection.vue +348 -348
  208. package/src/components/android/FootprintMap.vue +120 -120
  209. package/src/components/android/HiddentroubleInvestigation.vue +192 -192
  210. package/src/components/android/MasterMain.vue +77 -77
  211. package/src/components/android/Menu.vue +132 -132
  212. package/src/components/android/NewCheckpaperAndroid.vue +1343 -1343
  213. package/src/components/android/PaperAlarm.vue +85 -85
  214. package/src/components/android/PaperDeviceNoncivil.vue +214 -214
  215. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  216. package/src/components/android/PhoneRecordInfo.vue +113 -113
  217. package/src/components/android/PhoneSellInfo.vue +113 -113
  218. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  219. package/src/components/android/PlumberAnnual.vue +83 -83
  220. package/src/components/android/PlumberAnnualDetail.vue +65 -65
  221. package/src/components/android/PlumberMonthly.vue +84 -84
  222. package/src/components/android/PostMap.vue +83 -83
  223. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  224. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  225. package/src/components/android/QueryCheckHistory.vue +122 -122
  226. package/src/components/android/QueryCheckHistoryItem.vue +62 -62
  227. package/src/components/android/RepairMain.vue +60 -60
  228. package/src/components/android/Repairman.vue +12 -12
  229. package/src/components/android/SafePlanItem.vue +509 -509
  230. package/src/components/android/StationMaster.vue +12 -12
  231. package/src/components/android/examples/SafeListExamples.vue +296 -296
  232. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  233. package/src/components/android/recheck/Recheck.vue +402 -402
  234. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  235. package/src/components/checkplan/checkmsg.vue +459 -459
  236. package/src/components/defect/DefectList.vue +507 -507
  237. package/src/components/defect/DefectListWeixiu.vue +484 -484
  238. package/src/components/defects/DefectModal.vue +101 -101
  239. package/src/components/defects/DevicesAndItem.vue +39 -39
  240. package/src/components/filialCircle/CircleList.vue +139 -139
  241. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  242. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  243. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  244. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  245. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  246. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  247. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  248. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  249. package/src/components/issueplan/IssuePlanMain.vue +23 -23
  250. package/src/components/map/PersonTrack.vue +226 -226
  251. package/src/components/notice/NoticeForm.vue +100 -100
  252. package/src/components/notice/NoticeIssue.vue +20 -20
  253. package/src/components/paper/PicViewer.vue +18 -18
  254. package/src/components/paper/RegionalList.vue +220 -220
  255. package/src/components/pc/AnnouncementPC.vue +524 -524
  256. package/src/components/pc/DefectList.vue +742 -742
  257. package/src/components/pc/DefectMaterialLook.vue +98 -98
  258. package/src/components/pc/DeviceChange.vue +1068 -1068
  259. package/src/components/pc/PaperDefectMain.vue +905 -905
  260. package/src/components/pc/SafeVisitInfo.vue +261 -261
  261. package/src/components/phonestate/MonthlyTraffic.vue +66 -66
  262. package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
  263. package/src/components/phonestate/PostMap.vue +82 -82
  264. package/src/components/querycheckpaper/PaperItem.vue +59 -59
  265. package/src/components/report/HiddenSituation.vue +165 -165
  266. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  267. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  268. package/src/components/rongcheng/DefectList.vue +560 -560
  269. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  270. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  271. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  272. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  273. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  274. package/src/components/shaoguan/DefectList.vue +473 -473
  275. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  276. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  277. package/src/components/userfile/MeterFile.vue +145 -145
  278. package/src/components/userfile/MeterModify.vue +46 -46
  279. package/src/components/userfile/SecurityAudit.vue +243 -243
  280. package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
  281. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  282. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  283. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  284. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  285. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  286. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  287. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  288. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  289. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  290. package/src/filiale/bayan/android/Edit.vue +132 -132
  291. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  292. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  293. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  294. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  295. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  296. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  297. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  298. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  299. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  300. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  301. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  302. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  303. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  304. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  305. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  306. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  307. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  308. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  309. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  310. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  311. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  312. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  313. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  314. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  315. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  316. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  317. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  318. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  319. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  320. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  321. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  322. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  323. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  324. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  325. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  326. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  327. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  328. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  329. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  330. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  331. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  332. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  333. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  334. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  335. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  336. package/src/filiale/meihekou/android/AreaPlan.vue +577 -577
  337. package/src/filiale/meihekou/android/MeterReading.vue +110 -110
  338. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1307 -1307
  339. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -785
  340. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -1288
  341. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  342. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  343. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  344. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  345. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  346. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  347. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  348. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  349. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  350. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  351. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  352. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  353. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  354. package/src/filiale/qingjian/pc/NewCheckpaper.vue +1871 -1871
  355. package/src/filiale/qingjian/pc.js +15 -15
  356. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  357. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  358. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  359. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  360. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  361. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  362. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  363. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  364. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  365. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  366. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  367. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  368. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  369. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  370. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  371. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  372. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  373. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  374. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  375. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  376. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  377. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  378. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  379. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  380. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  381. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  382. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  383. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  384. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  385. package/src/filiale/taiyuan/pc/DefectDeal.vue +1033 -1033
  386. package/src/filiale/taiyuan/pc/NewCheckpaper.vue +1976 -1976
  387. package/src/filiale/taiyuan/pc/PlanManage.vue +891 -891
  388. package/src/filiale/taiyuan/pc/checkUserList.vue +798 -798
  389. package/src/filiale/taiyuan/pc.js +15 -15
  390. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  391. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  392. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  393. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  394. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  395. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  396. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  397. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  398. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  399. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  400. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  401. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  402. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  403. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  404. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  405. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  406. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  407. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  408. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  409. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  410. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  411. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  412. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  413. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  414. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  415. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  416. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  417. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  418. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  419. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  420. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  421. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  422. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  423. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  424. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  425. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  426. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  427. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  428. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  429. package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -1251
  430. package/src/filiale/xinkang/android/AddPlanItem.vue +447 -447
  431. package/src/filiale/xinkang/android/AndroidDefectDeal.vue +1 -0
  432. package/src/filiale/xinkang/android/SafecheckDevices.vue +23 -15
  433. package/src/filiale/xinkang/pc/CheckSearchUser.vue +1026 -1026
  434. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  435. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  436. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  437. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  438. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  439. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  440. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  441. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  442. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  443. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  444. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  445. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  446. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
  447. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1509 -1509
  448. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -113
  449. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  450. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
  451. package/src/filiale/yunchengminsheng/android.js +15 -15
  452. package/src/filiale/yunchengminsheng/pc/PaperList.vue +811 -811
  453. package/src/filiale/yunchengminsheng/pc.js +15 -15
  454. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  455. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  456. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  457. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  458. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  459. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  460. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  461. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  462. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  463. package/src/main.js +33 -32
  464. package/src/plugins/LoadData.js +10 -10
  465. package/src/plugins/LoadParams.js +24 -24
  466. package/src/safecheck.js +924 -924
  467. package/src/stores/wxconfig.js +10 -10
  468. package/src/utils/getNowDate.js +33 -33
  469. package/test/e2e/custom-assertions/elementCount.js +26 -26
  470. package/test/e2e/nightwatch.conf.js +40 -40
  471. package/test/e2e/runner.js +30 -30
  472. package/test/e2e/specs/test.js +13 -13
  473. package/test/unit/.eslintrc +5 -5
  474. package/test/unit/TestUtil.js +62 -62
  475. package/test/unit/context.html +20 -20
  476. package/test/unit/index.js +13 -13
@@ -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>