manage-client 3.3.83 → 3.3.84
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.
- package/build/dev-server.js +2 -2
- package/package.json +2 -2
- package/src/components/webmeter/reportdata/ckhReportDataQuery.vue +275 -0
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +30 -4
- package/src/filiale/WEINAN/ManageSummaryReport.vue +34 -15
- package/src/filiale/WEINAN/UserGasAll.vue +63 -44
- package/src/filiale/WEINAN/config/exportConfig.js +3 -1
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +2 -2
- package/src/filiale/lixianV3/ChangeMeterQuery.vue +729 -0
- package/src/filiale/lixianV3/sale.js +4 -0
- package/src/filiale/qianneng/CKHWebHandplanQuery.vue +992 -0
- package/src/filiale/qianneng/CKHWebmeterQuery.vue +43 -0
- package/src/filiale/qianneng/sale.js +1 -0
- package/src/filiale/qianneng/webmeterManage.js +1 -0
- package/src/filiale/tongchuan/MeterQuery.vue +6 -0
- package/src/filiale/tongchuan/config/exportConfig.js +1 -1
- package/src/webmeterManage.js +2 -0
|
@@ -70,11 +70,12 @@
|
|
|
70
70
|
v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
|
|
71
71
|
>
|
|
72
72
|
</div>
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
<res-select-group
|
|
74
|
+
:show-component="['company','slicearea']"
|
|
75
|
+
:initres="$parent.$parent.initres"
|
|
76
|
+
@re-res="$parent.$parent.getRes"
|
|
77
|
+
v-ref:sel
|
|
78
|
+
></res-select-group>
|
|
78
79
|
<!-- <div class="col-sm-2 form-group">-->
|
|
79
80
|
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
80
81
|
<!-- <res-select :initresid="$parent.$parent.orgid"-->
|
|
@@ -83,20 +84,6 @@
|
|
|
83
84
|
<!-- restype='organization'>-->
|
|
84
85
|
<!-- </res-select>-->
|
|
85
86
|
<!-- </div>-->
|
|
86
|
-
|
|
87
|
-
<div class="col-sm-2 form-group">
|
|
88
|
-
<label class="font_normal_body">客户类型</label>
|
|
89
|
-
<v-select :options='$parent.$parent.Gasusertype'
|
|
90
|
-
:value.sync="model.f_user_type"
|
|
91
|
-
close-on-select
|
|
92
|
-
style="width:60%"
|
|
93
|
-
condition="f_user_type = '{}'"
|
|
94
|
-
id="f_user_type"
|
|
95
|
-
placeholder='客户类型'
|
|
96
|
-
v-model="model.f_user_type"
|
|
97
|
-
value-single="true">
|
|
98
|
-
</v-select>
|
|
99
|
-
</div>
|
|
100
87
|
<div class="col-sm-2 form-group">
|
|
101
88
|
<label class="font_normal_body">用气性质</label>
|
|
102
89
|
<v-select :options='$parent.$parent.Gasproperties'
|
|
@@ -197,6 +184,20 @@
|
|
|
197
184
|
condition="f_curbalance <= {} " placeholder="">
|
|
198
185
|
</div>
|
|
199
186
|
</div>
|
|
187
|
+
<div class="col-sm-2 form-group">
|
|
188
|
+
<label class="font_normal_body">用户类型</label>
|
|
189
|
+
<v-select :options='$parent.$parent.Gasusertype'
|
|
190
|
+
:value.sync="model.f_user_type"
|
|
191
|
+
close-on-select
|
|
192
|
+
style="width:60%"
|
|
193
|
+
condition="f_user_type = '{}'"
|
|
194
|
+
id="f_user_type"
|
|
195
|
+
placeholder='用户类型'
|
|
196
|
+
@change="$parent.$parent.userTypeChange()"
|
|
197
|
+
v-model="model.f_user_type"
|
|
198
|
+
:value-single="true">
|
|
199
|
+
</v-select>
|
|
200
|
+
</div>
|
|
200
201
|
<div class="col-sm-2 form-group">
|
|
201
202
|
<label for="f_user_usetype" class="font_normal_body ">用气类型</label>
|
|
202
203
|
<v-select :value.sync="model.f_user_usetype" :search="false"
|
|
@@ -205,7 +206,7 @@
|
|
|
205
206
|
:options='$parent.$parent.userusetypes'
|
|
206
207
|
condition="f_user_usetype = '{}'"
|
|
207
208
|
placeholder='用气类型'
|
|
208
|
-
value-single="true"
|
|
209
|
+
:value-single="true"
|
|
209
210
|
close-on-select>
|
|
210
211
|
</v-select>
|
|
211
212
|
</div>
|
|
@@ -217,7 +218,7 @@
|
|
|
217
218
|
:options='$parent.$parent.useinstitutions'
|
|
218
219
|
condition="f_use_institution = '{}'"
|
|
219
220
|
placeholder='用气机构'
|
|
220
|
-
value-single="true"
|
|
221
|
+
:value-single="true"
|
|
221
222
|
close-on-select>
|
|
222
223
|
</v-select>
|
|
223
224
|
</div>
|
|
@@ -228,10 +229,15 @@
|
|
|
228
229
|
:options='$parent.$parent.userusenatures'
|
|
229
230
|
condition="f_user_usenature = '{}'"
|
|
230
231
|
placeholder='使用性质'
|
|
231
|
-
value-single="true"
|
|
232
|
+
:value-single="true"
|
|
232
233
|
close-on-select>
|
|
233
234
|
</v-select>
|
|
234
235
|
</div>
|
|
236
|
+
<div class="col-sm-2 form-group">
|
|
237
|
+
<label class="font_normal_body">单位名称</label>
|
|
238
|
+
<input style="width:60%" class="input_search" condition="f_corporate_name like '%{}%'" placeholder='单位名称' type="text"
|
|
239
|
+
v-el:corporatename v-model="model.f_corporate_name" v-next-el='corporatename'>
|
|
240
|
+
</div>
|
|
235
241
|
</div>
|
|
236
242
|
</div>
|
|
237
243
|
</criteria>
|
|
@@ -395,9 +401,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
395
401
|
reportStr: null,
|
|
396
402
|
show: false,
|
|
397
403
|
initres: {
|
|
398
|
-
org:[this.$login.f.orgid],
|
|
399
|
-
|
|
400
|
-
user:[]
|
|
404
|
+
org: [this.$login.f.orgid],
|
|
405
|
+
slice_area: [],
|
|
401
406
|
},
|
|
402
407
|
outlets: [],
|
|
403
408
|
operator: [],
|
|
@@ -405,6 +410,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
405
410
|
searchshow: true,
|
|
406
411
|
startDate1:'',
|
|
407
412
|
endDate1:'',
|
|
413
|
+
userusetypes: [],
|
|
408
414
|
useinstitutions: [],
|
|
409
415
|
userusenatures: [],
|
|
410
416
|
// startDate: '',
|
|
@@ -441,8 +447,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
441
447
|
{label: '周', value: 'week'},
|
|
442
448
|
{label: '日', value: 'day'}
|
|
443
449
|
],
|
|
444
|
-
//
|
|
445
|
-
|
|
450
|
+
// orgConditionStr: ' and h.f_orgid in (' + this.$login.f.orgid + ')',
|
|
451
|
+
orgConditionStr: '',
|
|
446
452
|
orgid:[this.$login.f.orgid],
|
|
447
453
|
usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}]
|
|
448
454
|
}
|
|
@@ -454,26 +460,41 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
454
460
|
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
455
461
|
this.startDate1 = Util.addDate(new Date(),-4).substring(0,10)
|
|
456
462
|
this.endDate1 = Util.toStandardDateString()
|
|
457
|
-
this.$refs.paged.$refs.cri.search()
|
|
463
|
+
// this.$refs.paged.$refs.cri.search()
|
|
458
464
|
this.getfield = this.config.excelHeaders
|
|
459
465
|
},
|
|
460
466
|
methods: {
|
|
461
|
-
|
|
467
|
+
userTypeChange () {
|
|
468
|
+
this.userusetypes = []
|
|
462
469
|
this.userusenatures = []
|
|
470
|
+
this.useinstitutions = []
|
|
471
|
+
this.$refs.paged.$refs.cri.model.f_user_usetype = ''
|
|
472
|
+
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
463
473
|
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
464
|
-
if (this.$refs.paged.$refs.cri.model.
|
|
465
|
-
|
|
466
|
-
|
|
474
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type) {
|
|
475
|
+
console.log('this.$refs.paged.$refs.cri.model.f_user_type', this.$refs.paged.$refs.cri.model.f_user_type)
|
|
476
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
|
|
477
|
+
this.userusetypes = this.$appdata.getParam(str)
|
|
467
478
|
}
|
|
468
479
|
},
|
|
469
480
|
userUseTypeChange () {
|
|
470
481
|
this.useinstitutions = []
|
|
482
|
+
this.userusenatures = []
|
|
471
483
|
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
484
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
472
485
|
if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
|
|
473
486
|
let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
|
|
474
487
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
475
488
|
}
|
|
476
489
|
},
|
|
490
|
+
userUseInstitutionChange () {
|
|
491
|
+
this.userusenatures = []
|
|
492
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
493
|
+
if (this.$refs.paged.$refs.cri.model.f_use_institution) {
|
|
494
|
+
let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
|
|
495
|
+
this.userusenatures = this.$appdata.getParam(str)
|
|
496
|
+
}
|
|
497
|
+
},
|
|
477
498
|
// 查询开关
|
|
478
499
|
hidden() {
|
|
479
500
|
this.criteriaShow = !this.criteriaShow
|
|
@@ -533,11 +554,12 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
533
554
|
if (this.endDate1 == '' || this.startDate1 == '') {
|
|
534
555
|
return this.$showMessage("时间区间的开始和结束时间不能为空!")
|
|
535
556
|
}
|
|
536
|
-
// this.condition = this.$refs.paged.$refs.cri.condition + ` ${this.
|
|
537
|
-
if (this.
|
|
538
|
-
this.condition = this.$refs.paged.$refs.cri.condition +
|
|
539
|
-
else
|
|
540
|
-
this.condition = this.$refs.paged.$refs.cri.condition +
|
|
557
|
+
// this.condition = this.$refs.paged.$refs.cri.condition + ` ${this.orgConditionStr}`
|
|
558
|
+
if (!this.orgConditionStr) {
|
|
559
|
+
this.condition = this.$refs.paged.$refs.cri.condition + ' and f_orgid = ' + this.$login.f.orgid
|
|
560
|
+
} else {
|
|
561
|
+
this.condition = this.$refs.paged.$refs.cri.condition + this.orgConditionStr
|
|
562
|
+
}
|
|
541
563
|
args.condition = this.condition
|
|
542
564
|
this.model.search(args.condition, args.model)
|
|
543
565
|
},
|
|
@@ -563,11 +585,11 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
563
585
|
close() {
|
|
564
586
|
this.show = false
|
|
565
587
|
},
|
|
566
|
-
getRes(obj) {
|
|
567
|
-
this.
|
|
588
|
+
getRes (obj) {
|
|
589
|
+
this.orgConditionStr = obj
|
|
568
590
|
},
|
|
569
591
|
getorg(obj) {
|
|
570
|
-
this.
|
|
592
|
+
this.orgConditionStr = plugin.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(' + this.$login.f.orgid + ')'
|
|
571
593
|
},
|
|
572
594
|
getCondition () {
|
|
573
595
|
return {
|
|
@@ -577,7 +599,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
577
599
|
}
|
|
578
600
|
}
|
|
579
601
|
// getRes(condition,obj) {
|
|
580
|
-
// this.
|
|
602
|
+
// this.orgConditionStr = condition
|
|
581
603
|
// this.orgname = obj.orgnames[0]
|
|
582
604
|
// this.depname = obj.depnames[0]
|
|
583
605
|
// }
|
|
@@ -592,9 +614,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
592
614
|
}
|
|
593
615
|
},
|
|
594
616
|
computed: {
|
|
595
|
-
userusetypes () {
|
|
596
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
597
|
-
},
|
|
598
617
|
startDate(){
|
|
599
618
|
return this.startDate1 + ' 00:00:00'
|
|
600
619
|
},
|
|
@@ -839,7 +839,7 @@ monthGasConfig: {
|
|
|
839
839
|
'f_company_name': '单位名称',
|
|
840
840
|
'f_pregas': '购气(充值)数量',
|
|
841
841
|
'f_stairamount1': '一阶气量',
|
|
842
|
-
'f_collection': '实收款'
|
|
842
|
+
'f_collection': '实收款'
|
|
843
843
|
},
|
|
844
844
|
manageChargeSummaryByAreaConfig: {
|
|
845
845
|
'f_residential_area': '小区名称',
|
|
@@ -853,7 +853,9 @@ monthGasConfig: {
|
|
|
853
853
|
'id': '单位编号',
|
|
854
854
|
'f_company_name': '单位名称',
|
|
855
855
|
'f_oughtamount': '期间用气量',
|
|
856
|
+
'f_oughtfee': '期间用气金额',
|
|
856
857
|
'f_pregas': '期间售气量',
|
|
858
|
+
'f_collection': '期间售气金额',
|
|
857
859
|
'f_table_num': '表具数量'
|
|
858
860
|
}
|
|
859
861
|
}
|
|
@@ -433,7 +433,6 @@
|
|
|
433
433
|
import exportConfig from '../config/exportConfig'
|
|
434
434
|
|
|
435
435
|
let readySomething = async function (self) {
|
|
436
|
-
|
|
437
436
|
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
438
437
|
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
439
438
|
|
|
@@ -441,7 +440,7 @@
|
|
|
441
440
|
// self.$refs.paged.$refs.cri.search()
|
|
442
441
|
await self.$MagLoadParams.loadParam()
|
|
443
442
|
self.initParams()
|
|
444
|
-
self.getaddress()
|
|
443
|
+
// self.getaddress()
|
|
445
444
|
// self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
446
445
|
}
|
|
447
446
|
export default {
|
|
@@ -502,6 +501,7 @@
|
|
|
502
501
|
this.startDate=this.$parent.startDate
|
|
503
502
|
this.endDate=this.$parent.endDate
|
|
504
503
|
console.log("this",this)
|
|
504
|
+
this.getaddress()
|
|
505
505
|
readySomething(this)
|
|
506
506
|
},
|
|
507
507
|
methods: {
|