safecheck-client 3.0.33-128 → 3.0.33-129

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.
@@ -1,871 +1,871 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div partial>
6
- <div class="row " >
7
- <label class="form-group font_normal_body"><b>用户信息</b></label>
8
-
9
- <div class="form-group col-sm-1" >
10
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
- style="width: 95%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
12
- <div class="form-group col-sm-1" >
13
- </div>
14
- </div>
15
- <div class="form-group col-sm-1" >
16
- <input type="text" class="input_search" v-model="model.f_user_name"
17
- style="width: 95%" placeholder="客户名称" condition="ui.f_user_name like '%{}%'">
18
- </div>
19
- <div class="form-group col-sm-1" >
20
- <input type="text" class="input_search" v-model="model.f_address"
21
- style="width: 95%" placeholder="客户地址" condition="ua.f_address like '%{}%'">
22
- </div>
23
- <div class="form-group col-sm-1" >
24
- <input type="text" class="input_search" v-model="model.f_enter_number"
25
- style="width: 95%" placeholder="入户证号" condition="ua.f_enter_number = '{}'">
26
- </div>
27
- <div class="form-group col-sm-1 upuserinfo_sel" >
28
- <v-select
29
- class="select select_list"
30
- :width="'95%'"
31
- :value.sync="model.f_area"
32
- v-model="model.f_area"
33
- :options='$parent.$parent.areaList'
34
- :timeout="500"
35
- @select-search="$parent.$parent.select_search"
36
- placeholder='小区选择'
37
- condition="ua.f_residential_area = '{}'"
38
- close-on-select
39
- value-single
40
- >
41
- </v-select>
42
- </div>
43
- <div class="form-group col-sm-4" style="width: 500px" >
44
- <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
45
- <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUploadCodeCondition()">导入编号</button>
46
- <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.clearUserInfoId()">清空编号</button>
47
- <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
48
- <button class="button_search" @click="$parent.$parent.clear()">清除</button>
49
- <export-excel-safe :data="$parent.$parent.exportParameter"
50
- :field="$parent.$parent.exportExcelField"
51
- style="margin-left: 0"
52
- sqlurl="rs/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ"
53
- :template-name="'安检计划用户信息导出'" :choose-col="true">
54
- </export-excel-safe>
55
- </div>
56
- <div class="form-group col-sm-1" style="float: right">
57
- <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.dragtoPlanItem()">添入计划</button>
58
- </div>
59
- <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
60
- <div slot="modal-header" class="modal-header">
61
- <h4 class="modal-title">
62
- 用户查询条件
63
- </h4>
64
- </div>
65
- <div slot="modal-body" class="modal-body">
66
- <div class="row">
67
- <div class="form-group col-sm-4" >
68
- <label class="font_normal_body">用户类型:</label>
69
- <v-select
70
- class="select select_list"
71
- :value.sync="model.f_user_type"
72
- v-model="model.f_user_type"
73
- :options='$parent.$parent.userTypes'
74
- placeholder='请选择'
75
- condition="uf.f_user_type='{}'"
76
- :search="false"
77
- close-on-select
78
- value-single
79
- >
80
- </v-select>
81
- </div>
82
- <div class="form-group col-sm-4" >
83
- <label class="font_normal_body">用户状态:</label>
84
- <v-select
85
- class="select select_list"
86
- :value.sync="model.f_user_state"
87
- v-model="model.f_user_state"
88
- :options='$parent.$parent.userStates'
89
- placeholder='请选择'
90
- condition="ui.f_user_state='{}'"
91
- :search="false"
92
- close-on-select
93
- value-single
94
- >
95
- </v-select>
96
- </div>
97
- <div class="form-group col-sm-4" >
98
- <label class="font_normal_body">用气性质:</label>
99
- <v-select
100
- class="select select_list"
101
- :value.sync="model.f_gasproperties"
102
- v-model="model.f_gasproperties"
103
- :options='$parent.$parent.gasproperties'
104
- placeholder='请选择'
105
- condition="uf.f_gasproperties='{}'"
106
- :search="false"
107
- close-on-select
108
- value-single
109
- >
110
- </v-select>
111
- </div>
112
- <div class="form-group col-sm-4" >
113
- <label class="font_normal_body">气表类型:</label>
114
- <v-select
115
- class="select select_list"
116
- :value.sync="model.meter_classify"
117
- v-model="model.meter_classify"
118
- :options='$parent.$parent.meter_classifys'
119
- placeholder='请选择'
120
- condition="uf.F_METER_CLASSIFY='{}'"
121
- :search="false"
122
- close-on-select
123
- value-single
124
- >
125
- </v-select>
126
- </div>
127
- <!--<div class="form-group col-sm-4" >
128
- <label class="font_normal_body">小区名称:</label>
129
- <input type="text" class="input_search" v-model="model.f_userinfo_code"
130
- style="width: 60%" placeholder="请选择" condition="ua.f_residential_area = '{}'">
131
- </div>-->
132
- <div class="form-group col-sm-4" >
133
- <label class="font_normal_body">楼&ensp;栋&ensp;号:</label>
134
- <input type="text" class="input_search" v-model="model.f_building"
135
- style="width: 60%" placeholder="请选择" condition="ua.f_building='{}'">
136
- </div>
137
- <div class="form-group col-sm-4" >
138
- <label class="font_normal_body">单&ensp;元&ensp;号:</label>
139
- <input type="text" class="input_search" v-model="model.f_unit"
140
- style="width: 60%" placeholder="请选择" condition="ua.f_unit='{}'">
141
- </div>
142
- <div class="form-group col-sm-4" >
143
- <label class="font_normal_body">楼&ensp;层&ensp;号:</label>
144
- <input type="text" class="input_search" v-model="model.f_floor"
145
- style="width: 60%" placeholder="请选择" condition="ua.f_floor='{}'">
146
- </div>
147
- <div class="form-group col-sm-4" >
148
- <label class="font_normal_body">开户起始:</label>
149
- <datepicker
150
- placeholder='请选择'
151
- style="width:60%"
152
- :disabled-days-of-week="[]"
153
- :format="'yyyy-MM-dd'"
154
- :show-rest-button="reset"
155
- :value.sync="model.f_startfile_time"
156
- v-model="model.f_startfile_time"
157
- condition="ui.f_createfile_date >= '{} 00:00:00'">
158
- </datepicker>
159
- </div>
160
- <div class="form-group col-sm-4" >
161
- <label class="font_normal_body">开户截止:</label>
162
- <datepicker
163
- placeholder='请选择'
164
- :disabled-days-of-week="[]"
165
- style="width:60%"
166
- :format="'yyyy-MM-dd'"
167
- :show-rest-button="reset"
168
- :value.sync="model.f_endfile_time"
169
- v-model="model.f_endfile_time"
170
- condition="ui.f_createfile_date <= '{} 00:00:00'">
171
- </datepicker>
172
- </div>
173
- <div class="form-group col-sm-4" >
174
- <label class="font_normal_body">表&ensp;箱&ensp;号:</label>
175
- <input type="text" class="input_search" v-model="model.f_metertitles"
176
- style="width: 60%" placeholder="请选择" condition="uf.f_metertitles='{}'">
177
- </div>
178
- <div class="form-group col-sm-4" >
179
- <label class="font_normal_body">片&ensp;&ensp;&ensp;&ensp;区:</label>
180
- <v-select
181
- class="select select_list"
182
- :value.sync="model.f_book_slice_area"
183
- v-model="model.f_book_slice_area"
184
- :options='$parent.$parent.sliceArea'
185
- @change="$parent.$parent.slice_areaChange(model.f_book_slice_area)"
186
- placeholder='请选择'
187
- condition="ua.f_slice_area ='{}'"
188
- close-on-select
189
- value-single
190
- >
191
- </v-select>
192
- </div>
193
- <div class="form-group col-sm-4" >
194
- <label class="font_normal_body">抄&ensp;表&ensp;册:</label>
195
- <v-select
196
- class="select select_list"
197
- :value.sync="model.f_meter_book_num"
198
- v-model="model.f_meter_book_num"
199
- :options='$parent.$parent.cbc'
200
- placeholder='请选择'
201
- condition="uf.f_meter_book_num='{}'"
202
- close-on-select
203
- value-single
204
- >
205
- </v-select>
206
- </div>
207
- <div class="form-group col-sm-4" >
208
- <label class="font_normal_body">派发情况:</label>
209
- <v-select
210
- class="select select_list"
211
- :value.sync="model.yearCheck"
212
- v-model="model.yearCheck"
213
- :options='$parent.$parent.yearCheckList'
214
- placeholder='请选择'
215
- condition="{}"
216
- :search="false"
217
- close-on-select
218
- value-single
219
- >
220
- </v-select>
221
- </div>
222
- <div class="form-group col-sm-4" >
223
- <label class="font_normal_body">气价名称:</label>
224
- <v-select
225
- class="select select_list"
226
- :value.sync="model.f_price_name"
227
- v-model="model.f_price_name"
228
- :options='$parent.$parent.priveList'
229
- placeholder='请选择'
230
- condition="sp.f_price_name in {}"
231
- :multiple = "true"
232
- >
233
- </v-select>
234
- </div>
235
- <div class="form-group col-sm-4" >
236
- <label class="font_normal_body">安检起始:</label>
237
- <datepicker
238
- placeholder='请选择'
239
- style="width:60%"
240
- :disabled-days-of-week="[]"
241
- :format="'yyyy-MM-dd'"
242
- :show-rest-button="reset"
243
- :value.sync="model.f_start_time"
244
- v-model="model.f_start_time"
245
- condition="ui.f_last_check_date >='{} 00:00:00'">
246
- </datepicker>
247
- </div>
248
- <div class="form-group col-sm-4" >
249
- <label class="font_normal_body">安检截止:</label>
250
- <datepicker
251
- placeholder='请选择'
252
- :disabled-days-of-week="[]"
253
- style="width:60%"
254
- :format="'yyyy-MM-dd'"
255
- :show-rest-button="reset"
256
- :value.sync="model.f_end_time"
257
- v-model="model.f_end_time"
258
- condition="ui.f_last_check_date <='{} 23:59:59'">
259
- </datepicker>
260
- </div>
261
- <div class="form-group col-sm-4" >
262
- <label class="font_normal_body">安检状态:</label>
263
- <v-select
264
- class="select select_list"
265
- :value.sync="model.f_last_check_state"
266
- v-model="model.f_last_check_state"
267
- :options='$parent.$parent.entry_status'
268
- placeholder='请选择'
269
- condition="ua.f_last_check_state = '{}'"
270
- :search="false"
271
- close-on-select
272
- value-single
273
- >
274
- </v-select>
275
- </div>
276
- <div class="form-group col-sm-4" v-if="$parent.$parent.hasCheckBooks == '是'">
277
- <label class="font_normal_body">安检册:</label>
278
- <v-select
279
- class="select select_list"
280
- :value.sync="model.checkBook"
281
- v-model="model.checkBook"
282
- :options='$parent.$parent.checkBooks'
283
- placeholder='请选择'
284
- :search="false"
285
- close-on-select
286
- value-single
287
- >
288
- </v-select>
289
- </div>
290
- <div class="form-group col-sm-4">
291
- <label class="font_normal_body">安检筛选</label>
292
- <v-select
293
- placeholder='安检筛选'
294
- :value-single="true"
295
- class="select select_list"
296
- :value.sync="$parent.$parent.SafeCheckXZ"
297
- :options='$parent.$parent.SafeCheckXZs'
298
- v-model="$parent.$parent.SafeCheckXZ"
299
- :search="false"
300
- close-on-select
301
- value-single
302
- >
303
- </v-select>
304
- </div>
305
- <div class="form-group col-sm-4" >
306
- <label class="font_normal_body">筛选时间:</label>
307
- <datepicker
308
- placeholder='开始时间'
309
- :disabled-days-of-week="[]"
310
- style="width:60%"
311
- :format="'yyyy-MM-dd 00:00:00'"
312
- :show-rest-button="reset"
313
- :value.sync="model.f_check_start"
314
- v-model="model.f_check_start">
315
- </datepicker>
316
- </div>
317
- <div class="form-group col-sm-4" >
318
- <label class="font_normal_body">筛选时间:</label>
319
- <datepicker
320
- placeholder='结束时间'
321
- :disabled-days-of-week="[]"
322
- style="width:60%"
323
- :format="'yyyy-MM-dd 23:59:59'"
324
- :show-rest-button="reset"
325
- :value.sync="model.f_check_end"
326
- v-model="model.f_check_end">
327
- </datepicker>
328
- </div>
329
- <div class="form-group col-sm-4" >
330
- <label class="font_normal_body">安检次数:</label>
331
- <input type="number" class="input_search" v-model="model.anjiancishu"
332
- style="width: 60%" placeholder="请选择" >
333
- </div>
334
- <!--<div class="form-group col-sm-4" >
335
- <label class="font_normal_body">入户情况:</label>
336
- <v-select
337
- class="select select_list"
338
- :value.sync="model.f_hasHousehold"
339
- v-model="model.f_hasHousehold"
340
- :options='$parent.$parent.hasHousehold'
341
- placeholder='请选择'
342
- close-on-select
343
- :search="false"
344
- value-single
345
- >
346
- </v-select>
347
- </div>-->
348
-
349
- </div>
350
- </div>
351
- <div slot="modal-footer" class="modal-footer" style="text-align: center">
352
- <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
353
- <button class="button_search" @click="$parent.$parent.cancel">取消</button>
354
- </div>
355
- </modal>
356
- <modal :show.sync="$parent.$parent.excelUserCondtion" width="500px" v-ref:modal1 >
357
- <div slot="modal-header" class="modal-header">
358
- <h4 class="modal-title">
359
- 导入用户编号
360
- </h4>
361
- </div>
362
- <div slot="modal-body" class="modal-body">
363
- <div class="row">
364
- <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
365
- action="rs/file/uploadFile" tagname="档案信息导入" v-ref:file :headers="headers" multiple></file-upload>
366
- <img src="../../../assets/Excelformat.png" style="width: 100%"/>
367
- </div>
368
- </div>
369
- <footer slot="modal-footer" class="modal-footer">
370
- </footer>
371
- </modal>
372
- <!--<div class="form-group col-sm-4 button-range" >
373
-
374
- <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
375
- <export-excel-safe :data="$parent.$parent.exportParameter"
376
- :field="$parent.$parent.excelHeaders"
377
- sqlurl="rs/logic/SafeExportExcel" sql-name="planItem"
378
- template-name='安检计划明细' :choose-col="true">
379
- </export-excel-safe>
380
-
381
- </div>-->
382
- </div>
383
- </div>
384
- </criteria>
385
- <data-grid :model="model" partial='list' class="table_sy">
386
-
387
- <template partial='head'>
388
- <tr>
389
- <th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
390
- <th><nobr>用户编号</nobr></th>
391
- <th><nobr>用户名称</nobr></th>
392
- <th><nobr>用户类型</nobr></th>
393
- <th><nobr>小区名称</nobr></th>
394
- <th><nobr>片区</nobr></th>
395
- <th><nobr>抄表册</nobr></th>
396
- <th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
397
- <th title="最后一次安检日期"><nobr>安检日期</nobr></th>
398
- <th><nobr>详细地址</nobr></th>
399
- </tr>
400
- </template>
401
- <template partial='body'>
402
- <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.id)" @change="$parent.$parent.$parent.setCheckes(row.id)" /></td>
403
- <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
404
- <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
405
- <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
406
- <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
407
- <td style="text-align: center"><nobr>{{row.f_book_slice_area}}</nobr></td>
408
- <td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
409
- <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
410
- <td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
411
- <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
412
- </template>
413
- </data-grid>
414
- </criteria-paged>
415
- </div>
416
- </template>
417
-
418
- <script>
419
- import {HttpResetClass, PagedList} from "vue-client";
420
- import * as Util from "../../Util";
421
- import Vue from "vue";
422
-
423
- export default {
424
- name: "PlanManage",
425
- title: '计划管理',
426
- data() {
427
- return {
428
- model:new PagedList('/rs/sql/FetchUserFileByOrgNoRuHuSXQ', 100, {
429
- "orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
430
- "f_usertype": "''",
431
- "month": "''",
432
- "SafeCheckSX": {"f_check_start": '', "f_check_end": ''},
433
- "SafeCheckCQ": "''",
434
- "startday":"''",
435
- "endday":"''"}),
436
- a:'1',
437
- opt:[{label:"测试",value:"测试"}],
438
- showCondtion:false,
439
- userTypes:[],//用户类型
440
- userStates:[],//用户状态
441
- gasproperties:[],//用气性质
442
- meter_classifys:[],//气表类型
443
- hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
444
- SafeCheckXZ: '',
445
- SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
446
- yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
447
- defaultSelected: "ua.f_plan_id is null",
448
- entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
449
- sliceArea:[],
450
- meterbooks:[],
451
- hasCheckBooks:'否',
452
- checkBooks:[],
453
- cbc:[],
454
- priveList:[],
455
- areaList:[],
456
- checkAll:false,
457
- checkes:[],
458
- excelUserCondtion:false,
459
- uploadCodeCondition:'',
460
- exportExcelField: {
461
- 'f_userinfo_code':'用户编号',
462
- 'f_user_name':'用户名称',
463
- 'f_user_phone':'用户电话',
464
- 'f_address':'详细地址',
465
- 'f_defendcard':'防盗卡号1',
466
- 'f_defendcard_two':'防盗卡号2',
467
- 'last_check_time':'安检日期',
468
- 'isyinhuan':'是否存在隐患',
469
- 'beizhu':'备注'
470
- // 'f_user_type':'用户类型',
471
- // 'f_residential_area':'小区名称',
472
- // 'f_book_slice_area':'片区',
473
- // 'f_book_name':'抄表册',
474
- // 'f_plan_name':'所属计划'
475
- }
476
- }
477
- },
478
- props:["selectplan","userlogin"],
479
-
480
- ready(){
481
- this.$refs.paged.$refs.criteria.model.f_user_state='正常'
482
- this.hasCheckBooks=this.$appdata.getSingleValue('是否使用安检册')
483
- // this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
484
- //this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
485
- this.getCheckBook()
486
- this.setConList()
487
- this.loadpage()
488
- this.getpricename()
489
- this.$refs.paged.$refs.criteria.model.yearCheck='ua.f_plan_id is null'
490
- },
491
- methods: {
492
- clear(){
493
- //
494
- this.$refs.paged.$refs.criteria.model.f_user_type= '';
495
- this.$refs.paged.$refs.criteria.model.f_userinfo_code = '';
496
- this.$refs.paged.$refs.criteria.model.f_address = '';
497
- this.$refs.paged.$refs.criteria.model.f_user_name = '';
498
- this.$refs.paged.$refs.criteria.model.f_enter_number='';
499
-
500
- this.$refs.paged.$refs.criteria.model.f_user_state='';
501
- this.$refs.paged.$refs.criteria.model.f_gasproperties='';
502
- this.$refs.paged.$refs.criteria.model.meter_classify='';
503
- this.$refs.paged.$refs.criteria.model.f_building='';
504
- this.$refs.paged.$refs.criteria.model.f_unit='';
505
- this.$refs.paged.$refs.criteria.model.f_area='';
506
-
507
- this.$refs.paged.$refs.criteria.model.f_startfile_time='';
508
- this.$refs.paged.$refs.criteria.model.f_endfile_time='';
509
- this.$refs.paged.$refs.criteria.model.f_metertitles='';
510
- this.$refs.paged.$refs.criteria.model.f_book_slice_area='';
511
- this.$refs.paged.$refs.criteria.model.f_meter_book_num='';
512
-
513
- this.$refs.paged.$refs.criteria.model.yearCheck='';
514
- this.$refs.paged.$refs.criteria.model.f_price_name='';
515
- this.$refs.paged.$refs.criteria.model.f_start_time='';
516
- this.$refs.paged.$refs.criteria.model.f_end_time='';
517
- this.$refs.paged.$refs.criteria.model.f_last_check_state='';
518
-
519
- this.$refs.paged.$refs.criteria.model.checkBook='';
520
- this.$refs.paged.$refs.criteria.model.f_floor='';
521
- this.$refs.paged.$refs.criteria.model.f_price_name = []
522
- },
523
- //清空用户编号
524
- clearUserall(){
525
- this.uploadCodeCondition=''
526
- Vue.showMessage("已清空用户编号")
527
- },
528
- getpricename() {
529
- new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,
530
- {
531
- data: {
532
- items: "f_price_name",
533
- tablename: "t_stairprice",
534
- orderitem: "id",
535
- condition: `f_orgid = '${this.userlogin.orgid}' and sysdate >= f_perform_date AND sysdate <= f_end_date AND f_state = '有效'`
536
- }
537
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
538
- //tag)
539
- if (res.data.length > 0) {
540
- this.priveList = []
541
- this.priveList.push({label: "全部", value: ""})
542
- res.data.forEach((result) => {
543
- this.priveList.push({label: result.f_price_name, value: result.f_price_name})
544
- })
545
- }
546
- //tag)
547
- })
548
- },
549
-
550
- getCheckBook(){
551
- this.checkBooks=[]
552
- new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
553
- data: {
554
- items: 'id,f_check_book_name,f_check_book_type',
555
- tablename: 't_check_book',
556
- condition: `f_orgid = '${this.userlogin.orgid}'`,
557
- orderitem: 'id desc'
558
- }
559
- }, {resolveMsg: null, rejectMsg: null}).then(res => {
560
- this.checkBooks.push({label: '全部', value: ''})
561
- res.data.forEach(ress => {
562
- this.checkBooks.push({
563
- label: ress.f_check_book_name,
564
- value: `${ress.id}-${ress.f_check_book_type}`
565
- })
566
- })
567
- })
568
- },
569
- loadpage(){
570
- this.select_search()
571
- this.Mreadibook()
572
- this.getSliceArea()
573
- },
574
- cancel(){
575
- this.showCondtion=false
576
- this.excelUserCondtion=false
577
- },
578
- //清空用户编号
579
- clearUserInfoId(){
580
- this.uploadCodeCondition=''
581
- Vue.showMessage("已清空用户编号")
582
- },
583
- showUploadCodeCondition(){
584
- this.excelUserCondtion=true
585
- },
586
- selfSearch (args) {
587
- //tag)
588
- args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
589
- /*if(args.model.f_hasHousehold=='已入户'){
590
- args.condition +=` and Extract(year from TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'))=2021 and ua.F_LAST_CHECK_STATE='入户'`
591
- }else if(args.model.f_hasHousehold=='未入户'){
592
- args.condition +=` and (Extract(year from nvl(TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'),'1990-01-01 00:00:00'))!=2021 or nvl(ua.F_LAST_CHECK_STATE,'未入户')!='入户')`
593
- }*/
594
- if (this.SafeCheckXZ && (args.model.f_check_start == '' || args.model.f_check_end == '')) {
595
- this.$showMessage('如果选择 已安检/未安检 选项,需要选择 筛选开始/结束时间!')
596
- return
597
- }
598
- if (this.SafeCheckXZ == '未安检') {
599
-
600
- args.condition += " and ( ui.f_last_check_date >= '" + args.model.f_check_end + "' or ui.f_last_check_date <= '" + args.model.f_check_start +
601
- "' or ui.f_last_check_date is null ) and f_plan_name is null"
602
- } else {
603
- if (args.model.f_check_start) {
604
- args.condition += " and ui.f_last_check_date >= '" + args.model.f_check_start + "'"
605
- }
606
- if (args.model.f_check_end) {
607
- args.condition += " and ui.f_last_check_date <= '" + args.model.f_check_end + "'"
608
- }
609
- }
610
- // 安检次数
611
- if(args.model.anjiancishu){
612
- if (args.model.anjiancishu < 1){
613
- args.condition += ` and kp.anjiancishu is null`
614
- }else {
615
- args.condition += ` and kp.anjiancishu = '${args.model.anjiancishu}'`
616
- }
617
- }
618
- if(args.model.checkBook){
619
- let arr=args.model.checkBook.split('-')
620
- if(arr[1] == '用户'){
621
- args.condition +=` and ua.f_check_book_id=${arr[0]}`
622
- }else{
623
- args.condition +=` and area.f_check_book_id=${arr[0]} and ua.f_check_book_id is null`
624
- }
625
- }
626
- if(this.uploadCodeCondition){
627
- args.condition +=` and ${this.uploadCodeCondition}`
628
- }
629
- this.cancel()
630
- this.checkes=[]
631
- this.checkAll=false
632
- this.model.search(args.condition, args.model, args.condValue)
633
- },
634
- showUserCondition(){
635
- this.showCondtion=true
636
- },
637
- setConList(){
638
- this.userTypes=this.$appdata.getParam('用户类型') ? [{
639
- label: '全部',
640
- value: ''
641
- }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
642
-
643
- this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
644
- this.gasproperties=this.$appdata.getParam('用气性质') ? [{
645
- label: '全部',
646
- value: ''
647
- }, ...this.$appdata.getParam('用气性质')] : [{label: '全部', value: ''}]
648
- this.meter_classifys=this.$appdata.getParam('气表类型') ? [{
649
- label: '全部',
650
- value: ''
651
- }, ...this.$appdata.getParam('气表类型')] : [{label: '全部', value: ''}]
652
- },
653
- select_search(text){
654
- //tag
655
- let pcdText=text?` and f_residential_area like '%${text}%'`:''
656
- new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_area",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
657
- //tag)
658
- if(res.data.length>0){
659
- this.areaList=[]
660
- this.areaList.push({label:"全部",value:""})
661
- res.data.forEach((result)=>{
662
- this.areaList.push({label:result.f_residential_area,value:result.f_residential_area})
663
- })
664
- }
665
- //tag)
666
- })
667
- },
668
- //获取抄表册
669
- async Mreadibook(){
670
- this.cbc=[]
671
- this.sliceArea=[]
672
- let http = new HttpResetClass()
673
- let getMeterReadingBooks = await http.load('POST','rs/logic/getMeterBooksData',
674
- {data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
675
- {resolveMsg: null, rejectMsg: '获取失败!!!'})
676
- this.cbc = [{label: '全部', value: ''}]
677
- //tag
678
- //tag)
679
- //tag
680
- this.meterbooks=[]
681
- this.meterbooks=getMeterReadingBooks.data.meterbooks
682
- this.meterbooks.forEach((res) => {
683
- this.cbc.push({label: res.f_book_name, value: res.id})
684
- /*if(res.f_book_slice_area){
685
- if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
686
- this.sliceArea.push(res.f_book_slice_area)
687
- }
688
- }*/
689
- })
690
-
691
- },
692
- //片区获取
693
- async getSliceArea() {
694
- let http = new HttpResetClass()
695
- let getAllArea = await http.load('POST', '/rs/search', {
696
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
697
- userid: this.userlogin.id
698
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
699
- this.sliceArea = [{label: '全部', value: ''}]
700
- //tag
701
- //tag
702
- //tag
703
- getAllArea.data.forEach((res) => {
704
- if(res.parentid==this.userlogin.orgid){
705
- this.sliceArea.push({label:res.name,value:res.name})
706
- }
707
- })
708
- //tag
709
- },
710
- //片区改变-对应抄表册下拉重新赋值
711
- slice_areaChange(value) {
712
- //tag
713
- if(!value){
714
- this.cbc=[]
715
- this.meterbooks.forEach((res) => {
716
- this.cbc.push({label: res.f_book_name, value: res.id})
717
- })
718
- }else{
719
- this.cbc=[]
720
- this.meterbooks.forEach((res) => {
721
- if(res.f_book_slice_area==value){
722
- this.cbc.push({label: res.f_book_name, value: res.id})
723
- }
724
- })
725
- }
726
- },
727
- isChecked(v) {
728
- // 如果全选,不在的按选中算,否则,在的按选中算
729
- if (this.checkAll) {
730
- return this.checkes.indexOf(v) == -1
731
- } else {
732
- return this.checkes.indexOf(v) != -1
733
- }
734
- },
735
- setCheckAll() {
736
- this.checkAll=this.checkAll?false:true;
737
- // 全选改变后,清空选中数据
738
- this.checkes = []
739
- },
740
- setCheckes(id) {
741
- let index=this.checkes.indexOf(id)
742
- if(index<0){
743
- this.checkes.push(id)
744
- }else{
745
- this.checkes.splice(index,1)
746
- }
747
- },
748
- //将客户信息拖至计划中
749
- async dragtoPlanItem() {
750
- if(this.model.rows.length==0){
751
- Vue.showMessage("未检测到列表中有用户!")
752
- return
753
- }
754
- if(!this.checkAll && this.checkes.length==0){
755
- Vue.showMessage("请先勾选你要添入到上方计划中的用户!")
756
- return
757
- }
758
- if(this.selectplan && this.selectplan.id){
759
- this.$parent.isSend=true
760
- try{
761
- let res=await new HttpResetClass().load("POST", "/rs/logic/AddCheckPlanItem", {
762
- data:{
763
- f_operator:this.userlogin.name,
764
- f_plan_id:this.selectplan.id,
765
- f_safecheck_type:this.selectplan.f_safecheck_type,
766
- f_filialeid:this.userlogin.orgid,
767
- f_subscribe_date:'',
768
- condition:this.model.condition,
769
- switchCheckAll:true,
770
- checkAll:this.checkAll,
771
- param:this.checkes,
772
- columnName: "ua.id"
773
- }
774
- }, {resolveMsg: null, rejectMsg: null})
775
- //tag+"---"+res.data.result.length)
776
- this.$parent.isSend=false
777
- if(res.data.code==200){
778
- //alert("添加成功!有"+res.data.result.length+"条用户地址已经存在于其他计划中: \n"+res.data.result.reduce((c,v)=>{c += v.f_user_name+":"+v.f_address+"\n"}),0)
779
- this.$showMessage("添加成功!"+(res.data.result.length>0?"有"+res.data.result.length+"条用户地址已经存在于其他计划中":""))
780
- this.$parent.refresh()
781
- }else{
782
- this.$showMessage("添加失败!")
783
- }
784
- }catch (e) {
785
- this.$showMessage("添加失败!")
786
- }
787
- }else{
788
- this.$parent.isSend=false
789
- this.$showMessage("请先打开一个计划再进行操作")
790
- }
791
- }
792
- },
793
- computed:{
794
- exportParameter(){
795
- // excel 导出条件拼接
796
- return {
797
- condition: this.$refs.paged.model.condition,
798
- orderitem: 'f_residential_area,f_building,f_unit,f_floor,f_room',
799
- f_usertype: '',
800
- month: '',
801
- SafeCheckSX: {f_check_start: '', f_check_end: ''},
802
- SafeCheckCQ: '',
803
- startday:'',
804
- endday:''
805
- }
806
- }
807
- },
808
- events: {
809
- onFileUpload: function (file, res) {
810
- //tag)
811
- //tag)
812
- let data = {
813
- filepath: res.f_downloadpath
814
- }
815
- new HttpResetClass().load('POST','/rs/logic/safe_GetUserInfoFromExcel', {data: data}, {
816
- resolveMsg: '导入成功!已生成条件,若要去除导入条件请点击旁边 ‘清空用户编号’ 按钮。',
817
- rejectMsg: '导入失败'
818
- }).then((res) => {
819
- this.uploadCodeCondition=res.data.condition
820
- this.excelUserCondtion = false
821
- })
822
- },
823
-
824
- }
825
- }
826
- </script>
827
-
828
- <style scoped>
829
- .safe-planfont{
830
- font-family: MicrosoftYaHei;
831
- font-size: 15px;
832
- font-weight: normal;
833
- font-stretch: normal;
834
- letter-spacing: 2px;
835
- color: #333333;
836
- line-height: 25px;
837
- }
838
- .safe-bodyfont{
839
- font-family: MicrosoftYaHei;
840
- font-size: 14px;
841
- font-weight: normal;
842
- font-stretch: normal;
843
- letter-spacing: 0px;
844
- color: #999999;
845
- line-height: 30px;
846
- }
847
- .safe-leftplan{
848
- height:auto;
849
- border-bottom:1px solid #ececec;
850
- padding: 10px 5px
851
- }
852
- .leftplan-center{
853
- border-top:1px solid #ececec;
854
- border-bottom:1px solid #ececec;
855
- }
856
- .safe_p{
857
- white-space: nowrap;
858
- overflow: hidden;
859
- text-overflow: ellipsis;
860
- }
861
- .safe-div-p{
862
- color: #4792de;
863
- text-align: end;
864
- padding: 8px 15px;
865
- }
866
- </style>
867
- <style lang="less">
868
- .upuserinfo_sel ul{
869
- width: 150% !important;
870
- }
871
- </style>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div partial>
6
+ <div class="row " >
7
+ <label class="form-group font_normal_body"><b>用户信息</b></label>
8
+
9
+ <div class="form-group col-sm-1" >
10
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
11
+ style="width: 95%" placeholder="客户编号" condition="ui.f_userinfo_code='{}'">
12
+ <div class="form-group col-sm-1" >
13
+ </div>
14
+ </div>
15
+ <div class="form-group col-sm-1" >
16
+ <input type="text" class="input_search" v-model="model.f_user_name"
17
+ style="width: 95%" placeholder="客户名称" condition="ui.f_user_name like '%{}%'">
18
+ </div>
19
+ <div class="form-group col-sm-1" >
20
+ <input type="text" class="input_search" v-model="model.f_address"
21
+ style="width: 95%" placeholder="客户地址" condition="ua.f_address like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-1" >
24
+ <input type="text" class="input_search" v-model="model.f_enter_number"
25
+ style="width: 95%" placeholder="入户证号" condition="ua.f_enter_number = '{}'">
26
+ </div>
27
+ <div class="form-group col-sm-1 upuserinfo_sel" >
28
+ <v-select
29
+ class="select select_list"
30
+ :width="'95%'"
31
+ :value.sync="model.f_area"
32
+ v-model="model.f_area"
33
+ :options='$parent.$parent.areaList'
34
+ :timeout="500"
35
+ @select-search="$parent.$parent.select_search"
36
+ placeholder='小区选择'
37
+ condition="ua.f_residential_area = '{}'"
38
+ close-on-select
39
+ value-single
40
+ >
41
+ </v-select>
42
+ </div>
43
+ <div class="form-group col-sm-4" style="width: 500px" >
44
+ <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
45
+ <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUploadCodeCondition()">导入编号</button>
46
+ <button class="button_new" style="margin-right: 10px" @click="$parent.$parent.clearUserInfoId()">清空编号</button>
47
+ <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
48
+ <button class="button_search" @click="$parent.$parent.clear()">清除</button>
49
+ <export-excel-safe :data="$parent.$parent.exportParameter"
50
+ :field="$parent.$parent.exportExcelField"
51
+ style="margin-left: 0"
52
+ sqlurl="rs/logic/SafeExportExcel" sql-name="FetchUserFileByOrgNoRuHuSXQ"
53
+ :template-name="'安检计划用户信息导出'" :choose-col="true">
54
+ </export-excel-safe>
55
+ </div>
56
+ <div class="form-group col-sm-1" style="float: right">
57
+ <button class="button_search" style="margin-right: 10px" @click="$parent.$parent.dragtoPlanItem()">添入计划</button>
58
+ </div>
59
+ <modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
60
+ <div slot="modal-header" class="modal-header">
61
+ <h4 class="modal-title">
62
+ 用户查询条件
63
+ </h4>
64
+ </div>
65
+ <div slot="modal-body" class="modal-body">
66
+ <div class="row">
67
+ <div class="form-group col-sm-4" >
68
+ <label class="font_normal_body">用户类型:</label>
69
+ <v-select
70
+ class="select select_list"
71
+ :value.sync="model.f_user_type"
72
+ v-model="model.f_user_type"
73
+ :options='$parent.$parent.userTypes'
74
+ placeholder='请选择'
75
+ condition="uf.f_user_type='{}'"
76
+ :search="false"
77
+ close-on-select
78
+ value-single
79
+ >
80
+ </v-select>
81
+ </div>
82
+ <div class="form-group col-sm-4" >
83
+ <label class="font_normal_body">用户状态:</label>
84
+ <v-select
85
+ class="select select_list"
86
+ :value.sync="model.f_user_state"
87
+ v-model="model.f_user_state"
88
+ :options='$parent.$parent.userStates'
89
+ placeholder='请选择'
90
+ condition="ui.f_user_state='{}'"
91
+ :search="false"
92
+ close-on-select
93
+ value-single
94
+ >
95
+ </v-select>
96
+ </div>
97
+ <div class="form-group col-sm-4" >
98
+ <label class="font_normal_body">用气性质:</label>
99
+ <v-select
100
+ class="select select_list"
101
+ :value.sync="model.f_gasproperties"
102
+ v-model="model.f_gasproperties"
103
+ :options='$parent.$parent.gasproperties'
104
+ placeholder='请选择'
105
+ condition="uf.f_gasproperties='{}'"
106
+ :search="false"
107
+ close-on-select
108
+ value-single
109
+ >
110
+ </v-select>
111
+ </div>
112
+ <div class="form-group col-sm-4" >
113
+ <label class="font_normal_body">气表类型:</label>
114
+ <v-select
115
+ class="select select_list"
116
+ :value.sync="model.meter_classify"
117
+ v-model="model.meter_classify"
118
+ :options='$parent.$parent.meter_classifys'
119
+ placeholder='请选择'
120
+ condition="uf.F_METER_CLASSIFY='{}'"
121
+ :search="false"
122
+ close-on-select
123
+ value-single
124
+ >
125
+ </v-select>
126
+ </div>
127
+ <!--<div class="form-group col-sm-4" >
128
+ <label class="font_normal_body">小区名称:</label>
129
+ <input type="text" class="input_search" v-model="model.f_userinfo_code"
130
+ style="width: 60%" placeholder="请选择" condition="ua.f_residential_area = '{}'">
131
+ </div>-->
132
+ <div class="form-group col-sm-4" >
133
+ <label class="font_normal_body">楼&ensp;栋&ensp;号:</label>
134
+ <input type="text" class="input_search" v-model="model.f_building"
135
+ style="width: 60%" placeholder="请选择" condition="ua.f_building='{}'">
136
+ </div>
137
+ <div class="form-group col-sm-4" >
138
+ <label class="font_normal_body">单&ensp;元&ensp;号:</label>
139
+ <input type="text" class="input_search" v-model="model.f_unit"
140
+ style="width: 60%" placeholder="请选择" condition="ua.f_unit='{}'">
141
+ </div>
142
+ <div class="form-group col-sm-4" >
143
+ <label class="font_normal_body">楼&ensp;层&ensp;号:</label>
144
+ <input type="text" class="input_search" v-model="model.f_floor"
145
+ style="width: 60%" placeholder="请选择" condition="ua.f_floor='{}'">
146
+ </div>
147
+ <div class="form-group col-sm-4" >
148
+ <label class="font_normal_body">开户起始:</label>
149
+ <datepicker
150
+ placeholder='请选择'
151
+ style="width:60%"
152
+ :disabled-days-of-week="[]"
153
+ :format="'yyyy-MM-dd'"
154
+ :show-rest-button="reset"
155
+ :value.sync="model.f_startfile_time"
156
+ v-model="model.f_startfile_time"
157
+ condition="ui.f_createfile_date >= '{} 00:00:00'">
158
+ </datepicker>
159
+ </div>
160
+ <div class="form-group col-sm-4" >
161
+ <label class="font_normal_body">开户截止:</label>
162
+ <datepicker
163
+ placeholder='请选择'
164
+ :disabled-days-of-week="[]"
165
+ style="width:60%"
166
+ :format="'yyyy-MM-dd'"
167
+ :show-rest-button="reset"
168
+ :value.sync="model.f_endfile_time"
169
+ v-model="model.f_endfile_time"
170
+ condition="ui.f_createfile_date <= '{} 00:00:00'">
171
+ </datepicker>
172
+ </div>
173
+ <div class="form-group col-sm-4" >
174
+ <label class="font_normal_body">表&ensp;箱&ensp;号:</label>
175
+ <input type="text" class="input_search" v-model="model.f_metertitles"
176
+ style="width: 60%" placeholder="请选择" condition="uf.f_metertitles='{}'">
177
+ </div>
178
+ <div class="form-group col-sm-4" >
179
+ <label class="font_normal_body">片&ensp;&ensp;&ensp;&ensp;区:</label>
180
+ <v-select
181
+ class="select select_list"
182
+ :value.sync="model.f_book_slice_area"
183
+ v-model="model.f_book_slice_area"
184
+ :options='$parent.$parent.sliceArea'
185
+ @change="$parent.$parent.slice_areaChange(model.f_book_slice_area)"
186
+ placeholder='请选择'
187
+ condition="ua.f_slice_area ='{}'"
188
+ close-on-select
189
+ value-single
190
+ >
191
+ </v-select>
192
+ </div>
193
+ <div class="form-group col-sm-4" >
194
+ <label class="font_normal_body">抄&ensp;表&ensp;册:</label>
195
+ <v-select
196
+ class="select select_list"
197
+ :value.sync="model.f_meter_book_num"
198
+ v-model="model.f_meter_book_num"
199
+ :options='$parent.$parent.cbc'
200
+ placeholder='请选择'
201
+ condition="uf.f_meter_book_num='{}'"
202
+ close-on-select
203
+ value-single
204
+ >
205
+ </v-select>
206
+ </div>
207
+ <div class="form-group col-sm-4" >
208
+ <label class="font_normal_body">派发情况:</label>
209
+ <v-select
210
+ class="select select_list"
211
+ :value.sync="model.yearCheck"
212
+ v-model="model.yearCheck"
213
+ :options='$parent.$parent.yearCheckList'
214
+ placeholder='请选择'
215
+ condition="{}"
216
+ :search="false"
217
+ close-on-select
218
+ value-single
219
+ >
220
+ </v-select>
221
+ </div>
222
+ <div class="form-group col-sm-4" >
223
+ <label class="font_normal_body">气价名称:</label>
224
+ <v-select
225
+ class="select select_list"
226
+ :value.sync="model.f_price_name"
227
+ v-model="model.f_price_name"
228
+ :options='$parent.$parent.priveList'
229
+ placeholder='请选择'
230
+ condition="sp.f_price_name in {}"
231
+ :multiple = "true"
232
+ >
233
+ </v-select>
234
+ </div>
235
+ <div class="form-group col-sm-4" >
236
+ <label class="font_normal_body">安检起始:</label>
237
+ <datepicker
238
+ placeholder='请选择'
239
+ style="width:60%"
240
+ :disabled-days-of-week="[]"
241
+ :format="'yyyy-MM-dd'"
242
+ :show-rest-button="reset"
243
+ :value.sync="model.f_start_time"
244
+ v-model="model.f_start_time"
245
+ condition="ui.f_last_check_date >='{} 00:00:00'">
246
+ </datepicker>
247
+ </div>
248
+ <div class="form-group col-sm-4" >
249
+ <label class="font_normal_body">安检截止:</label>
250
+ <datepicker
251
+ placeholder='请选择'
252
+ :disabled-days-of-week="[]"
253
+ style="width:60%"
254
+ :format="'yyyy-MM-dd'"
255
+ :show-rest-button="reset"
256
+ :value.sync="model.f_end_time"
257
+ v-model="model.f_end_time"
258
+ condition="ui.f_last_check_date <='{} 23:59:59'">
259
+ </datepicker>
260
+ </div>
261
+ <div class="form-group col-sm-4" >
262
+ <label class="font_normal_body">安检状态:</label>
263
+ <v-select
264
+ class="select select_list"
265
+ :value.sync="model.f_last_check_state"
266
+ v-model="model.f_last_check_state"
267
+ :options='$parent.$parent.entry_status'
268
+ placeholder='请选择'
269
+ condition="ua.f_last_check_state = '{}'"
270
+ :search="false"
271
+ close-on-select
272
+ value-single
273
+ >
274
+ </v-select>
275
+ </div>
276
+ <div class="form-group col-sm-4" v-if="$parent.$parent.hasCheckBooks == '是'">
277
+ <label class="font_normal_body">安检册:</label>
278
+ <v-select
279
+ class="select select_list"
280
+ :value.sync="model.checkBook"
281
+ v-model="model.checkBook"
282
+ :options='$parent.$parent.checkBooks'
283
+ placeholder='请选择'
284
+ :search="false"
285
+ close-on-select
286
+ value-single
287
+ >
288
+ </v-select>
289
+ </div>
290
+ <div class="form-group col-sm-4">
291
+ <label class="font_normal_body">安检筛选</label>
292
+ <v-select
293
+ placeholder='安检筛选'
294
+ :value-single="true"
295
+ class="select select_list"
296
+ :value.sync="$parent.$parent.SafeCheckXZ"
297
+ :options='$parent.$parent.SafeCheckXZs'
298
+ v-model="$parent.$parent.SafeCheckXZ"
299
+ :search="false"
300
+ close-on-select
301
+ value-single
302
+ >
303
+ </v-select>
304
+ </div>
305
+ <div class="form-group col-sm-4" >
306
+ <label class="font_normal_body">筛选时间:</label>
307
+ <datepicker
308
+ placeholder='开始时间'
309
+ :disabled-days-of-week="[]"
310
+ style="width:60%"
311
+ :format="'yyyy-MM-dd 00:00:00'"
312
+ :show-rest-button="reset"
313
+ :value.sync="model.f_check_start"
314
+ v-model="model.f_check_start">
315
+ </datepicker>
316
+ </div>
317
+ <div class="form-group col-sm-4" >
318
+ <label class="font_normal_body">筛选时间:</label>
319
+ <datepicker
320
+ placeholder='结束时间'
321
+ :disabled-days-of-week="[]"
322
+ style="width:60%"
323
+ :format="'yyyy-MM-dd 23:59:59'"
324
+ :show-rest-button="reset"
325
+ :value.sync="model.f_check_end"
326
+ v-model="model.f_check_end">
327
+ </datepicker>
328
+ </div>
329
+ <div class="form-group col-sm-4" >
330
+ <label class="font_normal_body">安检次数:</label>
331
+ <input type="number" class="input_search" v-model="model.anjiancishu"
332
+ style="width: 60%" placeholder="请选择" >
333
+ </div>
334
+ <!--<div class="form-group col-sm-4" >
335
+ <label class="font_normal_body">入户情况:</label>
336
+ <v-select
337
+ class="select select_list"
338
+ :value.sync="model.f_hasHousehold"
339
+ v-model="model.f_hasHousehold"
340
+ :options='$parent.$parent.hasHousehold'
341
+ placeholder='请选择'
342
+ close-on-select
343
+ :search="false"
344
+ value-single
345
+ >
346
+ </v-select>
347
+ </div>-->
348
+
349
+ </div>
350
+ </div>
351
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
352
+ <button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
353
+ <button class="button_search" @click="$parent.$parent.cancel">取消</button>
354
+ </div>
355
+ </modal>
356
+ <modal :show.sync="$parent.$parent.excelUserCondtion" width="500px" v-ref:modal1 >
357
+ <div slot="modal-header" class="modal-header">
358
+ <h4 class="modal-title">
359
+ 导入用户编号
360
+ </h4>
361
+ </div>
362
+ <div slot="modal-body" class="modal-body">
363
+ <div class="row">
364
+ <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
365
+ action="rs/file/uploadFile" tagname="档案信息导入" v-ref:file :headers="headers" multiple></file-upload>
366
+ <img src="../../../assets/Excelformat.png" style="width: 100%"/>
367
+ </div>
368
+ </div>
369
+ <footer slot="modal-footer" class="modal-footer">
370
+ </footer>
371
+ </modal>
372
+ <!--<div class="form-group col-sm-4 button-range" >
373
+
374
+ <button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
375
+ <export-excel-safe :data="$parent.$parent.exportParameter"
376
+ :field="$parent.$parent.excelHeaders"
377
+ sqlurl="rs/logic/SafeExportExcel" sql-name="planItem"
378
+ template-name='安检计划明细' :choose-col="true">
379
+ </export-excel-safe>
380
+
381
+ </div>-->
382
+ </div>
383
+ </div>
384
+ </criteria>
385
+ <data-grid :model="model" partial='list' class="table_sy">
386
+
387
+ <template partial='head'>
388
+ <tr>
389
+ <th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
390
+ <th><nobr>用户编号</nobr></th>
391
+ <th><nobr>用户名称</nobr></th>
392
+ <th><nobr>用户类型</nobr></th>
393
+ <th><nobr>小区名称</nobr></th>
394
+ <th><nobr>片区</nobr></th>
395
+ <th><nobr>抄表册</nobr></th>
396
+ <th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
397
+ <th title="最后一次安检日期"><nobr>安检日期</nobr></th>
398
+ <th><nobr>详细地址</nobr></th>
399
+ </tr>
400
+ </template>
401
+ <template partial='body'>
402
+ <td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.id)" @change="$parent.$parent.$parent.setCheckes(row.id)" /></td>
403
+ <td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
404
+ <td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
405
+ <td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
406
+ <td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
407
+ <td style="text-align: center"><nobr>{{row.f_book_slice_area}}</nobr></td>
408
+ <td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
409
+ <td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
410
+ <td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
411
+ <td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
412
+ </template>
413
+ </data-grid>
414
+ </criteria-paged>
415
+ </div>
416
+ </template>
417
+
418
+ <script>
419
+ import {HttpResetClass, PagedList} from "vue-client";
420
+ import * as Util from "../../Util";
421
+ import Vue from "vue";
422
+
423
+ export default {
424
+ name: "PlanManage",
425
+ title: '计划管理',
426
+ data() {
427
+ return {
428
+ model:new PagedList('/rs/sql/FetchUserFileByOrgNoRuHuSXQ', 100, {
429
+ "orderitem": "'f_residential_area,f_building,f_unit,f_floor,f_room'",
430
+ "f_usertype": "''",
431
+ "month": "''",
432
+ "SafeCheckSX": {"f_check_start": '', "f_check_end": ''},
433
+ "SafeCheckCQ": "''",
434
+ "startday":"''",
435
+ "endday":"''"}),
436
+ a:'1',
437
+ opt:[{label:"测试",value:"测试"}],
438
+ showCondtion:false,
439
+ userTypes:[],//用户类型
440
+ userStates:[],//用户状态
441
+ gasproperties:[],//用气性质
442
+ meter_classifys:[],//气表类型
443
+ hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
444
+ SafeCheckXZ: '',
445
+ SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
446
+ yearCheckList:[{label:"全部",value:""},{label:"已在计划中",value:"ua.f_plan_id is not null"},{label:"未在计划中",value:"ua.f_plan_id is null"}],
447
+ defaultSelected: "ua.f_plan_id is null",
448
+ entry_status: this.$appdata.getParam('安检状态')?[{label: '全部', value: ''}, ...this.$appdata.getParam('安检状态')]:[{label: '全部', value: ''}],
449
+ sliceArea:[],
450
+ meterbooks:[],
451
+ hasCheckBooks:'否',
452
+ checkBooks:[],
453
+ cbc:[],
454
+ priveList:[],
455
+ areaList:[],
456
+ checkAll:false,
457
+ checkes:[],
458
+ excelUserCondtion:false,
459
+ uploadCodeCondition:'',
460
+ exportExcelField: {
461
+ 'f_userinfo_code':'用户编号',
462
+ 'f_user_name':'用户名称',
463
+ 'f_user_phone':'用户电话',
464
+ 'f_address':'详细地址',
465
+ 'f_defendcard':'防盗卡号1',
466
+ 'f_defendcard_two':'防盗卡号2',
467
+ 'last_check_time':'安检日期',
468
+ 'isyinhuan':'是否存在隐患',
469
+ 'beizhu':'备注'
470
+ // 'f_user_type':'用户类型',
471
+ // 'f_residential_area':'小区名称',
472
+ // 'f_book_slice_area':'片区',
473
+ // 'f_book_name':'抄表册',
474
+ // 'f_plan_name':'所属计划'
475
+ }
476
+ }
477
+ },
478
+ props:["selectplan","userlogin"],
479
+
480
+ ready(){
481
+ this.$refs.paged.$refs.criteria.model.f_user_state='正常'
482
+ this.hasCheckBooks=this.$appdata.getSingleValue('是否使用安检册')
483
+ // this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
484
+ //this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
485
+ this.getCheckBook()
486
+ this.setConList()
487
+ this.loadpage()
488
+ this.getpricename()
489
+ this.$refs.paged.$refs.criteria.model.yearCheck='ua.f_plan_id is null'
490
+ },
491
+ methods: {
492
+ clear(){
493
+ //
494
+ this.$refs.paged.$refs.criteria.model.f_user_type= '';
495
+ this.$refs.paged.$refs.criteria.model.f_userinfo_code = '';
496
+ this.$refs.paged.$refs.criteria.model.f_address = '';
497
+ this.$refs.paged.$refs.criteria.model.f_user_name = '';
498
+ this.$refs.paged.$refs.criteria.model.f_enter_number='';
499
+
500
+ this.$refs.paged.$refs.criteria.model.f_user_state='';
501
+ this.$refs.paged.$refs.criteria.model.f_gasproperties='';
502
+ this.$refs.paged.$refs.criteria.model.meter_classify='';
503
+ this.$refs.paged.$refs.criteria.model.f_building='';
504
+ this.$refs.paged.$refs.criteria.model.f_unit='';
505
+ this.$refs.paged.$refs.criteria.model.f_area='';
506
+
507
+ this.$refs.paged.$refs.criteria.model.f_startfile_time='';
508
+ this.$refs.paged.$refs.criteria.model.f_endfile_time='';
509
+ this.$refs.paged.$refs.criteria.model.f_metertitles='';
510
+ this.$refs.paged.$refs.criteria.model.f_book_slice_area='';
511
+ this.$refs.paged.$refs.criteria.model.f_meter_book_num='';
512
+
513
+ this.$refs.paged.$refs.criteria.model.yearCheck='';
514
+ this.$refs.paged.$refs.criteria.model.f_price_name='';
515
+ this.$refs.paged.$refs.criteria.model.f_start_time='';
516
+ this.$refs.paged.$refs.criteria.model.f_end_time='';
517
+ this.$refs.paged.$refs.criteria.model.f_last_check_state='';
518
+
519
+ this.$refs.paged.$refs.criteria.model.checkBook='';
520
+ this.$refs.paged.$refs.criteria.model.f_floor='';
521
+ this.$refs.paged.$refs.criteria.model.f_price_name = []
522
+ },
523
+ //清空用户编号
524
+ clearUserall(){
525
+ this.uploadCodeCondition=''
526
+ Vue.showMessage("已清空用户编号")
527
+ },
528
+ getpricename() {
529
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`,
530
+ {
531
+ data: {
532
+ items: "f_price_name",
533
+ tablename: "t_stairprice",
534
+ orderitem: "id",
535
+ condition: `f_orgid = '${this.userlogin.orgid}' and sysdate >= f_perform_date AND sysdate <= f_end_date AND f_state = '有效'`
536
+ }
537
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
538
+ //tag)
539
+ if (res.data.length > 0) {
540
+ this.priveList = []
541
+ this.priveList.push({label: "全部", value: ""})
542
+ res.data.forEach((result) => {
543
+ this.priveList.push({label: result.f_price_name, value: result.f_price_name})
544
+ })
545
+ }
546
+ //tag)
547
+ })
548
+ },
549
+
550
+ getCheckBook(){
551
+ this.checkBooks=[]
552
+ new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
553
+ data: {
554
+ items: 'id,f_check_book_name,f_check_book_type',
555
+ tablename: 't_check_book',
556
+ condition: `f_orgid = '${this.userlogin.orgid}'`,
557
+ orderitem: 'id desc'
558
+ }
559
+ }, {resolveMsg: null, rejectMsg: null}).then(res => {
560
+ this.checkBooks.push({label: '全部', value: ''})
561
+ res.data.forEach(ress => {
562
+ this.checkBooks.push({
563
+ label: ress.f_check_book_name,
564
+ value: `${ress.id}-${ress.f_check_book_type}`
565
+ })
566
+ })
567
+ })
568
+ },
569
+ loadpage(){
570
+ this.select_search()
571
+ this.Mreadibook()
572
+ this.getSliceArea()
573
+ },
574
+ cancel(){
575
+ this.showCondtion=false
576
+ this.excelUserCondtion=false
577
+ },
578
+ //清空用户编号
579
+ clearUserInfoId(){
580
+ this.uploadCodeCondition=''
581
+ Vue.showMessage("已清空用户编号")
582
+ },
583
+ showUploadCodeCondition(){
584
+ this.excelUserCondtion=true
585
+ },
586
+ selfSearch (args) {
587
+ //tag)
588
+ args.condition += ` and ui.f_filialeid='${this.userlogin.orgid}'`
589
+ /*if(args.model.f_hasHousehold=='已入户'){
590
+ args.condition +=` and Extract(year from TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'))=2021 and ua.F_LAST_CHECK_STATE='入户'`
591
+ }else if(args.model.f_hasHousehold=='未入户'){
592
+ args.condition +=` and (Extract(year from nvl(TO_DATE(ua.f_last_check_date,'yyyy-mm-dd hh24:mi:ss'),'1990-01-01 00:00:00'))!=2021 or nvl(ua.F_LAST_CHECK_STATE,'未入户')!='入户')`
593
+ }*/
594
+ if (this.SafeCheckXZ && (args.model.f_check_start == '' || args.model.f_check_end == '')) {
595
+ this.$showMessage('如果选择 已安检/未安检 选项,需要选择 筛选开始/结束时间!')
596
+ return
597
+ }
598
+ if (this.SafeCheckXZ == '未安检') {
599
+
600
+ args.condition += " and ( ui.f_last_check_date >= '" + args.model.f_check_end + "' or ui.f_last_check_date <= '" + args.model.f_check_start +
601
+ "' or ui.f_last_check_date is null ) and f_plan_name is null"
602
+ } else {
603
+ if (args.model.f_check_start) {
604
+ args.condition += " and ui.f_last_check_date >= '" + args.model.f_check_start + "'"
605
+ }
606
+ if (args.model.f_check_end) {
607
+ args.condition += " and ui.f_last_check_date <= '" + args.model.f_check_end + "'"
608
+ }
609
+ }
610
+ // 安检次数
611
+ if(args.model.anjiancishu){
612
+ if (args.model.anjiancishu < 1){
613
+ args.condition += ` and kp.anjiancishu is null`
614
+ }else {
615
+ args.condition += ` and kp.anjiancishu = '${args.model.anjiancishu}'`
616
+ }
617
+ }
618
+ if(args.model.checkBook){
619
+ let arr=args.model.checkBook.split('-')
620
+ if(arr[1] == '用户'){
621
+ args.condition +=` and ua.f_check_book_id=${arr[0]}`
622
+ }else{
623
+ args.condition +=` and area.f_check_book_id=${arr[0]} and ua.f_check_book_id is null`
624
+ }
625
+ }
626
+ if(this.uploadCodeCondition){
627
+ args.condition +=` and ${this.uploadCodeCondition}`
628
+ }
629
+ this.cancel()
630
+ this.checkes=[]
631
+ this.checkAll=false
632
+ this.model.search(args.condition, args.model, args.condValue)
633
+ },
634
+ showUserCondition(){
635
+ this.showCondtion=true
636
+ },
637
+ setConList(){
638
+ this.userTypes=this.$appdata.getParam('用户类型') ? [{
639
+ label: '全部',
640
+ value: ''
641
+ }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
642
+
643
+ this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
644
+ this.gasproperties=this.$appdata.getParam('用气性质') ? [{
645
+ label: '全部',
646
+ value: ''
647
+ }, ...this.$appdata.getParam('用气性质')] : [{label: '全部', value: ''}]
648
+ this.meter_classifys=this.$appdata.getParam('气表类型') ? [{
649
+ label: '全部',
650
+ value: ''
651
+ }, ...this.$appdata.getParam('气表类型')] : [{label: '全部', value: ''}]
652
+ },
653
+ select_search(text){
654
+ //tag
655
+ let pcdText=text?` and f_residential_area like '%${text}%'`:''
656
+ new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {data:{items:"*",tablename:"t_area",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}' ${pcdText} `}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
657
+ //tag)
658
+ if(res.data.length>0){
659
+ this.areaList=[]
660
+ this.areaList.push({label:"全部",value:""})
661
+ res.data.forEach((result)=>{
662
+ this.areaList.push({label:result.f_residential_area,value:result.f_residential_area})
663
+ })
664
+ }
665
+ //tag)
666
+ })
667
+ },
668
+ //获取抄表册
669
+ async Mreadibook(){
670
+ this.cbc=[]
671
+ this.sliceArea=[]
672
+ let http = new HttpResetClass()
673
+ let getMeterReadingBooks = await http.load('POST','rs/logic/getMeterBooksData',
674
+ {data: {f_orgid: "('"+this.userlogin.orgid+"')"}},
675
+ {resolveMsg: null, rejectMsg: '获取失败!!!'})
676
+ this.cbc = [{label: '全部', value: ''}]
677
+ //tag
678
+ //tag)
679
+ //tag
680
+ this.meterbooks=[]
681
+ this.meterbooks=getMeterReadingBooks.data.meterbooks
682
+ this.meterbooks.forEach((res) => {
683
+ this.cbc.push({label: res.f_book_name, value: res.id})
684
+ /*if(res.f_book_slice_area){
685
+ if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
686
+ this.sliceArea.push(res.f_book_slice_area)
687
+ }
688
+ }*/
689
+ })
690
+
691
+ },
692
+ //片区获取
693
+ async getSliceArea() {
694
+ let http = new HttpResetClass()
695
+ let getAllArea = await http.load('POST', '/rs/search', {
696
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
697
+ userid: this.userlogin.id
698
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
699
+ this.sliceArea = [{label: '全部', value: ''}]
700
+ //tag
701
+ //tag
702
+ //tag
703
+ getAllArea.data.forEach((res) => {
704
+ if(res.parentid==this.userlogin.orgid){
705
+ this.sliceArea.push({label:res.name,value:res.name})
706
+ }
707
+ })
708
+ //tag
709
+ },
710
+ //片区改变-对应抄表册下拉重新赋值
711
+ slice_areaChange(value) {
712
+ //tag
713
+ if(!value){
714
+ this.cbc=[]
715
+ this.meterbooks.forEach((res) => {
716
+ this.cbc.push({label: res.f_book_name, value: res.id})
717
+ })
718
+ }else{
719
+ this.cbc=[]
720
+ this.meterbooks.forEach((res) => {
721
+ if(res.f_book_slice_area==value){
722
+ this.cbc.push({label: res.f_book_name, value: res.id})
723
+ }
724
+ })
725
+ }
726
+ },
727
+ isChecked(v) {
728
+ // 如果全选,不在的按选中算,否则,在的按选中算
729
+ if (this.checkAll) {
730
+ return this.checkes.indexOf(v) == -1
731
+ } else {
732
+ return this.checkes.indexOf(v) != -1
733
+ }
734
+ },
735
+ setCheckAll() {
736
+ this.checkAll=this.checkAll?false:true;
737
+ // 全选改变后,清空选中数据
738
+ this.checkes = []
739
+ },
740
+ setCheckes(id) {
741
+ let index=this.checkes.indexOf(id)
742
+ if(index<0){
743
+ this.checkes.push(id)
744
+ }else{
745
+ this.checkes.splice(index,1)
746
+ }
747
+ },
748
+ //将客户信息拖至计划中
749
+ async dragtoPlanItem() {
750
+ if(this.model.rows.length==0){
751
+ Vue.showMessage("未检测到列表中有用户!")
752
+ return
753
+ }
754
+ if(!this.checkAll && this.checkes.length==0){
755
+ Vue.showMessage("请先勾选你要添入到上方计划中的用户!")
756
+ return
757
+ }
758
+ if(this.selectplan && this.selectplan.id){
759
+ this.$parent.isSend=true
760
+ try{
761
+ let res=await new HttpResetClass().load("POST", "/rs/logic/AddCheckPlanItem", {
762
+ data:{
763
+ f_operator:this.userlogin.name,
764
+ f_plan_id:this.selectplan.id,
765
+ f_safecheck_type:this.selectplan.f_safecheck_type,
766
+ f_filialeid:this.userlogin.orgid,
767
+ f_subscribe_date:'',
768
+ condition:this.model.condition,
769
+ switchCheckAll:true,
770
+ checkAll:this.checkAll,
771
+ param:this.checkes,
772
+ columnName: "ua.id"
773
+ }
774
+ }, {resolveMsg: null, rejectMsg: null})
775
+ //tag+"---"+res.data.result.length)
776
+ this.$parent.isSend=false
777
+ if(res.data.code==200){
778
+ //alert("添加成功!有"+res.data.result.length+"条用户地址已经存在于其他计划中: \n"+res.data.result.reduce((c,v)=>{c += v.f_user_name+":"+v.f_address+"\n"}),0)
779
+ this.$showMessage("添加成功!"+(res.data.result.length>0?"有"+res.data.result.length+"条用户地址已经存在于其他计划中":""))
780
+ this.$parent.refresh()
781
+ }else{
782
+ this.$showMessage("添加失败!")
783
+ }
784
+ }catch (e) {
785
+ this.$showMessage("添加失败!")
786
+ }
787
+ }else{
788
+ this.$parent.isSend=false
789
+ this.$showMessage("请先打开一个计划再进行操作")
790
+ }
791
+ }
792
+ },
793
+ computed:{
794
+ exportParameter(){
795
+ // excel 导出条件拼接
796
+ return {
797
+ condition: this.$refs.paged.model.condition,
798
+ orderitem: 'f_residential_area,f_building,f_unit,f_floor,f_room',
799
+ f_usertype: '',
800
+ month: '',
801
+ SafeCheckSX: {f_check_start: '', f_check_end: ''},
802
+ SafeCheckCQ: '',
803
+ startday:'',
804
+ endday:''
805
+ }
806
+ }
807
+ },
808
+ events: {
809
+ onFileUpload: function (file, res) {
810
+ //tag)
811
+ //tag)
812
+ let data = {
813
+ filepath: res.f_downloadpath
814
+ }
815
+ new HttpResetClass().load('POST','/rs/logic/safe_GetUserInfoFromExcel', {data: data}, {
816
+ resolveMsg: '导入成功!已生成条件,若要去除导入条件请点击旁边 ‘清空用户编号’ 按钮。',
817
+ rejectMsg: '导入失败'
818
+ }).then((res) => {
819
+ this.uploadCodeCondition=res.data.condition
820
+ this.excelUserCondtion = false
821
+ })
822
+ },
823
+
824
+ }
825
+ }
826
+ </script>
827
+
828
+ <style scoped>
829
+ .safe-planfont{
830
+ font-family: MicrosoftYaHei;
831
+ font-size: 15px;
832
+ font-weight: normal;
833
+ font-stretch: normal;
834
+ letter-spacing: 2px;
835
+ color: #333333;
836
+ line-height: 25px;
837
+ }
838
+ .safe-bodyfont{
839
+ font-family: MicrosoftYaHei;
840
+ font-size: 14px;
841
+ font-weight: normal;
842
+ font-stretch: normal;
843
+ letter-spacing: 0px;
844
+ color: #999999;
845
+ line-height: 30px;
846
+ }
847
+ .safe-leftplan{
848
+ height:auto;
849
+ border-bottom:1px solid #ececec;
850
+ padding: 10px 5px
851
+ }
852
+ .leftplan-center{
853
+ border-top:1px solid #ececec;
854
+ border-bottom:1px solid #ececec;
855
+ }
856
+ .safe_p{
857
+ white-space: nowrap;
858
+ overflow: hidden;
859
+ text-overflow: ellipsis;
860
+ }
861
+ .safe-div-p{
862
+ color: #4792de;
863
+ text-align: end;
864
+ padding: 8px 15px;
865
+ }
866
+ </style>
867
+ <style lang="less">
868
+ .upuserinfo_sel ul{
869
+ width: 150% !important;
870
+ }
871
+ </style>