manage-client 4.1.157 → 4.1.159
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/filiale/shiquan/InspectListUser.vue +38 -2
- package/src/filiale/tongchuan/ChargeQuery.vue +3 -3
- package/src/filiale/tongchuan/GasInspection.vue +4 -4
- package/src/filiale/tongchuan/HandplanQuery.vue +3 -3
- package/src/filiale/tongchuan/InspectListGas.vue +7 -7
- package/src/filiale/tongchuan/InspectListUser.vue +7 -7
- package/src/filiale/tongchuan/MeterQuery.vue +3 -3
- package/src/filiale/tongchuan/RecordInfoQuery.vue +4 -4
- package/src/filiale/tongchuan/UserQuery.vue +7 -5
- package/src/filiale/tongchuan/config/exportConfig.js +6 -6
- package/src/filiale/wuhai/UserGasList.vue +391 -277
package/package.json
CHANGED
|
@@ -167,6 +167,19 @@
|
|
|
167
167
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
168
168
|
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
169
169
|
</div>
|
|
170
|
+
<div class="col-sm-2 form-group">
|
|
171
|
+
<label class="font_normal_body"> 小区 </label>
|
|
172
|
+
<v-select :value.sync="model.f_residential_area_id"
|
|
173
|
+
class="select_list select"
|
|
174
|
+
enter-push :disabled="$parent.$parent.isAreaShow"
|
|
175
|
+
v-model="model.f_residential_area_id"
|
|
176
|
+
multiple="true"
|
|
177
|
+
@select-search="$parent.$parent.getAreaList"
|
|
178
|
+
:options='$parent.$parent.residentialArea'
|
|
179
|
+
placeholder='小区'
|
|
180
|
+
condition="f_residential_area_id in {}">
|
|
181
|
+
</v-select>
|
|
182
|
+
</div>
|
|
170
183
|
<div class="col-sm-2 form-group">
|
|
171
184
|
<label class="font_normal_body">客户电话</label>
|
|
172
185
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
@@ -406,7 +419,7 @@
|
|
|
406
419
|
/**
|
|
407
420
|
*用户档案查询列表以及添加操作组件
|
|
408
421
|
*/
|
|
409
|
-
import { PagedList
|
|
422
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
410
423
|
import Vue from 'vue'
|
|
411
424
|
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
412
425
|
|
|
@@ -442,6 +455,8 @@
|
|
|
442
455
|
sqlName:'inspectList',
|
|
443
456
|
rowdata:{},
|
|
444
457
|
sumsmodel: {},
|
|
458
|
+
//小区
|
|
459
|
+
residentialArea: [],
|
|
445
460
|
config: {
|
|
446
461
|
defaultPrint: ['f_userinfo_code','f_user_id']
|
|
447
462
|
},
|
|
@@ -513,7 +528,7 @@
|
|
|
513
528
|
}
|
|
514
529
|
},
|
|
515
530
|
ready () {
|
|
516
|
-
|
|
531
|
+
this.getAreaList()
|
|
517
532
|
readySomething(this).then(() => {
|
|
518
533
|
this.$emit('ready')
|
|
519
534
|
}).catch((error) => {
|
|
@@ -600,6 +615,27 @@
|
|
|
600
615
|
this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
|
|
601
616
|
}
|
|
602
617
|
},
|
|
618
|
+
getAreaList (searchText) {
|
|
619
|
+
let condition = `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
|
|
620
|
+
if (searchText) {
|
|
621
|
+
condition = condition + ` and f_residential_area like '%${searchText}%' `
|
|
622
|
+
}
|
|
623
|
+
let HttpReset = new HttpResetClass()
|
|
624
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist?pageNo=1&pageSize=100', {
|
|
625
|
+
data: {
|
|
626
|
+
condition: condition
|
|
627
|
+
}
|
|
628
|
+
}, {resolveMsg: null, rejectMsg: '获取小区信息失败!'}).then((req) => {
|
|
629
|
+
let redata = []
|
|
630
|
+
req.data.forEach((row, n) => {
|
|
631
|
+
redata[n] = {
|
|
632
|
+
label: row.f_residential_area,
|
|
633
|
+
value: row.id
|
|
634
|
+
}
|
|
635
|
+
})
|
|
636
|
+
this.residentialArea = [{label: '全部', value: ''}, ...redata]
|
|
637
|
+
})
|
|
638
|
+
},
|
|
603
639
|
userTypeChange () {
|
|
604
640
|
this.gasproperties=[]
|
|
605
641
|
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
close-on-select></v-select>
|
|
393
393
|
</div>
|
|
394
394
|
<div class="col-sm-2 form-group">
|
|
395
|
-
<label class="font_normal_body"
|
|
395
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
396
396
|
<v-select :value.sync="model.f_is_empty"
|
|
397
397
|
:options='$parent.$parent.isempty'
|
|
398
398
|
placeholder='请选择'
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
<th><nobr>是否煤改气</nobr></th>
|
|
607
607
|
<th><nobr>是否空置户</nobr></th>
|
|
608
608
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
609
|
-
<th><nobr
|
|
609
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
610
610
|
<th><nobr>附件</nobr></th>
|
|
611
611
|
</tr>
|
|
612
612
|
</template>
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
1043
1043
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
1044
1044
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
1045
|
-
isempty:
|
|
1045
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
1046
1046
|
tempfalg :false,
|
|
1047
1047
|
lastorgstr:'',
|
|
1048
1048
|
// pos设备列表
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
close-on-select></v-select>
|
|
290
290
|
</div>
|
|
291
291
|
<div class="col-sm-2 form-group">
|
|
292
|
-
<label class="font_normal_body"
|
|
292
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
293
293
|
<v-select :value.sync="model.f_is_empty"
|
|
294
294
|
:options='$parent.$parent.isempty'
|
|
295
295
|
placeholder='请选择'
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
<th><nobr>是否煤改气</nobr></th>
|
|
340
340
|
<th><nobr>是否空置户</nobr></th>
|
|
341
341
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
342
|
-
<th><nobr
|
|
342
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
343
343
|
</tr>
|
|
344
344
|
</template>
|
|
345
345
|
<template partial='body'>
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
498
498
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
499
499
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
500
|
-
isempty:
|
|
500
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
501
501
|
meterbrands: [],
|
|
502
502
|
// 表册片区
|
|
503
503
|
bookSlice:[],
|
|
@@ -800,7 +800,7 @@
|
|
|
800
800
|
'f_is_mgq': '是否煤改气',
|
|
801
801
|
'f_is_vacant': '是否空置户',
|
|
802
802
|
'f_is_alone': '是否孤寡老人',
|
|
803
|
-
'f_is_empty': '
|
|
803
|
+
'f_is_empty': '客户最新状态'
|
|
804
804
|
}
|
|
805
805
|
},
|
|
806
806
|
usertypes() {
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
close-on-select></v-select>
|
|
331
331
|
</div>
|
|
332
332
|
<div class="col-sm-2 form-group">
|
|
333
|
-
<label class="font_normal_body"
|
|
333
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
334
334
|
<v-select :value.sync="model.f_is_empty"
|
|
335
335
|
:options='$parent.$parent.isempty'
|
|
336
336
|
placeholder='请选择'
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
<th><nobr>是否煤改气</nobr></th>
|
|
469
469
|
<th><nobr>是否空置户</nobr></th>
|
|
470
470
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
471
|
-
<th><nobr
|
|
471
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
472
472
|
<th>
|
|
473
473
|
<nobr>抄表状态</nobr>
|
|
474
474
|
</th>
|
|
@@ -860,7 +860,7 @@
|
|
|
860
860
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
861
861
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
862
862
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
863
|
-
isempty:
|
|
863
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
864
864
|
imgshow:false,
|
|
865
865
|
imgfilename:'',
|
|
866
866
|
percent:0,
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
close-on-select></v-select>
|
|
320
320
|
</div>
|
|
321
321
|
<div class="col-sm-2 form-group">
|
|
322
|
-
<label class="font_normal_body"
|
|
322
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
323
323
|
<v-select :value.sync="model.f_is_empty"
|
|
324
324
|
:options='$parent.$parent.isempty'
|
|
325
325
|
placeholder='请选择'
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
<th><nobr>是否煤改气</nobr></th>
|
|
370
370
|
<th><nobr>是否空置户</nobr></th>
|
|
371
371
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
372
|
-
<th><nobr
|
|
372
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
373
373
|
</tr>
|
|
374
374
|
</template>
|
|
375
375
|
<template partial='body'>
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
"f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
|
|
476
476
|
"delivery_date":"最后购气日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
477
477
|
"f_changemeter_date":"最后一次换表时间","sellcishu":"期间购气次数","sellpregas":"期间购气量","f_orgname":"组织机构",
|
|
478
|
-
"f_is_mgq": "是否煤改气", "f_is_empty": "
|
|
478
|
+
"f_is_mgq": "是否煤改气", "f_is_empty": "客户最新状态", "f_is_vacant": "是否空置户", "f_is_alone": "是否孤寡老人"},
|
|
479
479
|
model: new PagedList('api/af-revenue/sql/inspectList_sellinggas', 50,{},{sellpregas: 0}),
|
|
480
480
|
rows: null,
|
|
481
481
|
//orgid:'',
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
497
497
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
498
498
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
499
|
-
isempty:
|
|
499
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : []
|
|
500
500
|
}
|
|
501
501
|
},
|
|
502
502
|
watch:{
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
"delivery_date":"最后购气日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
517
517
|
"f_changemeter_date":"最后一次换表时间",
|
|
518
518
|
"sellcishu":"期间购气次数","sellpregas":"期间购气量","f_orgname":"组织机构",
|
|
519
|
-
"f_is_mgq": "是否煤改气", "f_is_empty": "
|
|
519
|
+
"f_is_mgq": "是否煤改气", "f_is_empty": "客户最新状态", "f_is_vacant": "是否空置户", "f_is_alone": "是否孤寡老人"}
|
|
520
520
|
}if(val == '物联网表'){
|
|
521
521
|
this.url = 'api/af-revenue/sql/getwulw_listgas'
|
|
522
522
|
this.sqlName = 'getwulw_listgas'
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
"delivery_date":"最后购气日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
527
527
|
"f_changemeter_date":"最后一次换表时间",
|
|
528
528
|
"sellcishu":"期间购气次数","sellpregas":"期间购气量","f_orgname":"组织机构",
|
|
529
|
-
"f_is_mgq": "是否煤改气", "f_is_empty": "
|
|
529
|
+
"f_is_mgq": "是否煤改气", "f_is_empty": "客户最新状态", "f_is_vacant": "是否空置户", "f_is_alone": "是否孤寡老人"}
|
|
530
530
|
}
|
|
531
531
|
if(val == '机表'){
|
|
532
532
|
this.url = 'api/af-revenue/sql/handinspectList_sellinggas'
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
"delivery_date":"最后抄表日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
538
538
|
"f_changemeter_date":"最后一次换表时间",
|
|
539
539
|
"sellcishu":"期间抄表次数","sellpregas":"期间抄表气量","f_orgname":"组织机构",
|
|
540
|
-
"f_is_mgq": "是否煤改气", "f_is_empty": "
|
|
540
|
+
"f_is_mgq": "是否煤改气", "f_is_empty": "客户最新状态", "f_is_vacant": "是否空置户", "f_is_alone": "是否孤寡老人"}
|
|
541
541
|
}
|
|
542
542
|
this.clear()
|
|
543
543
|
}
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
close-on-select></v-select>
|
|
232
232
|
</div>
|
|
233
233
|
<div class="col-sm-2 form-group">
|
|
234
|
-
<label class="font_normal_body"
|
|
234
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
235
235
|
<v-select :value.sync="model.f_is_empty"
|
|
236
236
|
:options='$parent.$parent.isempty'
|
|
237
237
|
placeholder='请选择'
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
<th><nobr>是否煤改气</nobr></th>
|
|
280
280
|
<th><nobr>是否空置户</nobr></th>
|
|
281
281
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
282
|
-
<th><nobr
|
|
282
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
283
283
|
</tr>
|
|
284
284
|
</template>
|
|
285
285
|
<template partial='body'>
|
|
@@ -512,7 +512,7 @@ export default {
|
|
|
512
512
|
"delivery_date":"区间内最后购气日期","cishu":"区间内购气次数","pregas":"区间内购气量","collection":"区间内购气金额",
|
|
513
513
|
"diffday":"区间内未购气天数","f_checknum":"安检次数","f_last_check_date":"最后安检日期",
|
|
514
514
|
"f_is_mgq": "是否煤改气",
|
|
515
|
-
"f_is_empty": "
|
|
515
|
+
"f_is_empty": "客户最新状态",
|
|
516
516
|
"f_is_vacant": "是否空置户",
|
|
517
517
|
"f_is_alone": "是否孤寡老人"},
|
|
518
518
|
model: new PagedList('api/af-revenue/sql/inspectList', 50,{startDate:'this.model.startDate',endDate:'this.model.endDate'},{pregas: 0}),
|
|
@@ -547,7 +547,7 @@ export default {
|
|
|
547
547
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
548
548
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
549
549
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
550
|
-
isempty:
|
|
550
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
551
551
|
batchQuotaModalShow: false,
|
|
552
552
|
defaultfield: [],
|
|
553
553
|
}
|
|
@@ -578,7 +578,7 @@ export default {
|
|
|
578
578
|
"f_checknum": "安检次数",
|
|
579
579
|
"f_last_check_date": "最后安检日期",
|
|
580
580
|
"f_is_mgq": "是否煤改气",
|
|
581
|
-
"f_is_empty": "
|
|
581
|
+
"f_is_empty": "客户最新状态",
|
|
582
582
|
"f_is_vacant": "是否空置户",
|
|
583
583
|
"f_is_alone": "是否孤寡老人"
|
|
584
584
|
}
|
|
@@ -607,7 +607,7 @@ export default {
|
|
|
607
607
|
"f_checknum": "安检次数",
|
|
608
608
|
"f_last_check_date": "最后安检日期",
|
|
609
609
|
"f_is_mgq": "是否煤改气",
|
|
610
|
-
"f_is_empty": "
|
|
610
|
+
"f_is_empty": "客户最新状态",
|
|
611
611
|
"f_is_vacant": "是否空置户",
|
|
612
612
|
"f_is_alone": "是否孤寡老人"
|
|
613
613
|
}
|
|
@@ -636,7 +636,7 @@ export default {
|
|
|
636
636
|
"f_checknum": "安检次数",
|
|
637
637
|
"f_last_check_date": "最后安检日期",
|
|
638
638
|
"f_is_mgq": "是否煤改气",
|
|
639
|
-
"f_is_empty": "
|
|
639
|
+
"f_is_empty": "客户最新状态",
|
|
640
640
|
"f_is_vacant": "是否空置户",
|
|
641
641
|
"f_is_alone": "是否孤寡老人"
|
|
642
642
|
}
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
close-on-select></v-select>
|
|
337
337
|
</div>
|
|
338
338
|
<div class="col-sm-2 form-group">
|
|
339
|
-
<label class="font_normal_body"
|
|
339
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
340
340
|
<v-select :value.sync="model.f_is_empty"
|
|
341
341
|
:options='$parent.$parent.isempty'
|
|
342
342
|
placeholder='请选择'
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
<th><nobr>是否煤改气</nobr></th>
|
|
430
430
|
<th><nobr>是否空置户</nobr></th>
|
|
431
431
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
432
|
-
<th><nobr
|
|
432
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
433
433
|
</tr>
|
|
434
434
|
</template>
|
|
435
435
|
<template partial='body'>
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
661
661
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
662
662
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
663
|
-
isempty:
|
|
663
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
664
664
|
usetype:this.$appdata.getParam('使用类型'),
|
|
665
665
|
userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : []
|
|
666
666
|
}
|
|
@@ -566,10 +566,10 @@
|
|
|
566
566
|
close-on-select></v-select>
|
|
567
567
|
</div>
|
|
568
568
|
<div class="col-sm-2 form-group">
|
|
569
|
-
<label class="font_normal_body"
|
|
569
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
570
570
|
<v-select :value.sync="model.f_is_empty"
|
|
571
571
|
:options='$parent.$parent.isempty'
|
|
572
|
-
placeholder='
|
|
572
|
+
placeholder='客户最新状态'
|
|
573
573
|
v-model="model.f_is_empty"
|
|
574
574
|
condition="f_is_empty = '{}'"
|
|
575
575
|
close-on-select></v-select>
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
<th><nobr>是否煤改气</nobr></th>
|
|
737
737
|
<th><nobr>是否空置户</nobr></th>
|
|
738
738
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
739
|
-
<th><nobr
|
|
739
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
740
740
|
<th><nobr>是否发放天然气使用证</nobr></th>
|
|
741
741
|
|
|
742
742
|
<th><nobr>使用类型</nobr></th>
|
|
@@ -1063,7 +1063,7 @@
|
|
|
1063
1063
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
1064
1064
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
1065
1065
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
1066
|
-
isempty:
|
|
1066
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
1067
1067
|
networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
|
|
1068
1068
|
}
|
|
1069
1069
|
},
|
|
@@ -343,10 +343,10 @@
|
|
|
343
343
|
close-on-select></v-select>
|
|
344
344
|
</div>
|
|
345
345
|
<div class="col-sm-2 form-group">
|
|
346
|
-
<label class="font_normal_body"
|
|
346
|
+
<label class="font_normal_body">客户最新状态</label>
|
|
347
347
|
<v-select :value.sync="model.f_is_empty"
|
|
348
348
|
:options='$parent.$parent.isempty'
|
|
349
|
-
placeholder='
|
|
349
|
+
placeholder='客户最新状态'
|
|
350
350
|
v-model="model.f_is_empty"
|
|
351
351
|
condition="f_is_empty = '{}'"
|
|
352
352
|
close-on-select></v-select>
|
|
@@ -381,6 +381,7 @@
|
|
|
381
381
|
<data-order field="f_address" name="客户地址"
|
|
382
382
|
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
383
383
|
</th>
|
|
384
|
+
<th><nobr>客户最新状态</nobr></th>
|
|
384
385
|
<th>
|
|
385
386
|
<nobr>小区</nobr>
|
|
386
387
|
</th>
|
|
@@ -438,7 +439,7 @@
|
|
|
438
439
|
<th><nobr>是否煤改气</nobr></th>
|
|
439
440
|
<th><nobr>是否空置户</nobr></th>
|
|
440
441
|
<th><nobr>是否孤寡老人</nobr></th>
|
|
441
|
-
|
|
442
|
+
|
|
442
443
|
<!-- <th>-->
|
|
443
444
|
<!-- <nobr>部门</nobr>-->
|
|
444
445
|
<!-- </th>-->
|
|
@@ -469,6 +470,7 @@
|
|
|
469
470
|
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
470
471
|
<nobr>{{row.f_address}}</nobr>
|
|
471
472
|
</td>
|
|
473
|
+
<th style="text-align: center;"><nobr>{{row.f_is_empty}}</nobr></th>
|
|
472
474
|
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
473
475
|
<nobr>{{row.f_residential_area}}</nobr>
|
|
474
476
|
</td>
|
|
@@ -526,7 +528,7 @@
|
|
|
526
528
|
<th style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></th>
|
|
527
529
|
<th style="text-align: center;"><nobr>{{row.f_is_vacant}}</nobr></th>
|
|
528
530
|
<th style="text-align: center;"><nobr>{{row.f_is_alone}}</nobr></th>
|
|
529
|
-
|
|
531
|
+
|
|
530
532
|
<!-- <td style="text-align: center;">-->
|
|
531
533
|
<!-- <nobr>{{row.f_depname}}</nobr>-->
|
|
532
534
|
<!-- </td>-->
|
|
@@ -657,7 +659,7 @@
|
|
|
657
659
|
ismgq: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
658
660
|
isvacant: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
659
661
|
isalone: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
660
|
-
isempty:
|
|
662
|
+
isempty: this.$appdata.getParam('客户最新状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户最新状态')] : [],
|
|
661
663
|
weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
|
|
662
664
|
//小区
|
|
663
665
|
residentialArea: [],
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
export default{
|
|
3
3
|
// 把打印需要默认选中的字段名放在config数组中
|
|
4
4
|
userConfig: { 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_user_phone': '客户电话',
|
|
5
|
-
'f_idnumber': '身份证号', 'f_balance': '账户余额', 'f_address': '客户地址', 'f_residential_area': '小区',
|
|
5
|
+
'f_idnumber': '身份证号', 'f_balance': '账户余额', 'f_address': '客户地址', 'f_is_empty': '客户最新状态', 'f_residential_area': '小区',
|
|
6
6
|
'f_building': '楼栋', 'f_unit': '单元', 'f_floor': '楼层', 'f_room': '门牌号',
|
|
7
7
|
'f_user_state': '客户状态', 'f_createfile_date': '建档日期', 'f_open_date': '户档案开户日期', 'f_open_date_uf': '户档案开户日期', 'f_createfile_person': '建档人', 'f_comments': '备注',
|
|
8
8
|
'f_bank_accopen': '银行户名', 'f_bank_name': '银行名称', 'f_bank_account': '银行账号', 'f_inputtor': '抄表员',
|
|
9
9
|
'f_bank_idnumber': '银行身份证号', 'f_bank_pay_number': '缴费编号', 'f_gas_date': '点火时间', 'isbgl': '是否壁挂炉',
|
|
10
|
-
'f_is_mgq': '是否煤改气', '
|
|
10
|
+
'f_is_mgq': '是否煤改气', 'f_is_vacant': '是否空置户', 'f_is_alone': '是否孤寡老人'
|
|
11
11
|
},
|
|
12
12
|
// 操作记录查询
|
|
13
13
|
recordConfig: {
|
|
@@ -35,7 +35,7 @@ export default{
|
|
|
35
35
|
'value': '气价详情', 'f_meter_brand': '气表品牌', 'f_meter_style': '气表型号',
|
|
36
36
|
'f_gas_person': '通气人', 'f_gas_date': '通气时间', 'f_input_date': '建表时间', 'f_table_state': '气表状态', 'isbgl': '是否壁挂炉', 'f_inputtor': '抄表员', 'f_book_name': '抄表册',
|
|
37
37
|
'f_user_state': '客户状态',
|
|
38
|
-
'f_is_mgq': '是否煤改气', 'f_is_empty': '
|
|
38
|
+
'f_is_mgq': '是否煤改气', 'f_is_empty': '客户最新状态', 'f_is_vacant': '是否空置户', 'f_is_alone': '是否孤寡老人'
|
|
39
39
|
},
|
|
40
40
|
ResidentialQuery: {
|
|
41
41
|
'f_residential_area': '小区', 'hushu': '户数', 'xinhushu': '新建户数', 'f_oughtfee': '用气金额', 'f_oughtamount': '用气量',
|
|
@@ -74,7 +74,7 @@ export default{
|
|
|
74
74
|
'f_yucun': '预存金额', 'f_card_id': '卡号', 'f_stairamount1': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
|
|
75
75
|
'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
|
|
76
76
|
'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_inputtor': '抄表员', 'f_serial_id': '流水号', 'f_tax_logotype': '是否征税', 'f_terminal_num': '终端号',
|
|
77
|
-
'f_is_mgq': '是否煤改气', 'f_is_empty': '
|
|
77
|
+
'f_is_mgq': '是否煤改气', 'f_is_empty': '客户最新状态', 'f_is_vacant': '是否空置户', 'f_is_alone': '是否孤寡老人'
|
|
78
78
|
},
|
|
79
79
|
pricetypeGasConfig: {
|
|
80
80
|
'f_price': '价格类型', 'f_gas': '当日售气量', 'f_money': '当日售气金额'
|
|
@@ -234,7 +234,7 @@ export default{
|
|
|
234
234
|
'latest_f_pregas': '最后购气量',
|
|
235
235
|
'latest_f_collection': '最后购气金额',
|
|
236
236
|
'f_max_operate_date': '最后购气日期',
|
|
237
|
-
'f_is_empty': '
|
|
237
|
+
'f_is_empty': '客户最新状态', 'f_is_vacant': '是否空置户', 'f_is_alone': '是否孤寡老人'
|
|
238
238
|
},
|
|
239
239
|
|
|
240
240
|
compreConfigGY: {
|
|
@@ -322,7 +322,7 @@ export default{
|
|
|
322
322
|
'f_stair1amount': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
|
|
323
323
|
'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
|
|
324
324
|
'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_rest_date': '所属年月',
|
|
325
|
-
'f_is_mgq': '是否煤改气', 'f_is_empty': '
|
|
325
|
+
'f_is_mgq': '是否煤改气', 'f_is_empty': '客户最新状态', 'f_is_vacant': '是否空置户', 'f_is_alone': '是否孤寡老人'
|
|
326
326
|
},
|
|
327
327
|
balanceConfig: {
|
|
328
328
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_balance': '期初余额', 'f_oughtfee': '期间应收',
|
|
@@ -5,6 +5,46 @@
|
|
|
5
5
|
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
|
|
6
6
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
7
|
<div class="row">
|
|
8
|
+
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">客户编号</label>
|
|
11
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
12
|
+
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
13
|
+
condition="u.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
14
|
+
>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-2 form-group">
|
|
17
|
+
<label class="font_normal_body">客户名称</label>
|
|
18
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
19
|
+
v-model="model.f_username" placeholder='客户名称'
|
|
20
|
+
condition="u.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-2 form-group">
|
|
23
|
+
<label class="font_normal_body">客户地址</label>
|
|
24
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
25
|
+
v-model="model.f_address" placeholder='地址'
|
|
26
|
+
condition="a.f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
27
|
+
>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label class="font_normal_body">表  号</label>
|
|
31
|
+
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
32
|
+
v-model="model.f_meternumber" placeholder='表钢号'
|
|
33
|
+
condition="uf.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
34
|
+
>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="span" style="float:right;margin-top:10px">
|
|
37
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
38
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
39
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
40
|
+
:field="$parent.$parent.getfield"
|
|
41
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeter_getNewHandChanceList" template-name='抄表分析'
|
|
42
|
+
:choose-col="true"></export-excel>
|
|
43
|
+
<button class="button_export button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
44
|
+
<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>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
8
48
|
<div class="col-sm-2 form-group">
|
|
9
49
|
<label class="font_normal_body">公  司</label>
|
|
10
50
|
<right-tree @re-res="$parent.$parent.getRes"
|
|
@@ -16,6 +56,9 @@
|
|
|
16
56
|
<!-- restype='organization'>-->
|
|
17
57
|
<!-- </res-select>-->
|
|
18
58
|
</div>
|
|
59
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
60
|
+
|
|
61
|
+
<!-- <res-select-group :initres="$parent.$parent.initres" :show-component="['company']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
19
62
|
<div class="col-sm-2 form-group">
|
|
20
63
|
<label class="font_normal_body">用户类型</label>
|
|
21
64
|
<v-select style="width:60%" id="f_user_type"
|
|
@@ -28,6 +71,17 @@
|
|
|
28
71
|
close-on-select>
|
|
29
72
|
</v-select>
|
|
30
73
|
</div>
|
|
74
|
+
<div class="col-sm-2 form-group">
|
|
75
|
+
<label class="font_normal_body">用气性质</label>
|
|
76
|
+
<v-select style="width:60%" id="f_gasproperties"
|
|
77
|
+
v-model="model.f_gasproperties"
|
|
78
|
+
placeholder='用气性质'
|
|
79
|
+
:value.sync="model.f_gasproperties"
|
|
80
|
+
:options='$parent.$parent.gasproperties'
|
|
81
|
+
condition="uf.f_gasproperties = '{}'"
|
|
82
|
+
close-on-select>
|
|
83
|
+
</v-select>
|
|
84
|
+
</div>
|
|
31
85
|
<div class="col-sm-2 form-group">
|
|
32
86
|
<label class="font_normal_body">气表品牌</label>
|
|
33
87
|
<v-select
|
|
@@ -41,19 +95,37 @@
|
|
|
41
95
|
v-model="model.f_meter_brand">
|
|
42
96
|
</v-select>
|
|
43
97
|
</div>
|
|
44
|
-
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
98
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
99
|
+
<!-- <label class="font_normal_body">气表品牌</label>-->
|
|
100
|
+
<!-- <v-select-->
|
|
101
|
+
<!-- placeholder='气表品牌'-->
|
|
102
|
+
<!-- :value.sync="model.f_meter_brand"-->
|
|
103
|
+
<!-- v-model="model.f_meter_brand"-->
|
|
104
|
+
<!-- :options='$parent.$parent.WarningType'-->
|
|
105
|
+
<!-- @change="$parent.$parent.getMeterType"-->
|
|
106
|
+
<!-- close-on-select-->
|
|
107
|
+
<!-- condition="gb.f_meter_brand='{}'">-->
|
|
108
|
+
<!-- </v-select>-->
|
|
109
|
+
<!-- </div>-->
|
|
110
|
+
<div class="col-sm-2 form-group" >
|
|
111
|
+
<label class="font_normal_body">气表型号</label>
|
|
112
|
+
<v-select
|
|
113
|
+
placeholder='气表型号'
|
|
114
|
+
:value.sync="model.f_meter_style"
|
|
115
|
+
v-model="model.f_meter_style"
|
|
116
|
+
:options='$parent.$parent.meterstyle[model.f_meter_brand]'
|
|
117
|
+
close-on-select
|
|
118
|
+
condition="gm.f_meter_style='{}'">
|
|
119
|
+
</v-select>
|
|
120
|
+
<!-- <v-select v-if="!$parent.$parent.styles"-->
|
|
121
|
+
<!-- placeholder='气表型号'-->
|
|
122
|
+
<!-- :value.sync="model.f_meter_style"-->
|
|
123
|
+
<!-- v-model="model.f_meter_style"-->
|
|
124
|
+
<!-- :options='$parent.$parent.Warningstyles'-->
|
|
125
|
+
<!-- close-on-select-->
|
|
126
|
+
<!-- condition="f_meter_style='{}'">-->
|
|
127
|
+
<!-- </v-select>-->
|
|
54
128
|
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
57
129
|
<div class="col-sm-2 form-group">
|
|
58
130
|
<label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
|
|
59
131
|
<datepicker style="width:60%" placeholder="起始时间"
|
|
@@ -70,6 +142,48 @@
|
|
|
70
142
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
71
143
|
></datepicker>
|
|
72
144
|
</div>
|
|
145
|
+
<div class="col-sm-2 form-group">
|
|
146
|
+
<label class="font_normal_body">气价类型</label>
|
|
147
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
148
|
+
@change="$parent.$parent.pricetypechanged"
|
|
149
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
150
|
+
close-on-select v-ref:type>
|
|
151
|
+
</v-select>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="col-sm-2 form-group">
|
|
154
|
+
<label class="font_normal_body">气价名称</label>
|
|
155
|
+
<v-select :value.sync="model.f_price_id"
|
|
156
|
+
v-model="model.f_price_id"
|
|
157
|
+
:multiple="true"
|
|
158
|
+
:options="$parent.$parent.getPricenames"
|
|
159
|
+
condition="uf.f_price_id in {}"
|
|
160
|
+
></v-select>
|
|
161
|
+
</div>
|
|
162
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
163
|
+
<!-- <label class="font_normal_body">壁 挂 炉</label>-->
|
|
164
|
+
<!-- <v-select id="f_meter_brand"-->
|
|
165
|
+
<!-- v-model="model.f_usetype"-->
|
|
166
|
+
<!-- placeholder='壁挂炉'-->
|
|
167
|
+
<!-- :value.sync="model.f_usetype"-->
|
|
168
|
+
<!-- :options='$parent.$parent.usetypes'-->
|
|
169
|
+
<!-- condition="" :search="false"-->
|
|
170
|
+
<!-- close-on-select style="width: 60%">-->
|
|
171
|
+
<!-- </v-select>-->
|
|
172
|
+
<!-- </div>-->
|
|
173
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
174
|
+
<!-- <label class="font_normal_body">房屋类型</label>-->
|
|
175
|
+
<!-- <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"-->
|
|
176
|
+
<!-- :options='$parent.$parent.houseTypes' placeholder='请选择'-->
|
|
177
|
+
<!-- close-on-select-->
|
|
178
|
+
<!-- condition=""></v-select>-->
|
|
179
|
+
<!-- </div>-->
|
|
180
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
181
|
+
<!-- <label class="font_normal_body">安装位置</label>-->
|
|
182
|
+
<!-- <v-select :value.sync="model.f_position" v-model="model.f_position"-->
|
|
183
|
+
<!-- :options='$parent.$parent.positions' placeholder='请选择'-->
|
|
184
|
+
<!-- condition=""-->
|
|
185
|
+
<!-- close-on-select></v-select>-->
|
|
186
|
+
<!-- </div>-->
|
|
73
187
|
</div>
|
|
74
188
|
</div>
|
|
75
189
|
</criteria>
|
|
@@ -80,10 +194,10 @@
|
|
|
80
194
|
<th style="text-align:center"><nobr>上报日期</nobr></th>
|
|
81
195
|
<th style="text-align:center" title="安装户数=正常户数+停用户数+未注册户数"><nobr>安装户数</nobr></th>
|
|
82
196
|
|
|
83
|
-
<!-- <th style="text-align:center" title="停用户数:表具状态为停用的用户数"><nobr>停用户数</nobr></th>-->
|
|
84
|
-
<!-- <th style="text-align:center" title="在用户数:表具状态为正常的用户数"><nobr>在用户数</nobr></th>-->
|
|
197
|
+
<!-- <th style="text-align:center" title="停用户数:表具状态为停用的用户数"><nobr>停用户数</nobr></th>-->
|
|
198
|
+
<!-- <th style="text-align:center" title="在用户数:表具状态为正常的用户数"><nobr>在用户数</nobr></th>-->
|
|
85
199
|
|
|
86
|
-
<!-- <th style="text-align:center" title="用户使用率=在用户数/正常户数"><nobr>用户使用率</nobr></th>-->
|
|
200
|
+
<!-- <th style="text-align:center" title="用户使用率=在用户数/正常户数"><nobr>用户使用率</nobr></th>-->
|
|
87
201
|
<th style="text-align:center"><nobr>抄表成功户数</nobr></th>
|
|
88
202
|
<th style="text-align:center"><nobr>总用气量</nobr></th>
|
|
89
203
|
<th style="text-align:center"><nobr>总用气金额</nobr></th>
|
|
@@ -100,10 +214,10 @@
|
|
|
100
214
|
<td style="text-align:center;width: 170px;"><nobr>{{row.f_insert_date}}</nobr></td>
|
|
101
215
|
<td style="text-align:center">{{row.anzhuang}}</td>
|
|
102
216
|
|
|
103
|
-
<!-- <th style="text-align:center">{{row.c0}}</th>-->
|
|
104
|
-
<!-- <td style="text-align:center"><nobr>{{row.c}}</nobr></td>-->
|
|
217
|
+
<!-- <th style="text-align:center">{{row.c0}}</th>-->
|
|
218
|
+
<!-- <td style="text-align:center"><nobr>{{row.c}}</nobr></td>-->
|
|
105
219
|
|
|
106
|
-
<!-- <td style="text-align:center"><nobr>{{row.user_bv}}%</nobr></td>-->
|
|
220
|
+
<!-- <td style="text-align:center"><nobr>{{row.user_bv}}%</nobr></td>-->
|
|
107
221
|
<!--<td style="text-align:center"><nobr>{{row.f_gas}}</nobr></td>-->
|
|
108
222
|
<td style="text-align:center">{{row.c1}}</td>
|
|
109
223
|
<td style="text-align:center">{{row.f_gas_all}}</td>
|
|
@@ -132,9 +246,9 @@
|
|
|
132
246
|
</tr>
|
|
133
247
|
</table>
|
|
134
248
|
</div>
|
|
135
|
-
<!-- <div style="height: 40px;width: 100%;" v-show="echarts">-->
|
|
136
|
-
<!-- <button class="button_search button_spacing" @click="showEcharts()">隐藏图表</button>-->
|
|
137
|
-
<!-- </div>-->
|
|
249
|
+
<!-- <div style="height: 40px;width: 100%;" v-show="echarts">-->
|
|
250
|
+
<!-- <button class="button_search button_spacing" @click="showEcharts()">隐藏图表</button>-->
|
|
251
|
+
<!-- </div>-->
|
|
138
252
|
|
|
139
253
|
</div>
|
|
140
254
|
<!--图显示模板-->
|
|
@@ -144,275 +258,275 @@
|
|
|
144
258
|
</div>
|
|
145
259
|
</template>
|
|
146
260
|
<script>
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
},
|
|
196
|
-
criteriaShow:false,
|
|
197
|
-
echarts: false,
|
|
198
|
-
orgCondtionStr: '(\'' + this.$login.f.orgid + '\')',
|
|
199
|
-
searchshow: false,
|
|
200
|
-
initres: {
|
|
201
|
-
org:[this.$login.f.orgid],
|
|
202
|
-
dep:[],
|
|
203
|
-
user:[]
|
|
204
|
-
},
|
|
205
|
-
zonesdata:'',
|
|
206
|
-
obj: {
|
|
207
|
-
userid: this.$login.f.id,
|
|
208
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
209
|
-
res: this.$login.f.f_fengongsi,
|
|
210
|
-
resids: this.$login.f.orgid
|
|
211
|
-
},
|
|
212
|
-
f_filialeid: this.$login.f.orgid,
|
|
213
|
-
usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}]
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
ready () {
|
|
217
|
-
readySomething(this).then(() => {
|
|
218
|
-
this.$emit('ready')
|
|
219
|
-
}).catch((error) => {
|
|
220
|
-
this.$emit('error', error)
|
|
221
|
-
})
|
|
222
|
-
},
|
|
223
|
-
methods: {
|
|
224
|
-
initQueryParam () {
|
|
225
|
-
let meters = this.$MagGetSaleParam.getGasbrand().filter(item => item.value.f_meter_type==='物联网表')
|
|
226
|
-
let arr = meters.map(res => {
|
|
227
|
-
let sty = res.value.gasmodel.map(row => {
|
|
228
|
-
return {
|
|
229
|
-
label: row.label,
|
|
230
|
-
value: row.value.f_meter_style
|
|
231
|
-
}
|
|
232
|
-
})
|
|
233
|
-
this.meterstyle[res.value.f_meter_brand] = [{label: '全部', value: ''}, ...sty]
|
|
234
|
-
return {
|
|
235
|
-
label: res.label,
|
|
236
|
-
value: res.value.f_meter_brand
|
|
237
|
-
}
|
|
238
|
-
})
|
|
239
|
-
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
240
|
-
//初始化气表价格
|
|
241
|
-
this.prices = this.$MagGetSaleParam.getPrices()
|
|
261
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
262
|
+
import UserGasEcharts from './UserGasEchartsList'
|
|
263
|
+
import * as Util from '../../Util'
|
|
264
|
+
import plugins from '../../plugins/GetLoginInfoService'
|
|
265
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
266
|
+
let readySomething = async function (self) {
|
|
267
|
+
self.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-6).substring(0,10) + ' 00:00:00'
|
|
268
|
+
self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
269
|
+
await self.$MagLoadParams.loadParam()
|
|
270
|
+
self.initQueryParam()
|
|
271
|
+
self.$refs.paged.$refs.cri.search()
|
|
272
|
+
}
|
|
273
|
+
export default {
|
|
274
|
+
title: '抄表分析',
|
|
275
|
+
props: ['data'],
|
|
276
|
+
components: {UserGasEcharts},
|
|
277
|
+
data () {
|
|
278
|
+
return {
|
|
279
|
+
resshow:['slicearea'],
|
|
280
|
+
prices: [],
|
|
281
|
+
model: new PagedList('api/af-revenue/sql/webmeter_getNewHandChanceList', 50, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},{
|
|
282
|
+
f_gas_all: 0,
|
|
283
|
+
f_fee_all: 0
|
|
284
|
+
}),
|
|
285
|
+
condition: '1=1',
|
|
286
|
+
startDate: '',
|
|
287
|
+
gasproperties:[{label: '全部', value: ''}],
|
|
288
|
+
endDate: '',
|
|
289
|
+
meterbrand: [],
|
|
290
|
+
meterstyle: {},
|
|
291
|
+
WarningType: [
|
|
292
|
+
{label: '全部', value: ''}
|
|
293
|
+
],
|
|
294
|
+
Warningstyles: [
|
|
295
|
+
{label: '全部', value: ''}
|
|
296
|
+
],
|
|
297
|
+
styles:false,
|
|
298
|
+
orgid:[this.$login.f.orgid],
|
|
299
|
+
getfield:{
|
|
300
|
+
"rownumber":"序号",
|
|
301
|
+
"f_insert_date":"上报日期",
|
|
302
|
+
"anzhuang":"安装户数",
|
|
303
|
+
"c1":"抄表成功户数",
|
|
304
|
+
"f_gas_all":"总用气量",
|
|
305
|
+
"f_fee_all":"总用气金额",
|
|
306
|
+
"f_gas":"日均户均用气量(成功)",
|
|
307
|
+
"f_gas1":"日均户均用气量(在用)",
|
|
308
|
+
"f_bv1":"抄表成功率"
|
|
242
309
|
},
|
|
243
|
-
|
|
244
|
-
|
|
310
|
+
criteriaShow:false,
|
|
311
|
+
echarts: false,
|
|
312
|
+
orgCondtionStr: '(\'' + this.$login.f.orgid + '\')',
|
|
313
|
+
searchshow: false,
|
|
314
|
+
initres: {
|
|
315
|
+
org:[this.$login.f.orgid],
|
|
316
|
+
dep:[],
|
|
317
|
+
user:[]
|
|
245
318
|
},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
319
|
+
zonesdata:'',
|
|
320
|
+
obj: {
|
|
321
|
+
userid: this.$login.f.id,
|
|
322
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
323
|
+
res: this.$login.f.f_fengongsi,
|
|
324
|
+
resids: this.$login.f.orgid
|
|
325
|
+
},
|
|
326
|
+
f_filialeid: this.$login.f.orgid,
|
|
327
|
+
usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}]
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
ready () {
|
|
331
|
+
readySomething(this).then(() => {
|
|
332
|
+
this.$emit('ready')
|
|
333
|
+
}).catch((error) => {
|
|
334
|
+
this.$emit('error', error)
|
|
335
|
+
})
|
|
336
|
+
},
|
|
337
|
+
methods: {
|
|
338
|
+
initQueryParam () {
|
|
339
|
+
let meters = this.$MagGetSaleParam.getGasbrand().filter(item => item.value.f_meter_type==='物联网表')
|
|
340
|
+
let arr = meters.map(res => {
|
|
341
|
+
let sty = res.value.gasmodel.map(row => {
|
|
342
|
+
return {
|
|
343
|
+
label: row.label,
|
|
344
|
+
value: row.value.f_meter_style
|
|
253
345
|
}
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
346
|
+
})
|
|
347
|
+
this.meterstyle[res.value.f_meter_brand] = [{label: '全部', value: ''}, ...sty]
|
|
348
|
+
return {
|
|
349
|
+
label: res.label,
|
|
350
|
+
value: res.value.f_meter_brand
|
|
258
351
|
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
352
|
+
})
|
|
353
|
+
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
354
|
+
//初始化气表价格
|
|
355
|
+
this.prices = this.$MagGetSaleParam.getPrices()
|
|
356
|
+
},
|
|
357
|
+
showMeterStyle() {
|
|
358
|
+
this.styles = true
|
|
359
|
+
},
|
|
360
|
+
userTypeChange () {
|
|
361
|
+
this.gasproperties=[{label: '全部', value: ''}]
|
|
362
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
363
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
267
364
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
this.echarts = !this.echarts
|
|
271
|
-
console.log(this.echarts)
|
|
272
|
-
},
|
|
273
|
-
close () {
|
|
274
|
-
this.show = false
|
|
275
|
-
},
|
|
276
|
-
// SaveAsFile(str) {
|
|
277
|
-
// this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
278
|
-
// if (res === 'confirm') {
|
|
279
|
-
// let style = '<style>' +
|
|
280
|
-
// 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
281
|
-
// let strHtml = style + document.getElementById(str).innerHTML;
|
|
282
|
-
// console.log(strHtml);
|
|
283
|
-
// let LODOP = getLodop();
|
|
284
|
-
// LODOP.PRINT_INIT('');
|
|
285
|
-
// LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
286
|
-
// LODOP.SAVE_TO_FILE('抄表统计.xls')
|
|
287
|
-
// }
|
|
288
|
-
// })
|
|
289
|
-
// },
|
|
290
|
-
clearmsg () {
|
|
291
|
-
this.$refs.paged.$refs.cri.model = {}
|
|
292
|
-
this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-6).substring(0,10) + ' 00:00:00'
|
|
293
|
-
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
294
|
-
},
|
|
295
|
-
search (args) {
|
|
296
|
-
this.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
297
|
-
this.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
298
|
-
if (this.endDate == '' || this.startDate == '') {
|
|
299
|
-
return this.$showMessage("时间区间的开始和结束时间不能为空!")
|
|
300
|
-
}
|
|
301
|
-
if (this.orgCondtionStr){
|
|
302
|
-
this.condition = this.$refs.paged.$refs.cri.condition + ` and uf.f_orgid in ${this.orgCondtionStr}`
|
|
365
|
+
if(this.$refs.paged.$refs.cri.model.f_user_type && this.$refs.paged.$refs.cri.model.f_user_type.length>0){
|
|
366
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
303
367
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
console.log('args.condition',args.condition)
|
|
310
|
-
console.log('this.condition',this.condition)
|
|
311
|
-
this.condition = this.condition.replace(/f_zones/, "a.f_slice_area")
|
|
312
|
-
args.condition = this.condition
|
|
313
|
-
this.model.search(args.condition, args.model)
|
|
314
|
-
},
|
|
315
|
-
// getRes (obj) {
|
|
316
|
-
// this.orgCondtionStr = plugins.convertToIn(obj)
|
|
317
|
-
// }
|
|
318
|
-
getRes (obj) {
|
|
319
|
-
this.orgCondtionStr = plugins.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(\'' + this.$login.f.orgid + '\')'
|
|
320
|
-
if(obj.indexOf("f_zones = ")>0){
|
|
321
|
-
this.zonesdata = obj.substring(obj.indexOf("f_zones = "))
|
|
322
|
-
}else{
|
|
323
|
-
this.zonesdata=''
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
pricetypechanged(){
|
|
327
|
-
this.$refs.paged.$refs.cri.model.f_price_id = []
|
|
328
|
-
},
|
|
329
|
-
// getRes(condition,obj) {
|
|
330
|
-
// this.orgCondtionStr = condition
|
|
331
|
-
// this.orgname = obj.orgnames[0]
|
|
332
|
-
// this.depname = obj.depnames[0]
|
|
333
|
-
// }
|
|
368
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
369
|
+
}
|
|
370
|
+
else{
|
|
371
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
372
|
+
}
|
|
334
373
|
},
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
374
|
+
hidden(){
|
|
375
|
+
this.criteriaShow = !this.criteriaShow
|
|
376
|
+
},
|
|
377
|
+
// 查询开关
|
|
378
|
+
seachchange () {
|
|
379
|
+
this.searchshow = !this.searchshow
|
|
380
|
+
},
|
|
381
|
+
|
|
382
|
+
// 显示柱状图
|
|
383
|
+
showEcharts () {
|
|
384
|
+
this.echarts = !this.echarts
|
|
385
|
+
console.log(this.echarts)
|
|
386
|
+
},
|
|
387
|
+
close () {
|
|
388
|
+
this.show = false
|
|
389
|
+
},
|
|
390
|
+
// SaveAsFile(str) {
|
|
391
|
+
// this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
|
|
392
|
+
// if (res === 'confirm') {
|
|
393
|
+
// let style = '<style>' +
|
|
394
|
+
// 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
|
|
395
|
+
// let strHtml = style + document.getElementById(str).innerHTML;
|
|
396
|
+
// console.log(strHtml);
|
|
397
|
+
// let LODOP = getLodop();
|
|
398
|
+
// LODOP.PRINT_INIT('');
|
|
399
|
+
// LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
|
|
400
|
+
// LODOP.SAVE_TO_FILE('抄表统计.xls')
|
|
401
|
+
// }
|
|
402
|
+
// })
|
|
403
|
+
// },
|
|
404
|
+
clearmsg () {
|
|
405
|
+
this.$refs.paged.$refs.cri.model = {}
|
|
406
|
+
this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-6).substring(0,10) + ' 00:00:00'
|
|
407
|
+
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
408
|
+
},
|
|
409
|
+
search (args) {
|
|
410
|
+
this.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
411
|
+
this.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
412
|
+
if (this.endDate == '' || this.startDate == '') {
|
|
413
|
+
return this.$showMessage("时间区间的开始和结束时间不能为空!")
|
|
414
|
+
}
|
|
415
|
+
if (this.orgCondtionStr){
|
|
416
|
+
this.condition = this.$refs.paged.$refs.cri.condition + ` and uf.f_orgid in ${this.orgCondtionStr}`
|
|
417
|
+
}
|
|
418
|
+
else
|
|
419
|
+
this.condition = this.$refs.paged.$refs.cri.condition + ` and uf.f_orgid = '${this.orgCondtionStr}'`
|
|
420
|
+
if(this.zonesdata){
|
|
421
|
+
this.condition = this.$refs.paged.$refs.cri.condition + ` and ${this.zonesdata}`
|
|
422
|
+
}
|
|
423
|
+
console.log('args.condition',args.condition)
|
|
424
|
+
console.log('this.condition',this.condition)
|
|
425
|
+
this.condition = this.condition.replace(/f_zones/, "a.f_slice_area")
|
|
426
|
+
args.condition = this.condition
|
|
427
|
+
this.model.search(args.condition, args.model)
|
|
428
|
+
},
|
|
429
|
+
// getRes (obj) {
|
|
430
|
+
// this.orgCondtionStr = plugins.convertToIn(obj)
|
|
431
|
+
// }
|
|
432
|
+
getRes (obj) {
|
|
433
|
+
this.orgCondtionStr = plugins.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(\'' + this.$login.f.orgid + '\')'
|
|
434
|
+
if(obj.indexOf("f_zones = ")>0){
|
|
435
|
+
this.zonesdata = obj.substring(obj.indexOf("f_zones = "))
|
|
436
|
+
}else{
|
|
437
|
+
this.zonesdata=''
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
pricetypechanged(){
|
|
441
|
+
this.$refs.paged.$refs.cri.model.f_price_id = []
|
|
442
|
+
},
|
|
443
|
+
// getRes(condition,obj) {
|
|
444
|
+
// this.orgCondtionStr = condition
|
|
445
|
+
// this.orgname = obj.orgnames[0]
|
|
446
|
+
// this.depname = obj.depnames[0]
|
|
447
|
+
// }
|
|
448
|
+
},
|
|
449
|
+
computed: {
|
|
450
|
+
getPricenames() {
|
|
451
|
+
let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
|
|
452
|
+
let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
|
|
453
|
+
let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
|
|
454
|
+
console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
|
|
455
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
456
|
+
let rs = []
|
|
457
|
+
let priceArr = []
|
|
458
|
+
if ( pricetype.length >0) {
|
|
459
|
+
let params = {
|
|
460
|
+
f_price_type: pricetype[0],
|
|
461
|
+
filter: this.f_filialeid,
|
|
462
|
+
prices: this.prices
|
|
361
463
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
|
|
370
|
-
},
|
|
371
|
-
positions() {
|
|
372
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
373
|
-
},
|
|
374
|
-
getCondition() {
|
|
375
|
-
var con=""
|
|
376
|
-
if (this.orgCondtionStr) {
|
|
377
|
-
con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
|
|
378
|
-
}
|
|
379
|
-
else{
|
|
380
|
-
con= `${this.$refs.paged.$refs.cri.condition} `
|
|
464
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
465
|
+
let temp = {}
|
|
466
|
+
temp.label = item.label
|
|
467
|
+
temp.value = item.value.f_price_id
|
|
468
|
+
priceArr.push(temp)
|
|
469
|
+
})
|
|
470
|
+
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
381
471
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
|
|
472
|
+
if (rs.length === 0) {
|
|
473
|
+
console.log('rs读出来是空')
|
|
474
|
+
this.$refs.paged.$refs.cri.model.f_price_id = ''
|
|
386
475
|
}
|
|
387
|
-
|
|
388
|
-
},
|
|
389
|
-
usertypes () {
|
|
390
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
391
|
-
},
|
|
392
|
-
// usertypes () {
|
|
393
|
-
// return this.$getParams('用户类型', [{label: '全部', value: ''}])
|
|
394
|
-
// },
|
|
395
|
-
f_outlets () {
|
|
396
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
397
|
-
},
|
|
398
|
-
valveStatus () {
|
|
399
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
400
|
-
},
|
|
401
|
-
Getuserstyle () {
|
|
402
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
476
|
+
return rs
|
|
403
477
|
}
|
|
478
|
+
},
|
|
479
|
+
pricetypes() {
|
|
480
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
481
|
+
},
|
|
482
|
+
houseTypes() {
|
|
483
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
|
|
484
|
+
},
|
|
485
|
+
positions() {
|
|
486
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
487
|
+
},
|
|
488
|
+
getCondition() {
|
|
489
|
+
var con=""
|
|
490
|
+
if (this.orgCondtionStr) {
|
|
491
|
+
con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
|
|
492
|
+
}
|
|
493
|
+
else{
|
|
494
|
+
con= `${this.$refs.paged.$refs.cri.condition} `
|
|
495
|
+
}
|
|
496
|
+
return {
|
|
497
|
+
condition: this.condition,
|
|
498
|
+
startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
|
|
499
|
+
endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
},
|
|
503
|
+
usertypes () {
|
|
504
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
505
|
+
},
|
|
506
|
+
// usertypes () {
|
|
507
|
+
// return this.$getParams('用户类型', [{label: '全部', value: ''}])
|
|
508
|
+
// },
|
|
509
|
+
f_outlets () {
|
|
510
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
|
|
511
|
+
},
|
|
512
|
+
valveStatus () {
|
|
513
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
514
|
+
},
|
|
515
|
+
Getuserstyle () {
|
|
516
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
404
517
|
}
|
|
405
518
|
}
|
|
519
|
+
}
|
|
406
520
|
</script>
|
|
407
521
|
<style>
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
522
|
+
.mystyle{
|
|
523
|
+
margin-left:80px;
|
|
524
|
+
}
|
|
525
|
+
.datapanel {
|
|
526
|
+
color: #333;
|
|
527
|
+
background-color: white;
|
|
528
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
529
|
+
padding: 10px 10px 10px 10px;
|
|
530
|
+
border-radius:15px;
|
|
531
|
+
}
|
|
418
532
|
</style>
|