telephone-clients 3.0.103-83 → 3.0.103-85

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