manage-client 3.3.58 → 3.3.60

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.
Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/src/components/webmeter/report/ReportList.vue +2 -2
  3. package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -6
  4. package/src/filiale/WEINAN/CancellationQuery.vue +74 -0
  5. package/src/filiale/WEINAN/ChargeQuery.vue +58 -1
  6. package/src/filiale/WEINAN/DeviceQuery.vue +63 -0
  7. package/src/filiale/WEINAN/DisableQuery.vue +74 -0
  8. package/src/filiale/WEINAN/EnableQuery.vue +74 -0
  9. package/src/filiale/WEINAN/FillGasQuery.vue +74 -0
  10. package/src/filiale/WEINAN/InspectListUser.vue +35 -0
  11. package/src/filiale/WEINAN/MergeFileQuery.vue +77 -1
  12. package/src/filiale/WEINAN/MeterQuery.vue +58 -0
  13. package/src/filiale/WEINAN/NewAccountQuery.vue +58 -0
  14. package/src/filiale/WEINAN/OtherChargeQuery.vue +58 -0
  15. package/src/filiale/WEINAN/RecordInfoQuery.vue +58 -0
  16. package/src/filiale/WEINAN/UserGasAll.vue +63 -0
  17. package/src/filiale/WEINAN/UserGasList.vue +59 -0
  18. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +63 -0
  19. package/src/filiale/WEINAN/UserQuery.vue +63 -0
  20. package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +643 -0
  21. package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +1428 -0
  22. package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +477 -0
  23. package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +512 -0
  24. package/src/filiale/WEINAN/businessquery/TransferQuery.vue +553 -0
  25. package/src/filiale/WEINAN/businessquery/UserInsured.vue +483 -0
  26. package/src/filiale/WEINAN/businessquery/priceadjustQuery.vue +535 -0
  27. package/src/filiale/WEINAN/config/exportConfig.js +41 -38
  28. package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +468 -0
  29. package/src/filiale/WEINAN/filesquery/FmyGasDeviceQuery.vue +911 -0
  30. package/src/filiale/WEINAN/filesquery/GasDeviceQuery.vue +1021 -0
  31. package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +468 -0
  32. package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +505 -0
  33. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +63 -0
  34. package/src/filiale/WEINAN/sale.js +23 -2
  35. package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +692 -0
  36. package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +564 -0
  37. package/src/filiale/WEINAN/webmeter/ReportList.vue +483 -0
  38. package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +665 -0
  39. package/src/filiale/WEINAN/webmeter/UserInstructEchartsList.vue +242 -0
  40. package/src/filiale/WEINAN/webmeter/UserInstructList.vue +390 -0
  41. package/src/filiale/WEINAN/webmeterManage.js +13 -0
  42. package/src/filiale/lixianV3/BusinessManage.vue +3 -0
  43. package/src/filiale/shanxian/UserLostContactAnalysis.vue +35 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.58",
3
+ "version": "3.3.60",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -402,8 +402,8 @@
402
402
  con = `${this.$refs.paged.$refs.criteria.condition} `+this.orgcondition
403
403
  }
404
404
  return {
405
- startDate: this.$refs.paged.$refs.cri.model.f_start_date,
406
- endDate: this.$refs.paged.$refs.cri.model.f_end_date,
405
+ startDate: this.$refs.paged.$refs.criteria.model.f_start_date,
406
+ endDate: this.$refs.paged.$refs.criteria.model.f_end_date,
407
407
  condition: con
408
408
  }
409
409
  }
@@ -231,12 +231,6 @@
231
231
  // // this.orgname = obj.res
232
232
  // },
233
233
  clear() {
234
- //清空部门和人员
235
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
236
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = []
237
- //部门和人员变为全选
238
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
239
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
240
234
  Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
241
235
  this.$refs.paged.$refs.cri.model[key] = []
242
236
  })
@@ -109,6 +109,50 @@
109
109
  <!-- condition="f_operat_type = '{}'"-->
110
110
  <!-- close-on-select></v-select>-->
111
111
  <!-- </div>-->
