safecheck-client 3.0.30-62-t6 → 3.0.30-62-t8

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