telephone-clients 3.0.103-83 → 3.0.103-84

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