112
+ <div class="col-sm-2 form-group">
113
+ <label class="font_normal_body">用户类型</label>
114
+ <v-select :value.sync="model.f_user_type"
115
+ v-model="model.f_user_type"
116
+ @change="$parent.$parent.userTypeChange()"
117
+ :options='$parent.$parent.userTypes' placeholder='请选择'
118
+ condition="f_user_type = '{}'"
119
+ close-on-select></v-select>
120
+ </div>
121
+ <div class="col-sm-2 form-group">
122
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
123
+ <v-select :value.sync="model.f_user_usetype" :search="false"
124
+ @change="$parent.$parent.userUseTypeChange()"
125
+ v-model="model.f_user_usetype"
126
+ :options='$parent.$parent.userusetypes'
127
+ condition="f_user_usetype = '{}'"
128
+ placeholder='用气类型'
129
+ value-single="true"
130
+ close-on-select>
131
+ </v-select>
132
+ </div>
133
+ <div class="col-sm-2 form-group">
134
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
135
+ <v-select :value.sync="model.f_use_institution" :search="false"
136
+ @change="$parent.$parent.userUseInstitutionChange()"
137
+ v-model="model.f_use_institution"
138
+ :options='$parent.$parent.useinstitutions'
139
+ condition="f_use_institution = '{}'"
140
+ placeholder='用气机构'
141
+ value-single="true"
142
+ close-on-select>
143
+ </v-select>
144
+ </div>
145
+ <div class="col-sm-2 form-group">
146
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
147
+ <v-select :value.sync="model.f_user_usenature" :search="false"
148
+ v-model="model.f_user_usenature"
149
+ :options='$parent.$parent.userusenatures'
150
+ condition="f_user_usenature = '{}'"
151
+ placeholder='使用性质'
152
+ value-single="true"
153
+ close-on-select>
154
+ </v-select>
155
+ </div>
112
156
  </div>
113
157
  </div>
114
158
  </criteria>
@@ -367,6 +411,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
367
411
  dep:[],
368
412
  user:[],
369
413
  },
414
+ userusetypes: [],
415
+ useinstitutions: [],
416
+ userusenatures: [],
370
417
  //合计数据
371
418
  sumsmodel: {},
372
419
  operattype:[{label: '全部', value: ''},{label: '销户', value: '销户'},{label: '销户启用', value: '销户启用'}],
@@ -382,6 +429,30 @@ import {HttpResetClass, PagedList} from 'vue-client'
382
429
  })
383
430
  },
384
431
  methods: {
432
+ userUseInstitutionChange () {
433
+ this.userusenatures = []
434
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
435
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
436
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
437
+ this.userusenatures = this.$appdata.getParam(str)
438
+ }
439
+ },
440
+ userUseTypeChange () {
441
+ this.useinstitutions = []
442
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
443
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
444
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
445
+ this.useinstitutions = this.$appdata.getParam(str)
446
+ }
447
+ },
448
+ userTypeChange () {
449
+ this.userusetypes = []
450
+ if(this.$refs.paged.$refs.cri.model !==null) {
451
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
452
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
453
+ this.userusetypes = this.$appdata.getParam(str)
454
+ }
455
+ },
385
456
  initParams() {
386
457
  // 初始化气表品牌
387
458
  let brandArr = []
@@ -615,6 +686,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
615
686
  },
616
687
  },
617
688
  computed: {
689
+ userTypes() {
690
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
691
+ },
618
692
  getPricenames() {
619
693
  let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
620
694
  let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
@@ -280,6 +280,41 @@
280
280
  close-on-select :value-single="true" :search="false">
281
281
  </v-select>
282
282
  </div>
283
+ <div class="col-sm-2 form-group">
284
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
285
+ <v-select :value.sync="model.f_user_usetype" :search="false"
286
+ @change="$parent.$parent.userUseTypeChange()"
287
+ v-model="model.f_user_usetype"
288
+ :options='$parent.$parent.userusetypes'
289
+ condition="f_user_usetype = '{}'"
290
+ placeholder='用气类型'
291
+ value-single="true"
292
+ close-on-select>
293
+ </v-select>
294
+ </div>
295
+ <div class="col-sm-2 form-group">
296
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
297
+ <v-select :value.sync="model.f_use_institution" :search="false"
298
+ @change="$parent.$parent.userUseInstitutionChange()"
299
+ v-model="model.f_use_institution"
300
+ :options='$parent.$parent.useinstitutions'
301
+ condition="f_use_institution = '{}'"
302
+ placeholder='用气机构'
303
+ value-single="true"
304
+ close-on-select>
305
+ </v-select>
306
+ </div>
307
+ <div class="col-sm-2 form-group">
308
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
309
+ <v-select :value.sync="model.f_user_usenature" :search="false"
310
+ v-model="model.f_user_usenature"
311
+ :options='$parent.$parent.userusenatures'
312
+ condition="f_user_usenature = '{}'"
313
+ placeholder='使用性质'
314
+ value-single="true"
315
+ close-on-select>
316
+ </v-select>
317
+ </div>
283
318
  </div>
284
319
  </div>
285
320
  </div>
@@ -508,6 +543,9 @@
508
543
  {label: '未优惠', value: '= 0'}
509
544
  ],
510
545
  showupload:false,
546
+ userusetypes: [],
547
+ useinstitutions: [],
548
+ userusenatures: [],
511
549
  selected:{},
512
550
  equip:[]
513
551
  }
