safecheck-client 3.0.30-84 → 3.0.30-86

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.
@@ -336,6 +336,51 @@
336
336
  condition="ui.f_uservent_date <= '{} 23:59:59'">
337
337
  </datepicker>
338
338
  </div>
339
+ <div class="form-group col-sm-4" >
340
+ <label class="font_normal_body">行政村/片区:</label>
341
+ <v-select
342
+ class="select select_list"
343
+ :value.sync="model.f_community_name"
344
+ v-model="model.f_community_name"
345
+ :options='$parent.$parent.community'
346
+ placeholder='请选择'
347
+ condition="area.f_community='{}'"
348
+ :search="false"
349
+ close-on-select
350
+ value-single
351
+ >
352
+ </v-select>
353
+ </div>
354
+ <div class="form-group col-sm-4" >
355
+ <label class="font_normal_body">用户标签:</label>
356
+ <v-select
357
+ class="select select_list"
358
+ :value.sync="model.f_user_tags"
359
+ v-model="model.f_user_tags"
360
+ :options='$parent.$parent.user_tags'
361
+ placeholder='请选择'
362
+ condition="ui.f_user_tags='{}'"
363
+ :search="false"
364
+ close-on-select
365
+ value-single
366
+ >
367
+ </v-select>
368
+ </div>
369
+ <div class="form-group col-sm-4" >
370
+ <label class="font_normal_body">用气类型:</label>
371
+ <v-select
372
+ class="select select_list"
373
+ :value.sync="model.f_user_gas_type"
374
+ v-model="model.f_user_gas_type"
375
+ :options='$parent.$parent.user_gas_types'
376
+ placeholder='请选择'
377
+ condition="ui.f_user_gas_type='{}'"
378
+ :search="false"
379
+ close-on-select
380
+ value-single
381
+ >
382
+ </v-select>
383
+ </div>
339
384
  <!--<div class="form-group col-sm-4" >
340
385
  <label class="font_normal_body">入户情况:</label>
341
386
  <v-select
@@ -446,6 +491,9 @@
446
491
  opt:[{label:"测试",value:"测试"}],
447
492
  showCondtion:false,
448
493
  userTypes:[],//用户类型
494
+ community:[],
495
+ user_tags:this.$appdata.getParam('用户标签')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户标签')]:[{label: '全部', value: ''}],
496
+ user_gas_types:this.$appdata.getParam('用气类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]:[{label: '全部', value: ''}],
449
497
  userTags:[],
450
498
  userStates:[],//用户状态
451
499
  userGasType:[],//用气类型
@@ -475,9 +523,28 @@
475
523
  this.getCheckBook()
476
524
  this.setConList()
477
525
  this.loadpage()
478
-
526
+ this.getCommunity()
479
527
  },
480
528
  methods: {
529
+ getCommunity(){
530
+ this.community=[]
531
+ new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
532
+ data: {
533
+ items: '*',
534
+ tablename: 't_community',
535
+ condition: `f_filialeid = '${this.userlogin.orgid}'`,
536
+ orderitem: 'id desc'
537
+ }
538
+ }, {resolveMsg: null, rejectMsg: null}).then(res => {
539
+ this.community.push({label: '全部', value: ''})
540
+ res.data.forEach(ress => {
541
+ this.community.push({
542
+ label: ress.f_community_name,
543
+ value: ress.f_community_name
544
+ })
545
+ })
546
+ })
547
+ },
481
548
  getCheckBook(){
482
549
  this.checkBooks=[]
483
550
  new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
@@ -1,17 +1,17 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //手机特殊目录注册到该文件中
5
- let specialComp = {
6
- // 安检汇总-列表
7
- 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
8
- 'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
9
- 'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
10
- 'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
11
- 'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
12
- }
13
- exports.specialComp = specialComp
14
-
15
-
16
-
17
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ // 安检汇总-列表
7
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
8
+ 'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
9
+ 'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
10
+ 'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
11
+ 'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
12
+ }
13
+ exports.specialComp = specialComp
14
+
15
+
16
+
17
+