safecheck-client 3.0.30-81 → 3.0.30-83

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.
@@ -288,6 +288,30 @@
288
288
  :value-single="true">
289
289
  </v-select>
290
290
  </div>
291
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
292
+ <label class="font_normal_body">用户标签</label>
293
+ <v-select class="select_list select"
294
+ placeholder='请选择' style="width: 60%"
295
+ :value.sync="model.f_user_tags" v-model="model.f_user_tags"
296
+ :options='$parent.$parent.userTags'
297
+ filer-key="name"
298
+ close-on-select clear-button
299
+ condition="f_user_tags='{}'"
300
+ :value-single="true">
301
+ </v-select>
302
+ </div>
303
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
304
+ <label class="font_normal_body">用气类型</label>
305
+ <v-select class="select_list select"
306
+ placeholder='请选择' style="width: 60%"
307
+ :value.sync="model.f_user_gas_type" v-model="model.f_user_gas_type"
308
+ :options='$parent.$parent.userGasType'
309
+ filer-key="name"
310
+ close-on-select clear-button
311
+ condition="f_user_gas_type='{}'"
312
+ :value-single="true">
313
+ </v-select>
314
+ </div>
291
315
  </div>
292
316
  <modal :show.sync="$parent.$parent.showModal" v-ref:modal backdrop="false">
293
317
  <div slot="modal-header" class="modal-header">
@@ -519,6 +543,8 @@ export default {
519
543
  },
520
544
  fun: this.$login.f,
521
545
  pcds: [],
546
+ userTags:[{label: '全部', value: ''},...this.$appdata.getParam('安检用户标签')],
547
+ userGasType:[{label: '全部', value: ''},...this.$appdata.getParam('安检用户用气类型')],
522
548
  checkersid: [],