@@ -529,7 +567,22 @@
529
567
 
530
568
  },
531
569
  methods: {
532
-
570
+ userUseInstitutionChange () {
571
+ this.userusenatures = []
572
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
573
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
574
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
575
+ this.userusenatures = this.$appdata.getParam(str)
576
+ }
577
+ },
578
+ userUseTypeChange () {
579
+ this.useinstitutions = []
580
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
581
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
582
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
583
+ this.useinstitutions = this.$appdata.getParam(str)
584
+ }
585
+ },
533
586
  async equipment(){
534
587
  console.log('=========123123214124=============')
535
588
  let condition = `f_orgid = '${this.$login.f.orgid}'`
@@ -597,9 +650,13 @@
597
650
  },
598
651
  userTypeChange () {
599
652
  this.gasproperties=[]
653
+ this.userusetypes = []
600
654
  if(this.$refs.paged.$refs.cri.model !==null) {
601
655
  this.$refs.paged.$refs.cri.model.f_gasproperties=''
656
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
602
657
  this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
658
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
659
+ this.userusetypes = this.$appdata.getParam(str)
603
660
  }
604
661
  else{
605
662
  this.gasproperties =[{label: '全部', value: ''}]
@@ -63,6 +63,7 @@
63
63
  <label class="font_normal_body">客户类型</label>
64
64
  <v-select :value.sync="model.f_user_type"
65
65
  :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
66
+ @change="$parent.$parent.userTypeChange()"
66
67
  condition="f_user_type = '{}'"
67
68
  close-on-select></v-select>
68
69
  </div>
@@ -226,6 +227,41 @@
226
227
  </v-select>
227
228
  </div>
228
229
  <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','slicearea']"></res-select-group>
230
+ <div class="col-sm-2 form-group">
231
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
232
+ <v-select :value.sync="model.f_user_usetype" :search="false"
233
+ @change="$parent.$parent.userUseTypeChange()"
234
+ v-model="model.f_user_usetype"
235
+ :options='$parent.$parent.userusetypes'
236
+ condition="f_user_usetype = '{}'"
237
+ placeholder='用气类型'
238
+ value-single="true"
239
+ close-on-select>
240
+ </v-select>
241
+ </div>
242
+ <div class="col-sm-2 form-group">
243
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
244
+ <v-select :value.sync="model.f_use_institution" :search="false"
245
+ @change="$parent.$parent.userUseInstitutionChange()"
246
+ v-model="model.f_use_institution"
247
+ :options='$parent.$parent.useinstitutions'
248
+ condition="f_use_institution = '{}'"
249
+ placeholder='用气机构'
250
+ value-single="true"
251
+ close-on-select>
252
+ </v-select>
253
+ </div>
254
+ <div class="col-sm-2 form-group">
255
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
256
+ <v-select :value.sync="model.f_user_usenature" :search="false"
257
+ v-model="model.f_user_usenature"
258
+ :options='$parent.$parent.userusenatures'
259
+ condition="f_user_usenature = '{}'"
260
+ placeholder='使用性质'
261
+ value-single="true"
262
+ close-on-select>
263
+ </v-select>
264
+ </div>
229
265
  </div>
230
266
  </div>
231
267
  </criteria>
@@ -400,6 +436,9 @@
400
436
  org:[this.$login.f.orgid],
401
437
  slice_area: []
402
438
  },
439
+ userusetypes: [],
440
+ useinstitutions: [],
441
+ userusenatures: [],
403
442
  // 合计数据
404
443
  sumsmodel: {}
405
444
  }
