safecheck-client 4.0.0-24 → 4.0.0-25

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