523
549
  approveds: this.$appdata.getParam('安检审核状态') ? [{
524
550
  label: '全部',
@@ -51,6 +51,51 @@
51
51
  </div>
52
52
  <div slot="modal-body" class="modal-body">
53
53
  <div class="row">
54
+ <div class="form-group col-sm-4" >
55
+ <label class="font_normal_body">用户类型:</label>
56
+ <v-select
57
+ class="select select_list"
58
+ :value.sync="model.f_user_type"
59
+ v-model="model.f_user_type"
60
+ :options='$parent.$parent.userTypes'
61
+ placeholder='请选择'
62
+ condition="uf.f_user_type='{}'"
63
+ :search="false"
64
+ close-on-select
65
+ value-single
66
+ >
67
+ </v-select>
68
+ </div>
69
+ <div class="form-group col-sm-4" >
70
+ <label class="font_normal_body">用户标签:</label>
71
+ <v-select
72
+ class="select select_list"
73
+ :value.sync="model.f_user_tags"
74
+ v-model="model.f_user_tags"
75
+ :options='$parent.$parent.userTags'
76
+ placeholder='请选择'
77
+ condition="ui.f_user_tags='{}'"
78
+ :search="false"
79
+ close-on-select
80
+ value-single
81
+ >
82
+ </v-select>
83
+ </div>
84
+ <div class="form-group col-sm-4" >
85
+ <label class="font_normal_body">用气类型:</label>
86
+ <v-select
87
+ class="select select_list"
88
+ :value.sync="model.f_user_gas_type"
89
+ v-model="model.f_user_gas_type"
90
+ :options='$parent.$parent.userGasType'
91
+ placeholder='请选择'
92
+ condition="ui.f_user_gas_type='{}'"
93
+ :search="false"
94
+ close-on-select
95
+ value-single
96
+ >
97
+ </v-select>
98
+ </div>
54
99
  <div class="form-group col-sm-4" >
55
100
  <label class="font_normal_body">用户类型:</label>
56
101
  <v-select
@@ -111,7 +156,6 @@
111
156
  >
112
157
  </v-select>
113
158
  </div>
114
-
115
159
  <!--<div class="form-group col-sm-4" >
116
160
  <label class="font_normal_body">小区名称:</label>
117
161
  <input type="text" class="input_search" v-model="model.f_userinfo_code"
@@ -292,51 +336,6 @@
292
336
  condition="ui.f_uservent_date <= '{} 23:59:59'">
293
337
  </datepicker>
294
338
  </div>
295
- <div class="form-group col-sm-4" >
296
- <label class="font_normal_body">行政村/片区:</label>
297
- <v-select
298
- class="select select_list"
299
- :value.sync="model.f_community_name"
300
- v-model="model.f_community_name"
301
- :options='$parent.$parent.community'
302
- placeholder='请选择'
303
- condition="area.f_community='{}'"
304
- :search="false"
305
- close-on-select
306
- value-single
307
- >
308
- </v-select>
309
- </div>
310
- <div class="form-group col-sm-4" >
311
- <label class="font_normal_body">用户标签:</label>
312
- <v-select
313
- class="select select_list"
314
- :value.sync="model.f_user_tags"
315
- v-model="model.f_user_tags"
316
- :options='$parent.$parent.user_tags'
317
- placeholder='请选择'
318
- condition="ui.f_user_tags='{}'"
319
- :search="false"
320
- close-on-select
321
- value-single
322
- >
323
- </v-select>
324
- </div>
325
- <div class="form-group col-sm-4" >
326
- <label class="font_normal_body">用气类型:</label>
327
- <v-select
328
- class="select select_list"
329
- :value.sync="model.f_user_gas_type"
330
- v-model="model.f_user_gas_type"
331
- :options='$parent.$parent.user_gas_types'
332
- placeholder='请选择'
333
- condition="ui.f_user_gas_type='{}'"
334
- :search="false"
335
- close-on-select
336
- value-single
337
- >
338
- </v-select>
339
- </div>
340
339
  <!--<div class="form-group col-sm-4" >
341
340
  <label class="font_normal_body">入户情况:</label>
342
341
  <v-select
@@ -427,6 +426,7 @@
427
426
 
428
427
  <script>
429
428
  import {HttpResetClass, PagedList} from "vue-client";
429
+ import * as Util from "../../Util";
430
430
  import Vue from "vue";
431
431
 
432
432
  export default {
@@ -446,10 +446,9 @@
446
446
  opt:[{label:"测试",value:"测试"}],
447
447
  showCondtion:false,
448
448
  userTypes:[],//用户类型
449
- community:[],
450
- user_tags:this.$appdata.getParam('用户标签')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户标签')]:[{label: '全部', value: ''}],
451
- user_gas_types:this.$appdata.getParam('用气类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]:[{label: '全部', value: ''}],
449
+ userTags:[],
452
450
  userStates:[],//用户状态
451
+ userGasType:[],//用气类型
453
452
  gasproperties:[],//用气性质
454
453
  meter_classifys:[],//气表类型
455
454
  hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
@@ -474,32 +473,11 @@
474
473
  // this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
475
474
  //this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
476
475
  this.getCheckBook()
477
- this.getCommunity()
478
-
479
476
  this.setConList()
480
477
  this.loadpage()
481
478
 
482
479
  },
483
480
  methods: {
484
- getCommunity(){
485
- this.community=[]
486
- new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
487
- data: {
488
- items: '*',
489
- tablename: 't_community',
490
- condition: `f_filialeid = '${this.userlogin.orgid}'`,
491
- orderitem: 'id desc'
492
- }
493
- }, {resolveMsg: null, rejectMsg: null}).then(res => {
494
- this.community.push({label: '全部', value: ''})
495
- res.data.forEach(ress => {
496
- this.community.push({
497
- label: ress.f_community_name,
498
- value: ress.f_community_name
499
- })
500
- })
501
- })
502
- },
503
481
  getCheckBook(){
504
482
  this.checkBooks=[]
505
483
  new HttpResetClass().load('POST', `/rs/sql/safe_singleTable_OrderBy`, {
@@ -591,7 +569,8 @@
591
569
  label: '全部',
592
570
  value: ''
593
571
  }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
594
-
572
+ this.userTags=this.$appdata.getParam('安检用户标签') ? [...this.$appdata.getParam('安检用户标签')] : []
573
+ this.userGasType=this.$appdata.getParam('安检用户用气类型') ? [...this.$appdata.getParam('安检用户用气类型')] : []
595
574
  this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
596
575
  this.gasproperties=this.$appdata.getParam('用气性质') ? [{
597
576
  label: '全部',
@@ -5,7 +5,10 @@ import Vue from "vue";
5
5
  let specialComp = {
6
6
  // 安检汇总-列表
7
7
  'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
8
- 'check-user-list': (resolve) => { require(['./pc/checkUserList'], 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) },
9
12
  }
10
13
  exports.specialComp = specialComp
11
14