@@ -412,6 +451,30 @@
412
451
  })
413
452
  },
414
453
  methods: {
454
+ userUseInstitutionChange () {
455
+ this.userusenatures = []
456
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
457
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
458
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
459
+ this.userusenatures = this.$appdata.getParam(str)
460
+ }
461
+ },
462
+ userUseTypeChange () {
463
+ this.useinstitutions = []
464
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
465
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
466
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
467
+ this.useinstitutions = this.$appdata.getParam(str)
468
+ }
469
+ },
470
+ userTypeChange () {
471
+ this.userusetypes = []
472
+ if(this.$refs.paged.$refs.cri.model !==null) {
473
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
474
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
475
+ this.userusetypes = this.$appdata.getParam(str)
476
+ }
477
+ },
415
478
  async getinputtores () {
416
479
  // 获取抄表员
417
480
  let rs = []
@@ -133,6 +133,50 @@
133
133
  close-on-select></v-select>
134
134
  </div>
135
135
  <res-select-group :initres="$parent.$parent.initres" :show-component="$parent.$parent.showCom" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
136
+ <div class="col-sm-2 form-group">
137
+ <label class="font_normal_body">用户类型</label>
138
+ <v-select :value.sync="model.f_user_type"
139
+ v-model="model.f_user_type"
140
+ @change="$parent.$parent.userTypeChange()"
141
+ :options='$parent.$parent.userTypes' placeholder='请选择'
142
+ condition="f_user_type = '{}'"
143
+ close-on-select></v-select>
144
+ </div>
145
+ <div class="col-sm-2 form-group">
146
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
147
+ <v-select :value.sync="model.f_user_usetype" :search="false"
148
+ @change="$parent.$parent.userUseTypeChange()"
149
+ v-model="model.f_user_usetype"
150
+ :options='$parent.$parent.userusetypes'
151
+ condition="f_user_usetype = '{}'"
152
+ placeholder='用气类型'
153
+ value-single="true"
154
+ close-on-select>
155
+ </v-select>
156
+ </div>
157
+ <div class="col-sm-2 form-group">
158
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
159
+ <v-select :value.sync="model.f_use_institution" :search="false"
160
+ @change="$parent.$parent.userUseInstitutionChange()"
161
+ v-model="model.f_use_institution"
162
+ :options='$parent.$parent.useinstitutions'
163
+ condition="f_use_institution = '{}'"
164
+ placeholder='用气机构'
165
+ value-single="true"
166
+ close-on-select>
167
+ </v-select>
168
+ </div>
169
+ <div class="col-sm-2 form-group">
170
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
171
+ <v-select :value.sync="model.f_user_usenature" :search="false"
172
+ v-model="model.f_user_usenature"
173
+ :options='$parent.$parent.userusenatures'
174
+ condition="f_user_usenature = '{}'"
175
+ placeholder='使用性质'
176
+ value-single="true"
177
+ close-on-select>
178
+ </v-select>
179
+ </div>
136
180
  </div>
137
181
  </div>
138
182
  </criteria>
@@ -336,6 +380,9 @@
336
380
  //默认打印列
337
381
  defaultfield: [],
338
382
  tfoot: '',
383
+ userusetypes: [],
384
+ useinstitutions: [],
385
+ userusenatures: [],
339
386
  initres: {
340
387
  org:[this.$login.f.orgid],
341
388
  dep:[],
@@ -356,6 +403,30 @@
356
403
  })
357
404
  },
358
405
  methods: {
406
+ userUseInstitutionChange () {
407
+ this.userusenatures = []
408
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
409
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
410
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
411
+ this.userusenatures = this.$appdata.getParam(str)
412
+ }
413
+ },
414
+ userUseTypeChange () {
415
+ this.useinstitutions = []
416
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
417
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
418
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
419
+ this.useinstitutions = this.$appdata.getParam(str)
420
+ }
421
+ },
422
+ userTypeChange () {
423
+ this.userusetypes = []
424
+ if(this.$refs.paged.$refs.cri.model !==null) {
425
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
426
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
427
+ this.userusetypes = this.$appdata.getParam(str)
428
+ }
429
+ },
359
430
  view(row){
360
431
  this.showupload = true
361
432
  this.selected= row
@@ -506,6 +577,9 @@
506
577
  },
507
578
  },
