manage-client 3.2.195 → 3.2.196
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/ArrearsQuery.vue +15 -16
- package/src/components/sale/config/exportConfig.js +2 -2
- package/src/components/sale/filesquery/FmyGasDeviceQuery.vue +132 -3
- package/src/components/sale/filesquery/GasDeviceQuery.vue +174 -32
- package/src/filiale/qingtongxia/ArrearsQuery.vue +0 -16
- package/src/filiale/rongcheng/ArrearsQuery.vue +15 -16
package/package.json
CHANGED
|
@@ -328,9 +328,9 @@
|
|
|
328
328
|
<th>
|
|
329
329
|
<nobr>用气金额</nobr>
|
|
330
330
|
</th>
|
|
331
|
-
<th
|
|
332
|
-
<nobr>缴费时间</nobr
|
|
333
|
-
</th
|
|
331
|
+
<!-- <th>-->
|
|
332
|
+
<!-- <nobr>缴费时间</nobr>-->
|
|
333
|
+
<!-- </th>-->
|
|
334
334
|
<th>
|
|
335
335
|
<nobr>已交金额</nobr>
|
|
336
336
|
</th>
|
|
@@ -346,9 +346,9 @@
|
|
|
346
346
|
<th>
|
|
347
347
|
<nobr>附加费</nobr>
|
|
348
348
|
</th>
|
|
349
|
-
<th
|
|
350
|
-
<nobr>上期余额</nobr
|
|
351
|
-
</th
|
|
349
|
+
<!-- <th>-->
|
|
350
|
+
<!-- <nobr>上期余额</nobr>-->
|
|
351
|
+
<!-- </th>-->
|
|
352
352
|
<th>
|
|
353
353
|
<nobr>合计欠费</nobr>
|
|
354
354
|
</th>
|
|
@@ -431,9 +431,9 @@
|
|
|
431
431
|
<td style="text-align: center;">
|
|
432
432
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
433
433
|
</td>
|
|
434
|
-
<td style="text-align: center;"
|
|
435
|
-
<nobr>{{row.f_operate_date}}</nobr
|
|
436
|
-
</td
|
|
434
|
+
<!-- <td style="text-align: center;">-->
|
|
435
|
+
<!-- <nobr>{{row.f_operate_date}}</nobr>-->
|
|
436
|
+
<!-- </td>-->
|
|
437
437
|
<td style="text-align: center;">
|
|
438
438
|
<nobr>{{row.f_debt_money}}</nobr>
|
|
439
439
|
</td>
|
|
@@ -449,9 +449,9 @@
|
|
|
449
449
|
<td style="text-align: center;">
|
|
450
450
|
<nobr>{{row.f_garbage_fee}}</nobr>
|
|
451
451
|
</td>
|
|
452
|
-
<td style="text-align: center;"
|
|
453
|
-
<nobr>{{row.f_balance}}</nobr
|
|
454
|
-
</td
|
|
452
|
+
<!-- <td style="text-align: center;">-->
|
|
453
|
+
<!-- <nobr>{{row.f_balance}}</nobr>-->
|
|
454
|
+
<!-- </td>-->
|
|
455
455
|
<td style="text-align: center;">
|
|
456
456
|
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
457
457
|
</td>
|
|
@@ -507,9 +507,9 @@
|
|
|
507
507
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
508
508
|
附加费合计: {{sumsmodel.f_garbage_fee}}
|
|
509
509
|
</td>
|
|
510
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold"
|
|
511
|
-
上期余额合计: {{sumsmodel.f_balance}}
|
|
512
|
-
</td
|
|
510
|
+
<!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
|
|
511
|
+
<!-- 上期余额合计: {{sumsmodel.f_balance}}-->
|
|
512
|
+
<!-- </td>-->
|
|
513
513
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
514
514
|
合计欠费: {{sumsmodel.f_oughtfee_all}}
|
|
515
515
|
</td>
|
|
@@ -573,7 +573,6 @@
|
|
|
573
573
|
f_oughtfee_new: 0,
|
|
574
574
|
overdue: 0,
|
|
575
575
|
f_garbage_fee: 0,
|
|
576
|
-
f_balance:0,
|
|
577
576
|
f_oughtfee_all: 0,
|
|
578
577
|
f_oughtfee_col: 0
|
|
579
578
|
}),
|
|
@@ -168,8 +168,8 @@ export default{
|
|
|
168
168
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_book_no': '用户证号', 'f_meter_book_sort': '册内序号', 'f_residential_area': '小区名称', 'f_address': '客户地址',
|
|
169
169
|
'f_user_phone': '客户电话', 'f_rent_phone': '备用电话', 'f_inputtor': '抄表员', 'f_book_name': '抄表册', 'f_user_type': '客户类型',
|
|
170
170
|
'f_gasproperties': '用气性质', 'f_comments': '备注', 'c': '欠费期数', 'f_hand_date': '欠费区间', 'f_oughtamount': '用气量',
|
|
171
|
-
'f_oughtfee': '用气金额', '
|
|
172
|
-
'overdue': '违约金', 'f_garbage_fee': '附加费', 'f_last_tablebase': '上期抄表底数', 'f_tablebase': '本期抄表底数',
|
|
171
|
+
'f_oughtfee': '用气金额', 'f_debt_money': '已交金额', 'f_oughtfee_new': '应交气费',
|
|
172
|
+
'overdue': '违约金', 'f_garbage_fee': '附加费', 'f_last_tablebase': '上期抄表底数', 'f_tablebase': '本期抄表底数',
|
|
173
173
|
'f_oughtfee_all': '合计欠费金额','f_oughtfee_col': '实际欠费金额', 'f_cost_type': '缴费方式', 'f_meter_type': '气表类型'
|
|
174
174
|
},
|
|
175
175
|
areaChargeQueryConfig: {
|
|
@@ -22,10 +22,30 @@
|
|
|
22
22
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
23
|
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
24
24
|
</div>
|
|
25
|
+
<div class="col-sm-2 form-group">
|
|
26
|
+
<label for="startGasDate" class="font_normal_body">通气时间</label>
|
|
27
|
+
<datepicker id="startGasDate" placeholder="开始日期" style="width:60%"
|
|
28
|
+
v-model="model.startGasDate"
|
|
29
|
+
:value.sync="model.startGasDate"
|
|
30
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
31
|
+
:show-reset-button="true"
|
|
32
|
+
condition="f_gas_date >= '{}'">
|
|
33
|
+
</datepicker>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label for="endGasDate" class="font_normal_body">至</label>
|
|
37
|
+
<datepicker id="endGasDate" placeholder="结束日期" style="width:60%"
|
|
38
|
+
v-model="model.endGasDate"
|
|
39
|
+
:value.sync="model.endGasDate"
|
|
40
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
41
|
+
:show-reset-button="true"
|
|
42
|
+
condition="f_gas_date <= '{}'">
|
|
43
|
+
</datepicker>
|
|
44
|
+
</div>
|
|
25
45
|
<div class="span" style="float:right;">
|
|
26
46
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
27
47
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
28
|
-
|
|
48
|
+
<button class="button_clear button_spacing" style="margin-top: 10px;background-color: #6aa6e2;" @click="$parent.$parent.downloadFiles()">导出</button>
|
|
29
49
|
|
|
30
50
|
<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>
|
|
31
51
|
</div>
|
|
@@ -43,6 +63,49 @@
|
|
|
43
63
|
condition="f_address like '%{}%'" placeholder='项目地址'>
|
|
44
64
|
</div>
|
|
45
65
|
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
66
|
+
<div class="col-sm-2 form-group">
|
|
67
|
+
<label for="startDate" class="font_normal_body">建档日期</label>
|
|
68
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
69
|
+
v-model="model.startDate"
|
|
70
|
+
:value.sync="model.startDate"
|
|
71
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
72
|
+
:show-reset-button="true"
|
|
73
|
+
condition="f_createfile_date >= '{}'">
|
|
74
|
+
</datepicker>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-sm-2 form-group">
|
|
77
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
78
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
79
|
+
v-model="model.endDate"
|
|
80
|
+
:value.sync="model.endDate"
|
|
81
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
82
|
+
:show-reset-button="true"
|
|
83
|
+
condition="f_createfile_date <= '{}'">
|
|
84
|
+
</datepicker>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-2 form-group">
|
|
87
|
+
<label class="font_normal_body">通气年限</label>
|
|
88
|
+
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear1"
|
|
89
|
+
condition="diffAllyear >= {}" placeholder="最小值">
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body"> 至 </label>
|
|
93
|
+
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear2"
|
|
94
|
+
condition="diffAllyear <= {}" placeholder="最大值">
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body"> 小区 </label>
|
|
98
|
+
<v-select :value.sync="model.f_residential_area"
|
|
99
|
+
class="select_list select"
|
|
100
|
+
enter-push
|
|
101
|
+
multiple = "true"
|
|
102
|
+
v-model="model.f_residential_area"
|
|
103
|
+
style="width: 60%"
|
|
104
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
105
|
+
close-on-select>
|
|
106
|
+
|
|
107
|
+
</v-select>
|
|
108
|
+
</div>
|
|
46
109
|
</div>
|
|
47
110
|
</div>
|
|
48
111
|
</criteria>
|
|
@@ -56,7 +119,7 @@
|
|
|
56
119
|
<th colspan="6"><nobr>燃气连接管</nobr></th>
|
|
57
120
|
<th colspan="7"><nobr>调压设备</nobr></th>
|
|
58
121
|
<th colspan="11"><nobr>燃气报警器装置</nobr></th>
|
|
59
|
-
<th colspan="
|
|
122
|
+
<th colspan="6"><nobr>建档信息</nobr></th>
|
|
60
123
|
<th colspan="6"><nobr>安检信息</nobr></th>
|
|
61
124
|
<th rowspan="2"><nobr>备注</nobr></th>
|
|
62
125
|
</tr>
|
|
@@ -120,6 +183,7 @@
|
|
|
120
183
|
<th><nobr>供用气合同编号</nobr></th>
|
|
121
184
|
<th><nobr>通气日期</nobr></th>
|
|
122
185
|
<th><nobr>通气人员</nobr></th>
|
|
186
|
+
<th><nobr>通气年限</nobr></th>
|
|
123
187
|
<th><nobr>变更记录</nobr></th>
|
|
124
188
|
|
|
125
189
|
<th><nobr>安检日期</nobr></th>
|
|
@@ -320,6 +384,9 @@
|
|
|
320
384
|
<td style="text-align: center;">
|
|
321
385
|
<nobr>{{row.f_gas_person}}</nobr>
|
|
322
386
|
</td>
|
|
387
|
+
<td style="text-align: center;" :style="$parent.$parent.$parent.ventilationYear(row.diffallyear)">
|
|
388
|
+
<nobr>{{row.ventilation_years}}</nobr>
|
|
389
|
+
</td>
|
|
323
390
|
<td style="text-align: center;">
|
|
324
391
|
<nobr>
|
|
325
392
|
<span @click="$parent.$parent.$parent.dealmsg(row,'','建档信息')"><a><b>变更记录</b></a></span>
|
|
@@ -454,6 +521,7 @@
|
|
|
454
521
|
}
|
|
455
522
|
},
|
|
456
523
|
ready() {
|
|
524
|
+
this.getaddress()
|
|
457
525
|
readySomething(this).then(() => {
|
|
458
526
|
this.$emit('ready')
|
|
459
527
|
}).catch((error) => {
|
|
@@ -495,6 +563,30 @@
|
|
|
495
563
|
}
|
|
496
564
|
this.filechangeHistoryShow =true
|
|
497
565
|
},
|
|
566
|
+
ventilationYear(diffAllyear){
|
|
567
|
+
console.log("diffAllyear?",diffAllyear)
|
|
568
|
+
if ( 1<= diffAllyear && diffAllyear <= 2 ){
|
|
569
|
+
return {
|
|
570
|
+
color: 'green !important'
|
|
571
|
+
}
|
|
572
|
+
}else if (3<= diffAllyear && diffAllyear <=4){
|
|
573
|
+
return {
|
|
574
|
+
color: 'orange !important'
|
|
575
|
+
}
|
|
576
|
+
}else if (5<= diffAllyear && diffAllyear <=8){
|
|
577
|
+
return {
|
|
578
|
+
color: 'red !important'
|
|
579
|
+
}
|
|
580
|
+
}else if (diffAllyear>8){
|
|
581
|
+
return {
|
|
582
|
+
color: 'crimson !important'
|
|
583
|
+
}
|
|
584
|
+
}else {
|
|
585
|
+
return {
|
|
586
|
+
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
},
|
|
498
590
|
formatTime(expireTime){
|
|
499
591
|
if (expireTime){
|
|
500
592
|
let formats = {
|
|
@@ -552,7 +644,33 @@
|
|
|
552
644
|
}
|
|
553
645
|
this.residentialArea = house
|
|
554
646
|
},
|
|
555
|
-
|
|
647
|
+
async downloadFiles() {
|
|
648
|
+
if (this.condition2) {
|
|
649
|
+
let data = {
|
|
650
|
+
sqlName: 'fmyGasDeviceQuery',
|
|
651
|
+
condition: this.condition2,
|
|
652
|
+
fileName: '非民用用气设备查询'
|
|
653
|
+
}
|
|
654
|
+
let HttpReset = new HttpResetClass()
|
|
655
|
+
let res = await HttpReset.load('POST', 'rs/deviceExport/gasDevices', {
|
|
656
|
+
data: data
|
|
657
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
658
|
+
if (res){
|
|
659
|
+
let downurl = 'rs/deviceExport/download?filename=非民用用气设备查询.xlsx';
|
|
660
|
+
this.$resetget(downurl, {}).then(res => {
|
|
661
|
+
var link = document.createElement('a');
|
|
662
|
+
link.target = "_blank"
|
|
663
|
+
link.href = downurl;
|
|
664
|
+
link.setAttribute("download", "非民用用气设备查询.xlsx"); //指定下载后的文件名,防跳转
|
|
665
|
+
document.body.appendChild(link);
|
|
666
|
+
link.click();
|
|
667
|
+
})
|
|
668
|
+
}
|
|
669
|
+
} else {
|
|
670
|
+
this.$showAlert('查询条件为空,请查询后再导出', 'warning', 3000)
|
|
671
|
+
return
|
|
672
|
+
}
|
|
673
|
+
},
|
|
556
674
|
//把数据库查询数据转换为下拉数据
|
|
557
675
|
calculate(rows){
|
|
558
676
|
let data = []
|
|
@@ -573,6 +691,17 @@
|
|
|
573
691
|
this.show=true
|
|
574
692
|
},
|
|
575
693
|
selfSearch(args) {
|
|
694
|
+
this.area = this.$refs.paged.$refs.cri.model.f_residential_area
|
|
695
|
+
console.log("=====小区model绑定====",this.area)
|
|
696
|
+
if(this.area.length !== 0){
|
|
697
|
+
let str = JSON.stringify(this.area)
|
|
698
|
+
str = str.replace(/"/g,`'`)
|
|
699
|
+
str = str.replace(/\[/g,``)
|
|
700
|
+
str = str.replace(/\]/g,``)
|
|
701
|
+
console.log("=====小区model22222222222绑定====",str)
|
|
702
|
+
//查询多个小区时条件
|
|
703
|
+
args.condition += ` and f_residential_area in ( ${str} )`
|
|
704
|
+
}
|
|
576
705
|
if (!this.orgCondtionStr) {
|
|
577
706
|
args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
|
|
578
707
|
} else {
|
|
@@ -22,10 +22,30 @@
|
|
|
22
22
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
23
|
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
24
24
|
</div>
|
|
25
|
+
<div class="col-sm-2 form-group">
|
|
26
|
+
<label for="startGasDate" class="font_normal_body">通气时间</label>
|
|
27
|
+
<datepicker id="startGasDate" placeholder="开始日期" style="width:60%"
|
|
28
|
+
v-model="model.startGasDate"
|
|
29
|
+
:value.sync="model.startGasDate"
|
|
30
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
31
|
+
:show-reset-button="true"
|
|
32
|
+
condition="f_gas_date >= '{}'">
|
|
33
|
+
</datepicker>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label for="endGasDate" class="font_normal_body">至</label>
|
|
37
|
+
<datepicker id="endGasDate" placeholder="结束日期" style="width:60%"
|
|
38
|
+
v-model="model.endGasDate"
|
|
39
|
+
:value.sync="model.endGasDate"
|
|
40
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
41
|
+
:show-reset-button="true"
|
|
42
|
+
condition="f_gas_date <= '{}'">
|
|
43
|
+
</datepicker>
|
|
44
|
+
</div>
|
|
25
45
|
<div class="span" style="float:right;">
|
|
26
46
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
27
47
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
28
|
-
|
|
48
|
+
<button class="button_clear button_spacing" style="margin-top: 10px;background-color: #6aa6e2;" @click="$parent.$parent.downloadFiles()">导出</button>
|
|
29
49
|
<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>
|
|
30
50
|
</div>
|
|
31
51
|
</div>
|
|
@@ -47,6 +67,48 @@
|
|
|
47
67
|
condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
|
|
48
68
|
</div>
|
|
49
69
|
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
70
|
+
<div class="col-sm-2 form-group">
|
|
71
|
+
<label for="startDate" class="font_normal_body">建档日期</label>
|
|
72
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
73
|
+
v-model="model.startDate"
|
|
74
|
+
:value.sync="model.startDate"
|
|
75
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
76
|
+
:show-reset-button="true"
|
|
77
|
+
condition="f_createfile_date >= '{}'">
|
|
78
|
+
</datepicker>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="col-sm-2 form-group">
|
|
81
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
82
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
83
|
+
v-model="model.endDate"
|
|
84
|
+
:value.sync="model.endDate"
|
|
85
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
86
|
+
:show-reset-button="true"
|
|
87
|
+
condition="f_createfile_date <= '{}'">
|
|
88
|
+
</datepicker>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="col-sm-2 form-group">
|
|
91
|
+
<label class="font_normal_body">通气年限</label>
|
|
92
|
+
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear1"
|
|
93
|
+
condition="diffAllyear >= {}" placeholder="最小值">
|
|
94
|
+
</div>
|
|
95
|
+
<div class="col-sm-2 form-group">
|
|
96
|
+
<label class="font_normal_body"> 至 </label>
|
|
97
|
+
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear2"
|
|
98
|
+
condition="diffAllyear <= {}" placeholder="最大值">
|
|
99
|
+
</div>
|
|
100
|
+
<div class="col-sm-2 form-group">
|
|
101
|
+
<label class="font_normal_body"> 小区 </label>
|
|
102
|
+
<v-select :value.sync="model.f_residential_area"
|
|
103
|
+
class="select_list select"
|
|
104
|
+
enter-push
|
|
105
|
+
multiple = "true"
|
|
106
|
+
v-model="model.f_residential_area"
|
|
107
|
+
style="width: 60%"
|
|
108
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
109
|
+
close-on-select>
|
|
110
|
+
</v-select>
|
|
111
|
+
</div>
|
|
50
112
|
</div>
|
|
51
113
|
</div>
|
|
52
114
|
</criteria>
|
|
@@ -56,6 +118,7 @@
|
|
|
56
118
|
<th rowspan="2"><nobr>序号</nobr></th>
|
|
57
119
|
<th colspan="5"><nobr>用户信息</nobr></th>
|
|
58
120
|
<th colspan="8"><nobr>燃气表</nobr></th>
|
|
121
|
+
<th colspan="7"><nobr>建档信息</nobr></th>
|
|
59
122
|
<th colspan="7"><nobr>燃气报警装置</nobr></th>
|
|
60
123
|
<th colspan="4"><nobr>燃气灶具</nobr></th>
|
|
61
124
|
<th colspan="5"><nobr>燃气灶具连接管</nobr></th>
|
|
@@ -63,7 +126,6 @@
|
|
|
63
126
|
<th colspan="5"><nobr>燃气热水器连接管</nobr></th>
|
|
64
127
|
<th colspan="5"><nobr>燃气壁挂炉</nobr></th>
|
|
65
128
|
<th colspan="5"><nobr>燃气壁挂炉连接管</nobr></th>
|
|
66
|
-
<th colspan="6"><nobr>建档信息</nobr></th>
|
|
67
129
|
<th colspan="5"><nobr>燃气保险信息</nobr></th>
|
|
68
130
|
<th colspan="2"><nobr>初次充值信息</nobr></th>
|
|
69
131
|
<th colspan="2"><nobr>每年充值</nobr></th>
|
|
@@ -72,11 +134,13 @@
|
|
|
72
134
|
</tr>
|
|
73
135
|
|
|
74
136
|
<tr>
|
|
137
|
+
<!--用户信息-->
|
|
75
138
|
<th><nobr>小区名称</nobr></th>
|
|
76
139
|
<th><nobr>户主姓名</nobr></th>
|
|
77
140
|
<th><nobr>身份证号</nobr></th>
|
|
78
141
|
<th><nobr>详细地址</nobr></th>
|
|
79
142
|
<th><nobr>联系电话</nobr></th>
|
|
143
|
+
<!--燃气表-->
|
|
80
144
|
<th><nobr>品牌</nobr></th>
|
|
81
145
|
<th><nobr>表号</nobr></th>
|
|
82
146
|
<th><nobr>类型</nobr></th>
|
|
@@ -85,6 +149,15 @@
|
|
|
85
149
|
<th><nobr>生产年月</nobr></th>
|
|
86
150
|
<th><nobr>超期提醒</nobr></th>
|
|
87
151
|
<th><nobr>变更记录</nobr></th>
|
|
152
|
+
<!--建档信息-->
|
|
153
|
+
<th><nobr>建档日期</nobr></th>
|
|
154
|
+
<th><nobr>供用气合同编号</nobr></th>
|
|
155
|
+
<th><nobr>通气日期</nobr></th>
|
|
156
|
+
<th><nobr>通气人员</nobr></th>
|
|
157
|
+
<th><nobr>通气年限</nobr></th>
|
|
158
|
+
<th><nobr>防盗卡号</nobr></th>
|
|
159
|
+
<th><nobr>变更记录</nobr></th>
|
|
160
|
+
<!--燃气报警装置-->
|
|
88
161
|
<th><nobr>独立式可燃气体探测器品牌</nobr></th>
|
|
89
162
|
<th><nobr>接头型号</nobr></th>
|
|
90
163
|
<th><nobr>生产日期</nobr></th>
|
|
@@ -121,12 +194,7 @@
|
|
|
121
194
|
<th><nobr>生产日期</nobr></th>
|
|
122
195
|
<th><nobr>超期提醒</nobr></th>
|
|
123
196
|
<th><nobr>变更记录</nobr></th>
|
|
124
|
-
|
|
125
|
-
<th><nobr>供用气合同编号</nobr></th>
|
|
126
|
-
<th><nobr>通气日期</nobr></th>
|
|
127
|
-
<th><nobr>通气人员</nobr></th>
|
|
128
|
-
<th><nobr>防盗卡号</nobr></th>
|
|
129
|
-
<th><nobr>变更记录</nobr></th>
|
|
197
|
+
|
|
130
198
|
<th><nobr>类型</nobr></th>
|
|
131
199
|
<th><nobr>金额(元)</nobr></th>
|
|
132
200
|
<th><nobr>日期</nobr></th>
|
|
@@ -195,6 +263,31 @@
|
|
|
195
263
|
</nobr>
|
|
196
264
|
</td>
|
|
197
265
|
|
|
266
|
+
<!--建档信息-->
|
|
267
|
+
<td style="text-align: center;">
|
|
268
|
+
<nobr>{{row.f_createfile_date}}</nobr>
|
|
269
|
+
</td>
|
|
270
|
+
<td style="text-align: center;">
|
|
271
|
+
<nobr>{{row.f_contract_id}}</nobr>
|
|
272
|
+
</td>
|
|
273
|
+
<td style="text-align: center;">
|
|
274
|
+
<nobr>{{row.f_gas_date}}</nobr>
|
|
275
|
+
</td>
|
|
276
|
+
<td style="text-align: center;">
|
|
277
|
+
<nobr>{{row.f_gas_person}}</nobr>
|
|
278
|
+
</td>
|
|
279
|
+
<td style="text-align: center;" :style="$parent.$parent.$parent.ventilationYear(row.diffallyear)">
|
|
280
|
+
<nobr>{{row.ventilation_years}}</nobr>
|
|
281
|
+
</td>
|
|
282
|
+
<td style="text-align: center;">
|
|
283
|
+
<nobr>{{row.f_defendcard }}|{{ row.f_defendcard_two}}</nobr>
|
|
284
|
+
</td>
|
|
285
|
+
<td style="text-align: center;">
|
|
286
|
+
<nobr>
|
|
287
|
+
<span @click="$parent.$parent.$parent.dealmsg(row,'','建档信息')"><a><b>变更记录</b></a></span>
|
|
288
|
+
</nobr>
|
|
289
|
+
</td>
|
|
290
|
+
|
|
198
291
|
<!--燃气报警装置-->
|
|
199
292
|
<td style="text-align: center;">
|
|
200
293
|
<nobr>{{row.f_icgd_brand}}</nobr>
|
|
@@ -332,27 +425,6 @@
|
|
|
332
425
|
</nobr>
|
|
333
426
|
</td>
|
|
334
427
|
|
|
335
|
-
<!--建档信息-->
|
|
336
|
-
<td style="text-align: center;">
|
|
337
|
-
<nobr>{{row.f_createfile_date}}</nobr>
|
|
338
|
-
</td>
|
|
339
|
-
<td style="text-align: center;">
|
|
340
|
-
<nobr>{{row.f_contract_id}}</nobr>
|
|
341
|
-
</td>
|
|
342
|
-
<td style="text-align: center;">
|
|
343
|
-
<nobr>{{row.f_gas_date}}</nobr>
|
|
344
|
-
</td>
|
|
345
|
-
<td style="text-align: center;">
|
|
346
|
-
<nobr>{{row.f_gas_person}}</nobr>
|
|
347
|
-
</td>
|
|
348
|
-
<td style="text-align: center;">
|
|
349
|
-
<nobr>{{row.f_defendcard }}|{{ row.f_defendcard_two}}</nobr>
|
|
350
|
-
</td>
|
|
351
|
-
<td style="text-align: center;">
|
|
352
|
-
<nobr>
|
|
353
|
-
<span @click="$parent.$parent.$parent.dealmsg(row,'','建档信息')"><a><b>变更记录</b></a></span>
|
|
354
|
-
</nobr>
|
|
355
|
-
</td>
|
|
356
428
|
<!--燃气保险信息-->
|
|
357
429
|
<td style="text-align: center;">
|
|
358
430
|
<nobr>{{row.f_fee_type}}</nobr>
|
|
@@ -544,6 +616,7 @@
|
|
|
544
616
|
}
|
|
545
617
|
},
|
|
546
618
|
ready() {
|
|
619
|
+
this.getaddress()
|
|
547
620
|
readySomething(this).then(() => {
|
|
548
621
|
this.$emit('ready')
|
|
549
622
|
}).catch((error) => {
|
|
@@ -597,7 +670,30 @@
|
|
|
597
670
|
}
|
|
598
671
|
this.filechangeHistoryShow =true
|
|
599
672
|
},
|
|
600
|
-
|
|
673
|
+
ventilationYear(diffAllyear){
|
|
674
|
+
if ( 1<= diffAllyear && diffAllyear <= 2 ){
|
|
675
|
+
return {
|
|
676
|
+
color: 'green !important'
|
|
677
|
+
}
|
|
678
|
+
}else if (3<= diffAllyear && diffAllyear <=4){
|
|
679
|
+
return {
|
|
680
|
+
color: 'orange !important'
|
|
681
|
+
}
|
|
682
|
+
}else if (5<= diffAllyear && diffAllyear <=8){
|
|
683
|
+
return {
|
|
684
|
+
color: 'red !important'
|
|
685
|
+
}
|
|
686
|
+
}else if (diffAllyear>8){
|
|
687
|
+
return {
|
|
688
|
+
color: 'crimson !important'
|
|
689
|
+
}
|
|
690
|
+
}else {
|
|
691
|
+
return {
|
|
692
|
+
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
formatTime(expireTime){
|
|
601
697
|
if (expireTime){
|
|
602
698
|
let formats = {
|
|
603
699
|
'year': '%n%年',
|
|
@@ -654,7 +750,33 @@
|
|
|
654
750
|
}
|
|
655
751
|
this.residentialArea = house
|
|
656
752
|
},
|
|
657
|
-
|
|
753
|
+
async downloadFiles() {
|
|
754
|
+
if (this.condition2) {
|
|
755
|
+
let data = {
|
|
756
|
+
sqlName: 'myGasDeviceQuery',
|
|
757
|
+
condition: this.condition2,
|
|
758
|
+
fileName: '民用用气设备查询'
|
|
759
|
+
}
|
|
760
|
+
let HttpReset = new HttpResetClass()
|
|
761
|
+
let res = await HttpReset.load('POST', 'rs/deviceExport/gasDevices', {
|
|
762
|
+
data: data
|
|
763
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
764
|
+
if (res){
|
|
765
|
+
let downurl = 'rs/deviceExport/download?filename=民用用气设备查询.xlsx';
|
|
766
|
+
this.$resetget(downurl, {}).then(res => {
|
|
767
|
+
var link = document.createElement('a');
|
|
768
|
+
link.target = "_blank"
|
|
769
|
+
link.href = downurl;
|
|
770
|
+
link.setAttribute("download", "民用用气设备查询.xlsx"); //指定下载后的文件名,防跳转
|
|
771
|
+
document.body.appendChild(link);
|
|
772
|
+
link.click();
|
|
773
|
+
})
|
|
774
|
+
}
|
|
775
|
+
} else {
|
|
776
|
+
this.$showAlert('查询条件为空,请查询后再导出', 'warning', 3000)
|
|
777
|
+
return
|
|
778
|
+
}
|
|
779
|
+
},
|
|
658
780
|
//把数据库查询数据转换为下拉数据
|
|
659
781
|
calculate(rows){
|
|
660
782
|
let data = []
|
|
@@ -671,6 +793,17 @@
|
|
|
671
793
|
},
|
|
672
794
|
|
|
673
795
|
selfSearch(args) {
|
|
796
|
+
this.area = this.$refs.paged.$refs.cri.model.f_residential_area
|
|
797
|
+
console.log("=====小区model绑定====",this.area)
|
|
798
|
+
if(this.area.length !== 0){
|
|
799
|
+
let str = JSON.stringify(this.area)
|
|
800
|
+
str = str.replace(/"/g,`'`)
|
|
801
|
+
str = str.replace(/\[/g,``)
|
|
802
|
+
str = str.replace(/\]/g,``)
|
|
803
|
+
console.log("=====小区model22222222222绑定====",str)
|
|
804
|
+
//查询多个小区时条件
|
|
805
|
+
args.condition += ` and f_residential_area in ( ${str} )`
|
|
806
|
+
}
|
|
674
807
|
if (!this.orgCondtionStr) {
|
|
675
808
|
args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
|
|
676
809
|
} else {
|
|
@@ -813,7 +946,16 @@
|
|
|
813
946
|
}
|
|
814
947
|
}
|
|
815
948
|
.back-red{ /* 红色背景 */
|
|
816
|
-
color:
|
|
949
|
+
color: red !important;
|
|
950
|
+
}
|
|
951
|
+
.back-green{ /* 红色背景 */
|
|
952
|
+
color: green !important;
|
|
953
|
+
}
|
|
954
|
+
.back-orange{ /* 红色背景 */
|
|
955
|
+
color: orange !important;
|
|
956
|
+
}
|
|
957
|
+
.back-crimson{
|
|
958
|
+
color: crimson !important;
|
|
817
959
|
}
|
|
818
960
|
.back-blue{ /* 蓝色背景 */
|
|
819
961
|
|
|
@@ -286,9 +286,6 @@
|
|
|
286
286
|
<th>
|
|
287
287
|
<nobr>用气金额</nobr>
|
|
288
288
|
</th>
|
|
289
|
-
<th>
|
|
290
|
-
<nobr>缴费时间</nobr>
|
|
291
|
-
</th>
|
|
292
289
|
<th>
|
|
293
290
|
<nobr>已交金额</nobr>
|
|
294
291
|
</th>
|
|
@@ -304,9 +301,6 @@
|
|
|
304
301
|
<th>
|
|
305
302
|
<nobr>附加费</nobr>
|
|
306
303
|
</th>
|
|
307
|
-
<th>
|
|
308
|
-
<nobr>上期余额</nobr>
|
|
309
|
-
</th>
|
|
310
304
|
<th>
|
|
311
305
|
<nobr>合计欠费</nobr>
|
|
312
306
|
</th>
|
|
@@ -371,9 +365,6 @@
|
|
|
371
365
|
<td style="text-align: center;">
|
|
372
366
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
373
367
|
</td>
|
|
374
|
-
<td style="text-align: center;">
|
|
375
|
-
<nobr>{{row.f_operate_date}}</nobr>
|
|
376
|
-
</td>
|
|
377
368
|
<td style="text-align: center;">
|
|
378
369
|
<nobr>{{row.f_debt_money}}</nobr>
|
|
379
370
|
</td>
|
|
@@ -389,9 +380,6 @@
|
|
|
389
380
|
<td style="text-align: center;">
|
|
390
381
|
<nobr>{{row.f_garbage_fee}}</nobr>
|
|
391
382
|
</td>
|
|
392
|
-
<td style="text-align: center;">
|
|
393
|
-
<nobr>{{row.f_balance}}</nobr>
|
|
394
|
-
</td>
|
|
395
383
|
<td style="text-align: center;">
|
|
396
384
|
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
397
385
|
</td>
|
|
@@ -441,9 +429,6 @@
|
|
|
441
429
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
442
430
|
附加费合计: {{sumsmodel.f_garbage_fee}}
|
|
443
431
|
</td>
|
|
444
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
445
|
-
上期余额合计: {{sumsmodel.f_balance}}
|
|
446
|
-
</td>
|
|
447
432
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
448
433
|
合计欠费: {{sumsmodel.f_oughtfee_all}}
|
|
449
434
|
</td>
|
|
@@ -501,7 +486,6 @@
|
|
|
501
486
|
f_oughtfee_new: 0,
|
|
502
487
|
overdue: 0,
|
|
503
488
|
f_garbage_fee: 0,
|
|
504
|
-
f_balance:0,
|
|
505
489
|
f_oughtfee_all: 0
|
|
506
490
|
}),
|
|
507
491
|
criteriaShow: false,
|
|
@@ -271,9 +271,9 @@
|
|
|
271
271
|
<th>
|
|
272
272
|
<nobr>用气金额</nobr>
|
|
273
273
|
</th>
|
|
274
|
-
<th
|
|
275
|
-
<nobr>缴费时间</nobr
|
|
276
|
-
</th
|
|
274
|
+
<!-- <th>-->
|
|
275
|
+
<!-- <nobr>缴费时间</nobr>-->
|
|
276
|
+
<!-- </th>-->
|
|
277
277
|
<th>
|
|
278
278
|
<nobr>已交金额</nobr>
|
|
279
279
|
</th>
|
|
@@ -289,9 +289,9 @@
|
|
|
289
289
|
<th>
|
|
290
290
|
<nobr>附加费</nobr>
|
|
291
291
|
</th>
|
|
292
|
-
<th
|
|
293
|
-
<nobr>上期余额</nobr
|
|
294
|
-
</th
|
|
292
|
+
<!-- <th>-->
|
|
293
|
+
<!-- <nobr>上期余额</nobr>-->
|
|
294
|
+
<!-- </th>-->
|
|
295
295
|
<th>
|
|
296
296
|
<nobr>合计欠费</nobr>
|
|
297
297
|
</th>
|
|
@@ -352,9 +352,9 @@
|
|
|
352
352
|
<td style="text-align: center;">
|
|
353
353
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
354
354
|
</td>
|
|
355
|
-
<td style="text-align: center;"
|
|
356
|
-
<nobr>{{row.f_operate_date}}</nobr
|
|
357
|
-
</td
|
|
355
|
+
<!-- <td style="text-align: center;">-->
|
|
356
|
+
<!-- <nobr>{{row.f_operate_date}}</nobr>-->
|
|
357
|
+
<!-- </td>-->
|
|
358
358
|
<td style="text-align: center;">
|
|
359
359
|
<nobr>{{row.f_debt_money}}</nobr>
|
|
360
360
|
</td>
|
|
@@ -370,9 +370,9 @@
|
|
|
370
370
|
<td style="text-align: center;">
|
|
371
371
|
<nobr>{{row.f_garbage_fee}}</nobr>
|
|
372
372
|
</td>
|
|
373
|
-
<td style="text-align: center;"
|
|
374
|
-
<nobr>{{row.f_balance}}</nobr
|
|
375
|
-
</td
|
|
373
|
+
<!-- <td style="text-align: center;">-->
|
|
374
|
+
<!-- <nobr>{{row.f_balance}}</nobr>-->
|
|
375
|
+
<!-- </td>-->
|
|
376
376
|
<td style="text-align: center;">
|
|
377
377
|
<nobr>{{row.f_oughtfee_all}}</nobr>
|
|
378
378
|
</td>
|
|
@@ -404,9 +404,9 @@
|
|
|
404
404
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
405
405
|
附加费合计: {{sumsmodel.f_garbage_fee}}
|
|
406
406
|
</td>
|
|
407
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold"
|
|
408
|
-
上期余额合计: {{sumsmodel.f_balance}}
|
|
409
|
-
</td
|
|
407
|
+
<!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
|
|
408
|
+
<!-- 上期余额合计: {{sumsmodel.f_balance}}-->
|
|
409
|
+
<!-- </td>-->
|
|
410
410
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
411
411
|
合计欠费: {{sumsmodel.f_oughtfee_all}}
|
|
412
412
|
</td>
|
|
@@ -462,7 +462,6 @@ export default {
|
|
|
462
462
|
f_oughtfee_new: 0,
|
|
463
463
|
overdue: 0,
|
|
464
464
|
f_garbage_fee: 0,
|
|
465
|
-
f_balance:0,
|
|
466
465
|
f_oughtfee_all: 0
|
|
467
466
|
}),
|
|
468
467
|
criteriaShow: false,
|