manage-client 3.3.57 → 3.3.59

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 (44) hide show
  1. package/build/dev-server.js +21 -34
  2. package/package.json +1 -1
  3. package/src/components/webmeter/instruction/NewQueryInstruct.vue +61 -7
  4. package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -6
  5. package/src/filiale/WEINAN/CancellationQuery.vue +74 -0
  6. package/src/filiale/WEINAN/ChargeQuery.vue +58 -1
  7. package/src/filiale/WEINAN/DeviceQuery.vue +63 -0
  8. package/src/filiale/WEINAN/DisableQuery.vue +74 -0
  9. package/src/filiale/WEINAN/EnableQuery.vue +74 -0
  10. package/src/filiale/WEINAN/FillGasQuery.vue +74 -0
  11. package/src/filiale/WEINAN/InspectListUser.vue +35 -0
  12. package/src/filiale/WEINAN/MergeFileQuery.vue +77 -1
  13. package/src/filiale/WEINAN/MeterQuery.vue +58 -0
  14. package/src/filiale/WEINAN/NewAccountQuery.vue +58 -0
  15. package/src/filiale/WEINAN/OtherChargeQuery.vue +58 -0
  16. package/src/filiale/WEINAN/RecordInfoQuery.vue +58 -0
  17. package/src/filiale/WEINAN/UserGasAll.vue +63 -0
  18. package/src/filiale/WEINAN/UserGasList.vue +59 -0
  19. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +63 -0
  20. package/src/filiale/WEINAN/UserQuery.vue +63 -0
  21. package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +643 -0
  22. package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +1428 -0
  23. package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +477 -0
  24. package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +512 -0
  25. package/src/filiale/WEINAN/businessquery/TransferQuery.vue +553 -0
  26. package/src/filiale/WEINAN/businessquery/UserInsured.vue +483 -0
  27. package/src/filiale/WEINAN/businessquery/priceadjustQuery.vue +535 -0
  28. package/src/filiale/WEINAN/config/exportConfig.js +41 -38
  29. package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +468 -0
  30. package/src/filiale/WEINAN/filesquery/FmyGasDeviceQuery.vue +911 -0
  31. package/src/filiale/WEINAN/filesquery/GasDeviceQuery.vue +1021 -0
  32. package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +468 -0
  33. package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +505 -0
  34. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +63 -0
  35. package/src/filiale/WEINAN/sale.js +23 -2
  36. package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +692 -0
  37. package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +564 -0
  38. package/src/filiale/WEINAN/webmeter/ReportList.vue +483 -0
  39. package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +665 -0
  40. package/src/filiale/WEINAN/webmeter/UserInstructEchartsList.vue +242 -0
  41. package/src/filiale/WEINAN/webmeter/UserInstructList.vue +390 -0
  42. package/src/filiale/WEINAN/webmeterManage.js +13 -0
  43. package/src/filiale/lixianV3/BusinessManage.vue +3 -0
  44. package/src/filiale/shanxian/UserLostContactAnalysis.vue +35 -3
@@ -10,82 +10,69 @@ var compiler = webpack(config)
10
10
 
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
- // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan = 'http://119.146.1.106:8300/'
15
- var qtx= 'http://36.103.222.144:6300/'
16
- // var bendi = 'http://220.194.141.253:8600/'
17
- // var bendi = 'http://203.57.101.233:9001'
18
- // var bendi = 'http://172.168.1.11:9001/'
19
- // var bendi = 'http://203.57.101.233:8400/'
20
- // var bendi = 'http://121.36.106.17:8400/'
21
- // var fuwu = 'http://203.57.101.233:9001'
22
- var bendi = 'http://121.36.106.17:8400'
23
- // var bendi = 'http://119.187.112.234:8400/'
24
- var wode = 'http://121.36.106.17:8400'
25
- // 192.168.
26
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
13
+ var local = 'http://121.36.106.17:8400'
14
+ var server = 'http://121.36.106.17:8400'
28
15
  var proxyTable = {
29
16
  '/rs/logic/exportfile': {
30
- target: bendi
17
+ target: server
31
18
  },
32
19
  '/files': {
33
- target: bendi
20
+ target: server
34
21
  },
35
22
  // 查找资源服务数据
36
23
  '/rs/search': {
37
- target: bendi
24
+ target: server
38
25
  },
39
26
  // 查找资源服务数据
40
27
  '/rs/logic/getLogin': {
41
- target: bendi
28
+ target: server
42
29
  },
43
30
  // 查找资源服务数据
44
31
  '/rs/logic/getInitData': {
45
- target: bendi
32
+ target: server
46
33
  },
47
34
  '/rs/logic/getSaleInitData': {
48
- target: bendi
35
+ target: server
49
36
  },
50
37
  // 用户登录服务地址
51
38
  '/rs/user': {
52
- target: bendi
39
+ target: server
53
40
  },
54
41
  '/rs/path/getParams': {
55
- target: bendi
42
+ target: server
56
43
  },
57
44
  '/rs/data': {
58
- target: bendi
45
+ target: server
59
46
  },
60
47
  '/rs/license': {
61
- target: bendi
48
+ target: server
62
49
  },
63
50
  '/rs/db': {
64
- target: bendi
51
+ target: server
65
52
  },
66
53
  '/excel': {
67
- target: bendi
54
+ target: server
68
55
  },
69
56
  '/rs/config': {
70
- target: bendi
57
+ target: server
71
58
  },
72
59
  '/rs/sql/getLicenseById': {
73
- target: bendi
60
+ target: server
74
61
  },
75
62
  '/rs/report': {
76
- target: bendi
63
+ target: server
77
64
  },
78
65
  '/rs/vue': {
79
- target: bendi
66
+ target: server
80
67
  },
81
68
  '/rs/file': {
82
- target: bendi
69
+ target: server
83
70
  },
84
71
  '/rs/sql/singleTable': {
85
- target: bendi
72
+ target: server
86
73
  },
87
74
  '/rs': {
88
- target: wode
75
+ target: server
89
76
  }
90
77
  }