508
579
  computed: {
580
+ userTypes() {
581
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
582
+ },
509
583
  getCondition() {
510
584
  return {
511
585
  condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
@@ -107,6 +107,50 @@
107
107
  close-on-select></v-select>
108
108
  </div>
109
109
  <res-select-group :initres="$parent.$parent.initres" :show-component="$parent.$parent.showCom" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
110
+ <div class="col-sm-2 form-group">
111
+ <label class="font_normal_body">用户类型</label>
112
+ <v-select :value.sync="model.f_user_type"
113
+ v-model="model.f_user_type"
114
+ @change="$parent.$parent.userTypeChange()"
115
+ :options='$parent.$parent.userTypes' placeholder='请选择'
116
+ condition="f_user_type = '{}'"
117
+ close-on-select></v-select>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
121
+ <v-select :value.sync="model.f_user_usetype" :search="false"
122
+ @change="$parent.$parent.userUseTypeChange()"
123
+ v-model="model.f_user_usetype"
124
+ :options='$parent.$parent.userusetypes'
125
+ condition="f_user_usetype = '{}'"
126
+ placeholder='用气类型'
127
+ value-single="true"
128
+ close-on-select>
129
+ </v-select>
130
+ </div>
131
+ <div class="col-sm-2 form-group">
132
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
133
+ <v-select :value.sync="model.f_use_institution" :search="false"
134
+ @change="$parent.$parent.userUseInstitutionChange()"
135
+ v-model="model.f_use_institution"
136
+ :options='$parent.$parent.useinstitutions'
137
+ condition="f_use_institution = '{}'"
138
+ placeholder='用气机构'
139
+ value-single="true"
140
+ close-on-select>
141
+ </v-select>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
145
+ <v-select :value.sync="model.f_user_usenature" :search="false"
146
+ v-model="model.f_user_usenature"
147
+ :options='$parent.$parent.userusenatures'
148
+ condition="f_user_usenature = '{}'"
149
+ placeholder='使用性质'
150
+ value-single="true"
151
+ close-on-select>
152
+ </v-select>
153
+ </div>
110
154
  </div>
111
155
  </div>
112
156
  </criteria>
@@ -292,6 +336,9 @@
292
336
  tfoot: '',
293
337
  //合计数据
294
338
  sumsmodel: {},
339
+ userusetypes: [],
340
+ useinstitutions: [],
341
+ userusenatures: [],
295
342
  operattype:[{label: '全部', value: ''},{label: '启用', value: '启用'},{label: '复拆表', value: '复拆表'},{label: '销户启用', value: '销户启用'}],
296
343
  showCom:['company','department','operator']
297
344
  }
@@ -304,6 +351,30 @@
304
351
  })
305
352
  },
306
353
  methods: {
354
+ userUseInstitutionChange () {
355
+ this.userusenatures = []
356
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
357
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
358
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
359
+ this.userusenatures = this.$appdata.getParam(str)
360
+ }
361
+ },
362
+ userUseTypeChange () {
363
+ this.useinstitutions = []
364
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
365
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
366
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
367
+ this.useinstitutions = this.$appdata.getParam(str)
368
+ }
369
+ },
370
+ userTypeChange () {
371
+ this.userusetypes = []
372
+ if(this.$refs.paged.$refs.cri.model !==null) {
373
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
374
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
375
+ this.userusetypes = this.$appdata.getParam(str)
376
+ }
377
+ },
307
378
  view(row){
308
379
  this.showupload = true
309
380
  this.selected= row
@@ -442,6 +513,9 @@
442
513
  }
443
514
  },
