manage-client 3.3.223 → 3.3.225
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/package.json +1 -1
- package/src/components/sale/businessquery/FMYGasQuery.vue +59 -0
- package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +1 -1
- package/src/components/sale/config/exportConfig.js +1 -0
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +1 -1
- package/src/filiale/WEINAN/ManageSummaryReport.vue +2 -2
- package/src/filiale/WEINAN/RecordInfoQuery.vue +2 -2
- package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +1 -1
- package/src/filiale/jingwei/RecordInfoQuery.vue +28 -3
- package/src/filiale/jingwei/config/exportConfig.js +1 -1
- package/src/filiale/zhongyi/NewGasStatistics.vue +558 -0
- package/src/filiale/zhongyi/sale.js +2 -3
- package/src/filiale/zhongyi/webmeterManage.js +2 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/package.json
CHANGED
|
@@ -152,6 +152,24 @@
|
|
|
152
152
|
condition="f_gasproperties in {}">
|
|
153
153
|
</v-select>
|
|
154
154
|
</div>
|
|
155
|
+
<div class="col-sm-2 form-group">
|
|
156
|
+
<label class="font_normal_body">气价类型</label>
|
|
157
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
158
|
+
@change="$parent.$parent.pricetypechanged"
|
|
159
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
160
|
+
close-on-select v-ref:type>
|
|
161
|
+
</v-select>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="col-sm-2 form-group">
|
|
164
|
+
<label class="font_normal_body">气价名称</label>
|
|
165
|
+
<v-select :value.sync="model.f_price_name"
|
|
166
|
+
v-model="model.f_price_name"
|
|
167
|
+
multiple
|
|
168
|
+
:options="$parent.$parent.pricenames"
|
|
169
|
+
condition="f_price_name in {}"
|
|
170
|
+
></v-select>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
155
173
|
<!--表册片区-->
|
|
156
174
|
<div class="col-sm-2 form-group">
|
|
157
175
|
<label class="font_normal_body">表册片区</label>
|
|
@@ -261,6 +279,9 @@
|
|
|
261
279
|
<th>
|
|
262
280
|
<nobr>气表类型</nobr>
|
|
263
281
|
</th>
|
|
282
|
+
<th>
|
|
283
|
+
<nobr>气价名称</nobr>
|
|
284
|
+
</th>
|
|
264
285
|
<th>
|
|
265
286
|
<nobr>气价详情</nobr>
|
|
266
287
|
</th>
|
|
@@ -348,6 +369,9 @@
|
|
|
348
369
|
<td style="text-align: center;">
|
|
349
370
|
<nobr>{{row.f_meter_classify}}</nobr>
|
|
350
371
|
</td>
|
|
372
|
+
<td style="text-align: center;">
|
|
373
|
+
<nobr>{{row.f_price_name}}</nobr>
|
|
374
|
+
</td>
|
|
351
375
|
<td style="text-align: center;">
|
|
352
376
|
<nobr>{{row.f_price_value}}</nobr>
|
|
353
377
|
</td>
|
|
@@ -483,6 +507,7 @@ import exportConfig from '../config/exportConfig'
|
|
|
483
507
|
residentialArea: [],
|
|
484
508
|
f_filialeid: this.$login.f.orgid,
|
|
485
509
|
show: false,
|
|
510
|
+
pricenames: [],
|
|
486
511
|
rowdata: {},
|
|
487
512
|
criteriaShow: false,
|
|
488
513
|
orgCondtionStr: '',
|
|
@@ -648,6 +673,37 @@ import exportConfig from '../config/exportConfig'
|
|
|
648
673
|
this.gasproperties = [{label: '全部', value: ''}]
|
|
649
674
|
}
|
|
650
675
|
},
|
|
676
|
+
async pricetypechanged(){
|
|
677
|
+
this.$refs.paged.$refs.cri.model.f_price_name = []
|
|
678
|
+
this.pricenames = []
|
|
679
|
+
if (this.$refs.paged.$refs.cri.model.pricetype) {
|
|
680
|
+
let http = new HttpResetClass()
|
|
681
|
+
let param = {
|
|
682
|
+
items: 'f_price_name',
|
|
683
|
+
tablename: 't_stairprice',
|
|
684
|
+
condition: `f_price_type = '${this.$refs.paged.$refs.cri.model.pricetype[0]}' and f_orgid = '${this.$login.f.orgid}'`,
|
|
685
|
+
orderitem: 'id'
|
|
686
|
+
}
|
|
687
|
+
var res = await http.load('POST', 'api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
|
|
688
|
+
let uniqueMap = {}
|
|
689
|
+
let arr = []
|
|
690
|
+
for (var i = 0; i < res.data.length; i++) {
|
|
691
|
+
let item = res.data[i];
|
|
692
|
+
if (!uniqueMap[item.f_price_name]) {
|
|
693
|
+
arr.push(item);
|
|
694
|
+
uniqueMap[item.f_price_name] = true;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
console.log('arr',arr)
|
|
698
|
+
if (arr.length > 0) {
|
|
699
|
+
arr.forEach(row => {
|
|
700
|
+
this.pricenames.push({label: row.f_price_name,value: row.f_price_name})
|
|
701
|
+
})
|
|
702
|
+
} else {
|
|
703
|
+
this.pricenames.push({label: '全部', value: ''})
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
},
|
|
651
707
|
search () {
|
|
652
708
|
this.$refs.paged.$refs.cri.search()
|
|
653
709
|
},
|
|
@@ -756,6 +812,9 @@ import exportConfig from '../config/exportConfig'
|
|
|
756
812
|
getfield () {
|
|
757
813
|
return exportConfig.fmygasConfig
|
|
758
814
|
},
|
|
815
|
+
pricetypes() {
|
|
816
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
817
|
+
},
|
|
759
818
|
usertypes () {
|
|
760
819
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
761
820
|
},
|
|
@@ -190,7 +190,7 @@ export default {
|
|
|
190
190
|
condition = ` f_residential_area like '%${searchText}%' `
|
|
191
191
|
}
|
|
192
192
|
let HttpReset = new HttpResetClass()
|
|
193
|
-
HttpReset.load('POST', 'api/af-revenue/sql/
|
|
193
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
194
194
|
data: {
|
|
195
195
|
items: 'f_residential_area, id',
|
|
196
196
|
tablename: 't_area',
|
|
@@ -333,7 +333,7 @@ export default {
|
|
|
333
333
|
// condition = ` f_company_name like '%${searchText}%' `
|
|
334
334
|
// }
|
|
335
335
|
// let HttpReset = new HttpResetClass()
|
|
336
|
-
// HttpReset.load('POST', 'api/af-revenue/sql/
|
|
336
|
+
// HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
337
337
|
// data: {
|
|
338
338
|
// items: 'f_company_name, id',
|
|
339
339
|
// tablename: 't_company',
|
|
@@ -413,7 +413,7 @@ export default {
|
|
|
413
413
|
condition = ` f_company_name like '%${searchText}%' `
|
|
414
414
|
}
|
|
415
415
|
let HttpReset = new HttpResetClass()
|
|
416
|
-
HttpReset.load('POST', 'api/af-revenue/sql/
|
|
416
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
417
417
|
data: {
|
|
418
418
|
items: 'f_company_name, id',
|
|
419
419
|
tablename: 't_company',
|
|
@@ -437,7 +437,7 @@ export default {
|
|
|
437
437
|
condition = ` f_residential_area like '%${searchText}%' `
|
|
438
438
|
}
|
|
439
439
|
let HttpReset = new HttpResetClass()
|
|
440
|
-
HttpReset.load('POST', 'api/af-revenue/sql/
|
|
440
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
441
441
|
data: {
|
|
442
442
|
items: 'f_residential_area, id',
|
|
443
443
|
tablename: 't_area',
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
condition = ` f_company_name like '%${searchText}%' `
|
|
824
824
|
}
|
|
825
825
|
let HttpReset = new HttpResetClass()
|
|
826
|
-
HttpReset.load('POST', 'api/af-revenue/sql/
|
|
826
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
827
827
|
data: {
|
|
828
828
|
items: 'f_company_name, id',
|
|
829
829
|
tablename: 't_company',
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
condition = ` f_residential_area like '%${searchText}%' `
|
|
924
924
|
}
|
|
925
925
|
let HttpReset = new HttpResetClass()
|
|
926
|
-
HttpReset.load('POST', 'api/af-revenue/sql/
|
|
926
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
927
927
|
data: {
|
|
928
928
|
items: 'f_residential_area, id',
|
|
929
929
|
tablename: 't_area',
|
|
@@ -254,7 +254,7 @@ export default {
|
|
|
254
254
|
condition = ` f_residential_area like '%${searchText}%' `
|
|
255
255
|
}
|
|
256
256
|
let HttpReset = new HttpResetClass()
|
|
257
|
-
HttpReset.load('POST', 'api/af-revenue/sql/
|
|
257
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manageSingleTable?pageNo=1&pageSize=100', {
|
|
258
258
|
data: {
|
|
259
259
|
items: 'f_residential_area, id',
|
|
260
260
|
tablename: 't_area',
|
|
@@ -347,6 +347,26 @@
|
|
|
347
347
|
close-on-select>
|
|
348
348
|
</v-select>
|
|
349
349
|
</div>
|
|
350
|
+
<div class="col-sm-2 form-group" >
|
|
351
|
+
<label for="startDate4" class="font_normal_body" title="最后缴费日期">最后缴费日期</label>
|
|
352
|
+
<datepicker id="startDate4" placeholder="开始日期" style="width:52%"
|
|
353
|
+
v-model="model.startDate4"
|
|
354
|
+
:value.sync="model.startDate4"
|
|
355
|
+
:format="'yyyy-MM-dd'"
|
|
356
|
+
:show-reset-button="true"
|
|
357
|
+
condition="f_last_gas_date >= '{} 00:00:00'">
|
|
358
|
+
</datepicker>
|
|
359
|
+
</div>
|
|
360
|
+
<div class="col-sm-2 form-group" >
|
|
361
|
+
<label for="endDate4" class="font_normal_body" title="最后缴费日期">最后缴费日期</label>
|
|
362
|
+
<datepicker id="endDate4" placeholder="结束日期" style="width:52%"
|
|
363
|
+
v-model="model.endDate4"
|
|
364
|
+
:value.sync="model.endDate4"
|
|
365
|
+
:format="'yyyy-MM-dd'"
|
|
366
|
+
:show-reset-button="true"
|
|
367
|
+
condition="f_last_gas_date <= '{} 23:59:59'">
|
|
368
|
+
</datepicker>
|
|
369
|
+
</div>
|
|
350
370
|
</div>
|
|
351
371
|
|
|
352
372
|
</div>
|
|
@@ -442,7 +462,7 @@
|
|
|
442
462
|
|
|
443
463
|
<th><nobr>抄表册顺序</nobr></th>
|
|
444
464
|
<th><nobr>表剩余金额</nobr></th>
|
|
445
|
-
|
|
465
|
+
<!-- <th><nobr>首次购气日期</nobr></th>-->
|
|
446
466
|
<th><nobr>写卡次数</nobr></th>
|
|
447
467
|
<th><nobr>补卡次数</nobr></th>
|
|
448
468
|
<!-- <th><nobr>购气次数</nobr></th>-->
|
|
@@ -471,6 +491,9 @@
|
|
|
471
491
|
<th>
|
|
472
492
|
<nobr>换表时间</nobr>
|
|
473
493
|
</th>
|
|
494
|
+
<th>
|
|
495
|
+
<nobr>最后缴费日期</nobr>
|
|
496
|
+
</th>
|
|
474
497
|
<th>
|
|
475
498
|
<nobr>灶具信息</nobr>
|
|
476
499
|
</th>
|
|
@@ -508,7 +531,7 @@
|
|
|
508
531
|
<td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
|
|
509
532
|
<td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
|
|
510
533
|
<td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
511
|
-
|
|
534
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
|
|
512
535
|
<td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
|
|
513
536
|
|
|
514
537
|
<!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
|
|
@@ -579,6 +602,7 @@
|
|
|
579
602
|
</td>
|
|
580
603
|
<td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
|
|
581
604
|
<td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
|
|
605
|
+
<td style="text-align: center;"><nobr>{{row.f_last_gas_date}}</nobr></td>
|
|
582
606
|
<td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
|
|
583
607
|
</template>
|
|
584
608
|
<template partial='foot'>
|
|
@@ -703,7 +727,7 @@
|
|
|
703
727
|
//排序
|
|
704
728
|
orderitem: 'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc',
|
|
705
729
|
orderFields: {
|
|
706
|
-
f_operate_date: 'no'
|
|
730
|
+
// f_operate_date: 'no'
|
|
707
731
|
},
|
|
708
732
|
config: {
|
|
709
733
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
|
|
@@ -819,6 +843,7 @@
|
|
|
819
843
|
},
|
|
820
844
|
search(){
|
|
821
845
|
this.$refs.paged.$refs.cri.search()
|
|
846
|
+
console.debug(this.model)
|
|
822
847
|
},
|
|
823
848
|
cancel() {
|
|
824
849
|
this.show = false
|
|
@@ -217,7 +217,7 @@ export default{
|
|
|
217
217
|
'f_user_phone': '联系电话', 'f_usetype': '使用类型',
|
|
218
218
|
'f_gas_date': '通气日期', 'f_price_name': '气价名称', 'f_position': '安装位置', 'f_meter_type': '类型', 'f_meter_brand': '品牌',
|
|
219
219
|
'f_meternumber': '表号', 'f_metertitles': '表封号', 'f_aroundmeter': '表向', 'f_install_date': '气表安装日期', 'f_meter_base': '气表底数',
|
|
220
|
-
'f_balance': '账户余额', 'f_hand_date': '最后抄表日期', 'f_whether_hairpin': '是否发卡',
|
|
220
|
+
'f_balance': '账户余额', 'f_hand_date': '最后抄表日期','f_last_gas_date': '最后缴费日期', 'f_whether_hairpin': '是否发卡',
|
|
221
221
|
'f_valve_state': '阀门状态', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'value': '气价详情',
|
|
222
222
|
'f_open_date': '开户时间', 'f_credentials': '证件类型', 'f_idnumber': '身份证号', 'f_people_num': '人口数', 'f_ins_stop_date': '保险结束日期',
|
|
223
223
|
'f_createfile_date': '建档日期', 'f_createfile_person': '建档人', 'f_depname': '所属营业厅', 'f_comments': '备注信息',
|
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row" >
|
|
9
|
+
<div class="col-sm-2">
|
|
10
|
+
<label class="font_normal_body">组织机构</label>
|
|
11
|
+
<res-select :initresid="$parent.$parent.org"
|
|
12
|
+
style="width:60%"
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
:is-mul=false
|
|
15
|
+
restype='organization'>
|
|
16
|
+
</res-select>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2">
|
|
19
|
+
<label class="font_normal_body">客户编号</label>
|
|
20
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
21
|
+
condition="ss.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
22
|
+
>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-sm-2">
|
|
25
|
+
<label class="font_normal_body">客户名称</label>
|
|
26
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
|
|
27
|
+
condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2">
|
|
30
|
+
<label class="font_normal_body">客户地址</label>
|
|
31
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
|
|
32
|
+
condition="ss.f_address like '%{}%'" v-next-el='f_address' v-el:f_address>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="span" style="float:right;margin-top:10px">
|
|
35
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
36
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
37
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
38
|
+
:field="$parent.$parent.getfield"
|
|
39
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="newGasStatisticsQuery" template-name='用气量统计表'
|
|
40
|
+
:choose-col="true"></export-excel>
|
|
41
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
42
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
43
|
+
titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
|
|
44
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
45
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
49
|
+
<div class="col-sm-2">
|
|
50
|
+
<label class="font_normal_body">电 话</label>
|
|
51
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_user_phone" placeholder='电话'
|
|
52
|
+
condition="ss.f_user_phone like '%{}%'" v-next-el='f_user_phone' v-el:f_user_phone
|
|
53
|
+
>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-2">
|
|
56
|
+
<label class="font_normal_body">小 区</label>
|
|
57
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_residential_area" placeholder='小区'
|
|
58
|
+
condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area' v-el:f_residential_area>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-2">
|
|
61
|
+
<label class="font_normal_body">表 号</label>
|
|
62
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
|
|
63
|
+
condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
64
|
+
>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="col-sm-2">
|
|
67
|
+
<label class="font_normal_body">燃气证号</label>
|
|
68
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_gascode" placeholder='燃气证号'
|
|
69
|
+
condition="ss.f_gascode like '%{}%'" v-next-el='f_gascode' v-el:f_gascode
|
|
70
|
+
>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2 form-group">
|
|
73
|
+
<label class="font_normal_body">气价类型</label>
|
|
74
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
75
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
76
|
+
condition="ss.f_price_type = '{}'"
|
|
77
|
+
close-on-select>
|
|
78
|
+
</v-select>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="col-sm-2 form-group">
|
|
81
|
+
<label class="font_normal_body">气价名称</label>
|
|
82
|
+
<v-select :value.sync="model.f_price_name"
|
|
83
|
+
v-model="model.f_price_name"
|
|
84
|
+
:options="$parent.$parent.getPricenames"
|
|
85
|
+
condition="ss.f_price_name = '{}'"
|
|
86
|
+
close-on-select></v-select>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="col-sm-2 form-group">
|
|
89
|
+
<label class="font_normal_body">气表品牌</label>
|
|
90
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
91
|
+
v-model="model.f_meter_brand"
|
|
92
|
+
:options="$parent.$parent.meterbrands"
|
|
93
|
+
condition="ss.f_meter_brand in {}"
|
|
94
|
+
value-single="false"
|
|
95
|
+
close-on-select></v-select>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="col-sm-2 form-group">
|
|
98
|
+
<label class="font_normal_body">是否换表</label>
|
|
99
|
+
<v-select :value.sync="model.f_changetable_state"
|
|
100
|
+
v-model="model.f_changetable_state"
|
|
101
|
+
:options="$parent.$parent.isChange"
|
|
102
|
+
condition="ss.f_changetable_state = '{}'"
|
|
103
|
+
close-on-select></v-select>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-2 form-group">
|
|
106
|
+
<label class="font_normal_body">用气状态</label>
|
|
107
|
+
<v-select :value.sync="model.f_gas_state"
|
|
108
|
+
v-model="model.f_gas_state"
|
|
109
|
+
:options="$parent.$parent.gasState"
|
|
110
|
+
condition="ss.f_gas_state = '{}'"
|
|
111
|
+
close-on-select></v-select>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="col-sm-2 form-group">
|
|
114
|
+
<label class="font_normal_body">气表状态</label>
|
|
115
|
+
<v-select :value.sync="model.f_table_state"
|
|
116
|
+
v-model="model.f_table_state"
|
|
117
|
+
:options="$parent.$parent.tableState"
|
|
118
|
+
condition="f_table_state = '{}'"
|
|
119
|
+
close-on-select></v-select>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
122
|
+
<label class="font_normal_body">用气量区间</label>
|
|
123
|
+
<div class="row">
|
|
124
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
|
|
125
|
+
condition="ss.f_oughtamount >= {} " placeholder="">
|
|
126
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
127
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
|
|
128
|
+
condition="ss.f_oughtamount <= {} " placeholder="">
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
132
|
+
<label class="font_normal_body"> 充值区间 </label>
|
|
133
|
+
<div class="row">
|
|
134
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
|
|
135
|
+
condition="ss.f_collection >= {} " placeholder="">
|
|
136
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
137
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
|
|
138
|
+
condition="ss.f_collection <= {} " placeholder="">
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="col-sm-2 form-group" >
|
|
142
|
+
<label class="font_normal_body" for="startDate">开始时间</label>
|
|
143
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
144
|
+
v-model="model.startDate"
|
|
145
|
+
:value.sync="model.startDate"
|
|
146
|
+
:disabled-days-of-Week="[]"
|
|
147
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
148
|
+
:show-reset-button="reset">
|
|
149
|
+
</datepicker>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="col-sm-2 form-group" >
|
|
152
|
+
<label class="font_normal_body" for="endDate">结束时间</label>
|
|
153
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
154
|
+
v-model="model.endDate"
|
|
155
|
+
:value.sync="model.endDate"
|
|
156
|
+
:disabled-days-of-Week="[]"
|
|
157
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
158
|
+
:show-reset-button="reset">
|
|
159
|
+
</datepicker>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
162
|
+
<label class="font_normal_body">余额区间</label>
|
|
163
|
+
<div class="row">
|
|
164
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_sta"
|
|
165
|
+
condition="ss.f_balance_amount >= {} " placeholder="">
|
|
166
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
167
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_end"
|
|
168
|
+
condition="ss.f_balance_amount <= {} " placeholder="">
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="col-sm-2 form-group">
|
|
172
|
+
<label class="font_normal_body">用户类型</label>
|
|
173
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
174
|
+
:options='$parent.$parent.usertypes' placeholder='请选择'
|
|
175
|
+
condition="f_user_type = '{}'"
|
|
176
|
+
close-on-select></v-select>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="col-sm-2 form-group">
|
|
179
|
+
<label class="font_normal_body">用气性质</label>
|
|
180
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
181
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
182
|
+
condition="f_gasproperties = '{}'"
|
|
183
|
+
close-on-select></v-select>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="col-sm-2 form-group">
|
|
186
|
+
<label class="font_normal_body" title="参数名称:是否煤改气">煤 改 气 </label>
|
|
187
|
+
<v-select :value.sync="model.f_is_mgq" v-model="model.f_is_mgq"
|
|
188
|
+
:options='$parent.$parent.mgq' placeholder='是否煤改气'
|
|
189
|
+
style="width:60%"
|
|
190
|
+
close-on-select
|
|
191
|
+
condition="f_is_mgq = '{}'"></v-select>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
</div>
|
|
195
|
+
</criteria>
|
|
196
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
197
|
+
<template partial='head'>
|
|
198
|
+
<tr>
|
|
199
|
+
<th><nobr>客户编号</nobr></th>
|
|
200
|
+
<th><nobr>客户名称</nobr></th>
|
|
201
|
+
<th><nobr>小区</nobr></th>
|
|
202
|
+
<th><nobr>地址</nobr></th>
|
|
203
|
+
<th><nobr>电话</nobr></th>
|
|
204
|
+
|
|
205
|
+
<th><nobr>气表状态</nobr></th>
|
|
206
|
+
<th><nobr>燃气证号</nobr></th>
|
|
207
|
+
<th><nobr>是否煤改气</nobr></th>
|
|
208
|
+
|
|
209
|
+
<th><nobr>气表品牌</nobr></th>
|
|
210
|
+
<th><nobr>表号</nobr></th>
|
|
211
|
+
<th><nobr>表具类型</nobr></th>
|
|
212
|
+
<th><nobr>表描述</nobr></th>
|
|
213
|
+
<th><nobr>气价名称</nobr></th>
|
|
214
|
+
|
|
215
|
+
<th><nobr>用气性质</nobr></th>
|
|
216
|
+
<th><nobr>期初余额</nobr></th>
|
|
217
|
+
<th><nobr>起方</nobr></th>
|
|
218
|
+
<th><nobr>止方</nobr></th>
|
|
219
|
+
<th><nobr>期间用气量</nobr></th>
|
|
220
|
+
|
|
221
|
+
<th><nobr>期间用气金额</nobr></th>
|
|
222
|
+
<th><nobr>期间充值金额</nobr></th>
|
|
223
|
+
<th><nobr>期末余额</nobr></th>
|
|
224
|
+
<th><nobr>用气状态</nobr></th>
|
|
225
|
+
<th><nobr>是否换表</nobr></th>
|
|
226
|
+
<th><nobr>首次抄表时间</nobr></th>
|
|
227
|
+
<th><nobr>最后通讯日期</nobr></th>
|
|
228
|
+
</tr>
|
|
229
|
+
</template>
|
|
230
|
+
<template partial='body' partial='list'>
|
|
231
|
+
<tr >
|
|
232
|
+
<td style="text-align: left;"><nobr> <span @click="$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
233
|
+
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
234
|
+
<td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
235
|
+
<td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
|
|
236
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
237
|
+
|
|
238
|
+
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
239
|
+
<td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
|
|
240
|
+
<td style="text-align:center"><nobr>{{row.f_is_mgq}}</nobr></td>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
|
|
244
|
+
<th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
|
|
245
|
+
<th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
|
|
246
|
+
<th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
|
|
247
|
+
<th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
<th style="text-align:center"><nobr>{{row.f_balance}}</nobr></th>
|
|
254
|
+
<th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
|
|
255
|
+
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
256
|
+
<th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
|
|
257
|
+
<th style="text-align:center"><nobr>{{row.f_oughtfee}}</nobr></th>
|
|
258
|
+
|
|
259
|
+
<th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
|
|
260
|
+
<th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
|
|
261
|
+
<th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
|
|
262
|
+
<th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
|
|
263
|
+
<th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
|
|
264
|
+
<th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
|
|
265
|
+
</tr>
|
|
266
|
+
</template>
|
|
267
|
+
<template partial='foot'></template>
|
|
268
|
+
</data-grid>
|
|
269
|
+
</criteria-paged>
|
|
270
|
+
<table class="table-hover">
|
|
271
|
+
<tr style="position: relative" class="table-bordered">
|
|
272
|
+
<td
|
|
273
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
274
|
+
汇总信息
|
|
275
|
+
</td>
|
|
276
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
277
|
+
期间用气量: {{sumsmodel.f_oughtamount}}
|
|
278
|
+
</td>
|
|
279
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
280
|
+
期间用气金额: {{sumsmodel.f_oughtfee}}
|
|
281
|
+
</td>
|
|
282
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
283
|
+
期间充值金额: {{sumsmodel.f_collection}}
|
|
284
|
+
</td>
|
|
285
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
286
|
+
一阶气量合计: {{sumsmodel.f_stairamount1}}
|
|
287
|
+
</td>
|
|
288
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
289
|
+
一阶气费合计: {{sumsmodel.f_stair1fee}}
|
|
290
|
+
</td>
|
|
291
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
292
|
+
二阶气量合计: {{sumsmodel.f_stairamount2}}
|
|
293
|
+
</td>
|
|
294
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
295
|
+
二阶气费合计: {{sumsmodel.f_stair2fee}}
|
|
296
|
+
</td>
|
|
297
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
298
|
+
三阶气量合计: {{sumsmodel.f_stairamount3}}
|
|
299
|
+
</td>
|
|
300
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
301
|
+
三阶气费合计: {{sumsmodel.f_stair3fee}}
|
|
302
|
+
</td>
|
|
303
|
+
</tr>
|
|
304
|
+
</table>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
<div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
|
|
309
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
310
|
+
</div>
|
|
311
|
+
</template>
|
|
312
|
+
|
|
313
|
+
<script>
|
|
314
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
315
|
+
import exportConfig from './exportConfig'
|
|
316
|
+
import * as Util from '../../Util'
|
|
317
|
+
import plugins from '../../plugins/GetLoginInfoService'
|
|
318
|
+
|
|
319
|
+
let readySomething = async function (self) {
|
|
320
|
+
await self.$MagLoadParams.loadParam()
|
|
321
|
+
self.initParams()
|
|
322
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
323
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
324
|
+
}
|
|
325
|
+
export default {
|
|
326
|
+
title: '用气量统计表',
|
|
327
|
+
data () {
|
|
328
|
+
return {
|
|
329
|
+
show:false,
|
|
330
|
+
org:[this.$login.f.orgid],
|
|
331
|
+
orgcondition: ' and ss.f_orgid = ' + this.$login.f.orgid,
|
|
332
|
+
//f_filialeid: this.$login.f.f_orgid,
|
|
333
|
+
detaillist: [],
|
|
334
|
+
meterbrands: [],
|
|
335
|
+
prices: [],
|
|
336
|
+
gasproperties:[],
|
|
337
|
+
condition:'',
|
|
338
|
+
rowdata:{},
|
|
339
|
+
getstart:'',
|
|
340
|
+
config: {
|
|
341
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
|
|
342
|
+
'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
|
|
343
|
+
},
|
|
344
|
+
sumsmodel: {},
|
|
345
|
+
orgid:[this.$login.f.orgid],
|
|
346
|
+
criteriaShow:false,
|
|
347
|
+
showdetail:false,
|
|
348
|
+
//默认打印列
|
|
349
|
+
defaultfield: [],
|
|
350
|
+
orgCondtionStr: '',
|
|
351
|
+
model: new PagedList('api/af-revenue/sql/newGasStatisticsQuery', 50,{
|
|
352
|
+
startDate: 'this.model.startDate',
|
|
353
|
+
endDate: 'this.model.endDate'
|
|
354
|
+
},{
|
|
355
|
+
f_oughtamount: 0,
|
|
356
|
+
f_oughtfee: 0,
|
|
357
|
+
f_collection:0,
|
|
358
|
+
f_stairamount1:0,
|
|
359
|
+
f_stair1fee:0,
|
|
360
|
+
f_stairamount2:0,
|
|
361
|
+
f_stair2fee:0,
|
|
362
|
+
f_stairamount3:0,
|
|
363
|
+
f_stair3fee:0
|
|
364
|
+
}),
|
|
365
|
+
showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
ready () {
|
|
369
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
370
|
+
readySomething(this).then(() => {
|
|
371
|
+
this.$emit('ready')
|
|
372
|
+
}).catch((error) => {
|
|
373
|
+
this.$emit('error', error)
|
|
374
|
+
})
|
|
375
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
376
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
377
|
+
this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
|
|
378
|
+
this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
|
|
379
|
+
},
|
|
380
|
+
methods: {
|
|
381
|
+
initParams() {
|
|
382
|
+
// 初始化气表品牌
|
|
383
|
+
let brandArr = []
|
|
384
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
385
|
+
if (item.value.f_meter_type==='物联网表'){
|
|
386
|
+
let temp = {}
|
|
387
|
+
temp.label = item.label
|
|
388
|
+
temp.value = item.value.f_meter_brand
|
|
389
|
+
brandArr.push(temp)
|
|
390
|
+
}
|
|
391
|
+
})
|
|
392
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
393
|
+
//初始化气表价格
|
|
394
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
395
|
+
},
|
|
396
|
+
async updateParams() {
|
|
397
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
398
|
+
this.initParams()
|
|
399
|
+
},
|
|
400
|
+
getorg(obj) {
|
|
401
|
+
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
402
|
+
this.orgcondition = " and ss.f_orgid in " + plugins.convertToIn(obj)
|
|
403
|
+
}else{
|
|
404
|
+
this.orgcondition = " and ss.f_orgid = " + this.$login.f.orgid
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
userTypeChange () {
|
|
408
|
+
this.gasproperties=[]
|
|
409
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
410
|
+
this.$refs.paged.$refs.criteria.model.f_gasproperties=''
|
|
411
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
412
|
+
}
|
|
413
|
+
else{
|
|
414
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
hidden(){
|
|
418
|
+
this.criteriaShow = !this.criteriaShow
|
|
419
|
+
},
|
|
420
|
+
cancel() {
|
|
421
|
+
this.showdetail = false
|
|
422
|
+
},
|
|
423
|
+
clearmsg () {
|
|
424
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
425
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
426
|
+
})
|
|
427
|
+
},
|
|
428
|
+
getRes (obj) {
|
|
429
|
+
this.orgCondtionStr = condition
|
|
430
|
+
this.orgname = obj.orgnames[0]
|
|
431
|
+
this.depname = obj.depnames[0]
|
|
432
|
+
},
|
|
433
|
+
showmsg(obj){
|
|
434
|
+
this.rowdata=obj
|
|
435
|
+
this.showdetail=true
|
|
436
|
+
},
|
|
437
|
+
|
|
438
|
+
search (args) {
|
|
439
|
+
args.condition = `${args.condition}`+this.orgcondition
|
|
440
|
+
this.condition = args.condition
|
|
441
|
+
this.model.search(args.condition, args.model)
|
|
442
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
443
|
+
// args.condition = `${args.condition}`
|
|
444
|
+
// if (this.orgcondition)
|
|
445
|
+
// args.condition = `${args.condition}` + this.orgcondition
|
|
446
|
+
// else
|
|
447
|
+
// args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
|
|
448
|
+
// this.model.search(args.condition, args.model)
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
watch: {
|
|
452
|
+
'model.rows'(val) {
|
|
453
|
+
//如果有合计 这里为true, 其他为false ,反正相反
|
|
454
|
+
this.showbottomsum=true;
|
|
455
|
+
if(val.length === 0){
|
|
456
|
+
this.sumsmodel = {}
|
|
457
|
+
this.showbottomsum=false;
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
'orgCondtionStr'(val) {
|
|
461
|
+
let res = val.match(/'(.*?)'/)
|
|
462
|
+
console.log('正则提取:',res && res[1])
|
|
463
|
+
if (res) {
|
|
464
|
+
this.f_filialeid = res[1]
|
|
465
|
+
// this.updateParams()
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
computed: {
|
|
470
|
+
getstart(){
|
|
471
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
|
|
472
|
+
},
|
|
473
|
+
getPricenames() {
|
|
474
|
+
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
475
|
+
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
476
|
+
let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
|
|
477
|
+
console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
|
|
478
|
+
console.log("查看f_orgid:",this.$login.f.f_orgid)
|
|
479
|
+
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
480
|
+
let rs = []
|
|
481
|
+
let priceArr = []
|
|
482
|
+
if ( pricetype.length >0) {
|
|
483
|
+
let params = {
|
|
484
|
+
f_price_type: pricetype[0],
|
|
485
|
+
filter: this.org[0],
|
|
486
|
+
prices: this.prices
|
|
487
|
+
}
|
|
488
|
+
console.log("打印一下params:",params)
|
|
489
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
490
|
+
console.log("====================================》")
|
|
491
|
+
let temp = {}
|
|
492
|
+
temp.label = item.label
|
|
493
|
+
temp.value = item.value.f_price_name
|
|
494
|
+
priceArr.push(temp)
|
|
495
|
+
console.log("打印一下temp:",temp)
|
|
496
|
+
})
|
|
497
|
+
|
|
498
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
499
|
+
}
|
|
500
|
+
if (rs.length === 0) {
|
|
501
|
+
console.log('rs读出来是空')
|
|
502
|
+
this.$refs.paged.$refs.criteria.model.f_price_name = ''
|
|
503
|
+
}
|
|
504
|
+
return rs
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
getfield () {
|
|
508
|
+
return exportConfig.GasStatistics
|
|
509
|
+
},
|
|
510
|
+
usertypes() {
|
|
511
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
512
|
+
},
|
|
513
|
+
mgq(){
|
|
514
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('是否煤改气')]
|
|
515
|
+
},
|
|
516
|
+
gasproperties() {
|
|
517
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
518
|
+
},
|
|
519
|
+
pricetypes() {
|
|
520
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
521
|
+
},
|
|
522
|
+
tableState() {
|
|
523
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
524
|
+
},
|
|
525
|
+
gasState() {
|
|
526
|
+
return [{label:'正常', value:'正常'},
|
|
527
|
+
{label:'异常', value:'异常'},
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
isChange() {
|
|
531
|
+
return [{label:'是', value:'是'},
|
|
532
|
+
{label:'否', value:'否'},
|
|
533
|
+
]
|
|
534
|
+
},
|
|
535
|
+
getCondition () {
|
|
536
|
+
// var con = ""
|
|
537
|
+
// if (this.orgCondtionStr) {
|
|
538
|
+
// con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
|
|
539
|
+
// }
|
|
540
|
+
// else {
|
|
541
|
+
// con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
|
|
542
|
+
// }
|
|
543
|
+
return {
|
|
544
|
+
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
545
|
+
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
546
|
+
condition: this.condition
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
</script>
|
|
552
|
+
|
|
553
|
+
<style>
|
|
554
|
+
.showbottom{
|
|
555
|
+
height:95%
|
|
556
|
+
}
|
|
557
|
+
</style>
|
|
558
|
+
|
|
@@ -12,6 +12,7 @@ export default function () {
|
|
|
12
12
|
Vue.component('work-order-page', (resolve) => { require(['./CallReport/WorkOrderPage'], resolve) })
|
|
13
13
|
// 完成率
|
|
14
14
|
Vue.component('percentage-complete', (resolve) => { require(['./CallReport/PercentageComplete'], resolve) })
|
|
15
|
+
//
|
|
15
16
|
Vue.component('percentage-complete-echart', (resolve) => { require(['./CallReport/PercentageCompleteEchart'], resolve) })
|
|
16
17
|
// 用户信息
|
|
17
18
|
Vue.component('userinfo', (resolve) => { require(['./CallReport/Userinfo'], resolve) })
|
|
@@ -28,7 +29,5 @@ export default function () {
|
|
|
28
29
|
// 补卡查询
|
|
29
30
|
Vue.component('fill-card-query', (resolve) => { require(['./FillCardQuery'], resolve) })
|
|
30
31
|
// 收费查询
|
|
31
|
-
Vue.component('charge-query', (resolve) => {
|
|
32
|
-
require(['./ChargeQuery'], resolve)
|
|
33
|
-
})
|
|
32
|
+
Vue.component('charge-query', (resolve) => { require(['./ChargeQuery'], resolve) })
|
|
34
33
|
}
|
|
@@ -10,4 +10,6 @@ export default function () {
|
|
|
10
10
|
Vue.component('user-lost-contact-analysis', (resolve) => { require(['./UserLostContactAnalysis'], resolve) })
|
|
11
11
|
// 异常
|
|
12
12
|
Vue.component('meter-exception-list', (resolve) => { require(['./MeterExceptionList'], resolve) })
|
|
13
|
+
// 物联网表用气量统计表新
|
|
14
|
+
Vue.component('new-use-gas-statistics', (resolve) => { require(['./NewGasStatistics'], resolve) })
|
|
13
15
|
}
|
|
Binary file
|
|
File without changes
|