91
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.57",
3
+ "version": "3.3.59",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -157,7 +157,7 @@
157
157
  </div>
158
158
  </div>
159
159
  </criteria>
160
- <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list' v-ref:grid>
160
+ <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list' :modelval="$parent.$parent.modelval" v-ref:grid>
161
161
  <template partial='head'>
162
162
  <tr>
163
163
  <th style="text-align:center">
@@ -213,7 +213,15 @@
213
213
  <th style="text-align:center">
214
214
  <nobr>记录状态</nobr>
215
215
  </th>
216
- <th style="text-align:center"><nobr>组织机构</nobr></th>
216
+ <th style="text-align:center">
217
+ <nobr>组织机构</nobr>
218
+ </th>
219
+ <th style="text-align:center;">
220
+ <nobr>指令内容</nobr>
221
+ </th>
222
+ <th style="text-align:center">
223
+ <nobr>指令详情</nobr>
224
+ </th>
217
225
  </tr>
218
226
  </template>
219
227
  <template partial='body'>
@@ -257,9 +265,9 @@
257
265
  </td>
258
266
  <td style="text-align:center"><nobr>{{row.f_send_date}}</nobr></td>
259
267
  <td style="text-align:center"><nobr>{{row.f_callback_date}}</nobr></td>
260
- <th style="text-align:center">
268
+ <td style="text-align:center">
261
269
  <nobr>{{row.f_collection}}</nobr>
262
- </th>
270
+ </td>
263
271
  <td style="text-align:center">
264
272
  <nobr>{{row.note}}</nobr>
265
273
  </td>
@@ -281,11 +289,24 @@
281
289
  <td style="text-align:center">
282
290
  <nobr>{{row.f_orgname}}</nobr>
283
291
  </td>
292
+ <td style="text-align:center;">
293
+ <nobr>{{row.f_instruct_content}}</nobr>
294
+ </td>
295
+ <td style="text-align:center">
296
+ <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.instructDetail(row)">指令详情</button>
297
+ </td>
284
298
  </tr>
285
299
  </template>
286
300
  </data-grid>
287
301
  </criteria-paged>
288
302
  </div>
303
+ <modal :show.sync="detailShow" v-if="detailShow" width="40%" style="width:auto;" v-ref:modal middle backdrop="false">
304
+ <article slot="modal-body">
305
+ <p class="text-center" style="font-size: 15px" v-html="f_instruct_content"></p>
306
+ </article>
307
+ <footer slot="modal-footer" class="modal-footer">
308
+ </footer>
309
+ </modal>
289
310
  </div>
290
311
  </template>
291
312
  <script>
@@ -342,16 +363,46 @@
342
363
  'f_orgname': '组织机构'
343
364
  }
344
365
  },
345
- instructtitle: []
366
+ instructtitle: [],
367
+ detailShow: false,
368
+ f_instruct_content: '',
369
+ modelval: [
370
+ '序号','客户编号','客户名称','客户地址','表号','气表品牌','指令类型','指令标题','执行状态','执行结果','指令生成人','指令生成时间',
371
+ '指令发送时间','上表时间','充值金额','操作内容','操作原因','操作人(记录)','操作时间(记录)','操作类型','记录状态','组织机构'
372
+ ]
346
373
  }
347
374
  },
348
375
  ready () {
349
376
  readyGen(this)
350
377
  this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
351
378
  this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
379
+ this.$refs.paged.$refs.grid.modelval = this.modelval
352
380
  //this.$refs.paged.$refs.criteria.search()
353
381
  },
354
382
  methods: {
383
+ instructDetail(row){
384
+ if (row.f_instruct_content != '{}') {
385
+ let data = JSON.parse(row.f_instruct_content)
386
+ console.log('看下具体的指令详情===>',data)
387
+ let str = ''
388
+ if (data.hasOwnProperty("Data")) {
389
+ console.log('看下具体的指令详情2===>',data.Data)
390
+ console.log('看下具体的指令详情2===>',typeof data.Data)
391
+ for (let key in data.Data) {
392
+ str = str + key + ':' + data.Data[key] + '</br>'
393
+ }
394
+ }
395
+ for (let key in data) {
396
+ if (key != 'Data'){
397
+ str = str + key + ':' + data[key] + '</br>'
398
+ }
399
+ }
400
+ this.f_instruct_content = str
401
+ this.detailShow = true
402
+ }else{
403
+ this.$showMessage('当前指令没有内容!!!', ['confirm'])
404
+ }
405
+ },
355
406
  hidden(){
356
407
  this.criteriaShow = !this.criteriaShow
357
408
  },
@@ -461,8 +512,11 @@
461
512
  this.f_orgid = `${this.f_orgid_new}`;
462
513
  //await this.$LoadParams.loadParam(this.f_orgid_new)
463
514
  }
464
- this.model.search(args.condition, args.model)
465
- this.initQueryParam();
515
+ await this.model.search(args.condition, args.model)
516
+ await this.initQueryParam();
517
+ await this.$refs.paged.$refs.grid.InitializedData()
518
+ await this.$refs.paged.$refs.grid.displayColumnSettings(undefined)
519
+
466
520
  },
467
521
 
468
522
  },
@@ -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,