444
515
  computed: {
516
+ userTypes() {
517
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
518
+ },
445
519
  getCondition() {
446
520
  return {
447
521
  condition: `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr,
@@ -99,6 +99,50 @@
99
99
  condition="f_state = '{}'"
100
100
  close-on-select></v-select>
101
101
  </div>
102
+ <div class="col-sm-2 form-group">
103
+ <label class="font_normal_body">用户类型</label>
104
+ <v-select :value.sync="model.f_user_type"
105
+ v-model="model.f_user_type"
106
+ @change="$parent.$parent.userTypeChange()"
107
+ :options='$parent.$parent.userTypes' placeholder='请选择'
108
+ condition="f_user_type = '{}'"
109
+ close-on-select></v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
113
+ <v-select :value.sync="model.f_user_usetype" :search="false"
114
+ @change="$parent.$parent.userUseTypeChange()"
115
+ v-model="model.f_user_usetype"
116
+ :options='$parent.$parent.userusetypes'
117
+ condition="f_user_usetype = '{}'"
118
+ placeholder='用气类型'
119
+ value-single="true"
120
+ close-on-select>
121
+ </v-select>
122
+ </div>
123
+ <div class="col-sm-2 form-group">
124
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
125
+ <v-select :value.sync="model.f_use_institution" :search="false"
126
+ @change="$parent.$parent.userUseInstitutionChange()"
127
+ v-model="model.f_use_institution"
128
+ :options='$parent.$parent.useinstitutions'
129
+ condition="f_use_institution = '{}'"
130
+ placeholder='用气机构'
131
+ value-single="true"
132
+ close-on-select>
133
+ </v-select>
134
+ </div>
135
+ <div class="col-sm-2 form-group">
136
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
137
+ <v-select :value.sync="model.f_user_usenature" :search="false"
138
+ v-model="model.f_user_usenature"
139
+ :options='$parent.$parent.userusenatures'
140
+ condition="f_user_usenature = '{}'"
141
+ placeholder='使用性质'
142
+ value-single="true"
143
+ close-on-select>
144
+ </v-select>
145
+ </div>
102
146
  </div>
103
147
 
104
148
  </div>
@@ -284,6 +328,9 @@
284
328
  user:[],
285
329
  },
286
330
  showupload:false,
331
+ userusetypes: [],
332
+ useinstitutions: [],
333
+ userusenatures: [],
287
334
  selected:{},
288
335
 
289
336
  //合计数据
@@ -298,6 +345,30 @@
298
345
  })
299
346
  },
300
347
  methods: {
348
+ userUseInstitutionChange () {
349
+ this.userusenatures = []
350
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
351
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
352
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
353
+ this.userusenatures = this.$appdata.getParam(str)
354
+ }
355
+ },
356
+ userUseTypeChange () {
357
+ this.useinstitutions = []
358
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
359
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
360
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
361
+ this.useinstitutions = this.$appdata.getParam(str)
362
+ }
363
+ },
364
+ userTypeChange () {
365
+ this.userusetypes = []
366
+ if(this.$refs.paged.$refs.cri.model !==null) {
367
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
368
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
369
+ this.userusetypes = this.$appdata.getParam(str)
370
+ }
371
+ },
301
372
  view(row){
302
373
  this.showupload = true
303
374
  this.selected= row
@@ -450,6 +521,9 @@
450
521
  getfield() {
451
522
  return exportConfig.fillgasConfig
452
523
  },
524
+ userTypes() {
525
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
526
+ },
453
527
  fillGasTypes() {
454
528
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('补气类型')]
455
529
  },
@@ -179,6 +179,41 @@
179
179
  condition="f_user_state = '{}'"
180
180
  close-on-select></v-select>
181
181
  </div>
182
+ <div class="col-sm-2 form-group">
183
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
184
+ <v-select :value.sync="model.f_user_usetype" :search="false"
185
+ @change="$parent.$parent.userUseTypeChange()"
186
+ v-model="model.f_user_usetype"
187
+ :options='$parent.$parent.userusetypes'
188
+ condition="f_user_usetype = '{}'"
189
+ placeholder='用气类型'
190
+ value-single="true"
191
+ close-on-select>
192
+ </v-select>
193
+ </div>
194
+ <div class="col-sm-2 form-group">
195
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
196
+ <v-select :value.sync="model.f_use_institution" :search="false"
197
+ @change="$parent.$parent.userUseInstitutionChange()"
198
+ v-model="model.f_use_institution"
199
+ :options='$parent.$parent.useinstitutions'
200
+ condition="f_use_institution = '{}'"
201
+ placeholder='用气机构'
202
+ value-single="true"
203
+ close-on-select>
204
+ </v-select>
205
+ </div>
206
+ <div class="col-sm-2 form-group">
207
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
208
+ <v-select :value.sync="model.f_user_usenature" :search="false"
209
+ v-model="model.f_user_usenature"
210
+ :options='$parent.$parent.userusenatures'
211
+ condition="f_user_usenature = '{}'"
212
+ placeholder='使用性质'
213
+ value-single="true"
214
+ close-on-select>
215
+ </v-select>
216
+ </div>
182
217
 
183
218
  </div>
184
219