manage-client 3.3.270 → 3.3.272
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/SellReport/PublicGasPrice2Report.vue +261 -0
- package/src/components/SellReport/xihu/XHKFReport.vue +175 -0
- package/src/components/SellReport/xihu/XHNewManageSummary.vue +182 -0
- package/src/components/SellReport/xihu/XHOtherChargeSummary.vue +175 -0
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +37 -2
- package/src/filiale/fugou/ReverseQuery.vue +450 -0
- package/src/filiale/fugou/UserQuery.vue +1 -1
- package/src/filiale/fugou/sale.js +4 -0
- package/src/reportManage.js +16 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<res-select-group :show-component="$parent.$parent.resshow"
|
|
28
|
+
:selectin="true" :initres="$parent.$parent.initres"
|
|
29
|
+
:cascade =true @re-res="$parent.$parent.getRes"
|
|
30
|
+
v-ref:sel>
|
|
31
|
+
</res-select-group>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="span" style = "float:right;">
|
|
34
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
35
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
36
|
+
<report-excel id='gasprice'></report-excel>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</criteria>
|
|
40
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
41
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
42
|
+
<thead>
|
|
43
|
+
<tr>
|
|
44
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
45
|
+
<h3 style="text-align: center">其他收费报表</h3>
|
|
46
|
+
</th>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
50
|
+
开始时间:{{model.model.startDate}}
|
|
51
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
52
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
53
|
+
</th>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr >
|
|
56
|
+
<th v-if="false" :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
57
|
+
<div>
|
|
58
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
59
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
60
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
61
|
+
</div>
|
|
62
|
+
</th>
|
|
63
|
+
</tr>
|
|
64
|
+
</thead>
|
|
65
|
+
<tr>
|
|
66
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
67
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
68
|
+
</td>
|
|
69
|
+
</tr>
|
|
70
|
+
<tfoot>
|
|
71
|
+
<!-- <tr style="text-align: left">-->
|
|
72
|
+
<!-- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>-->
|
|
73
|
+
<!-- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>-->
|
|
74
|
+
<!-- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>-->
|
|
75
|
+
<!-- </tr>-->
|
|
76
|
+
</tfoot>
|
|
77
|
+
</table>
|
|
78
|
+
{{{ $parent.reportStr}}}
|
|
79
|
+
</div>
|
|
80
|
+
</criteria-paged>
|
|
81
|
+
</div>
|
|
82
|
+
</template>
|
|
83
|
+
|
|
84
|
+
<script>
|
|
85
|
+
import { DataModel } from 'vue-client'
|
|
86
|
+
import co from 'co'
|
|
87
|
+
export default {
|
|
88
|
+
title: '新收费结账报表',
|
|
89
|
+
props: ['data'],
|
|
90
|
+
data () {
|
|
91
|
+
return {
|
|
92
|
+
printTime: this.$login.toStandardTimeString(),
|
|
93
|
+
depresid: [],
|
|
94
|
+
userresid: [],
|
|
95
|
+
f_orgid: this.$login.f.orgid,
|
|
96
|
+
f_depid: this.$login.f.depids,
|
|
97
|
+
// f_operatorid: this.$login.f.id,
|
|
98
|
+
operatorid: [],
|
|
99
|
+
depid: [],
|
|
100
|
+
orgname: '',
|
|
101
|
+
depname: '',
|
|
102
|
+
criteriaShow: false,
|
|
103
|
+
operatorname: '',
|
|
104
|
+
orgCondtionStr: '1=1',
|
|
105
|
+
f_user_type: '',
|
|
106
|
+
f_state: ['有效'],
|
|
107
|
+
model: new DataModel('api/af-revenue/report/xh_other_charge', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
108
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
109
|
+
reportStr: null,
|
|
110
|
+
resshow: ['company', 'department', 'operator'],
|
|
111
|
+
spans: 0,
|
|
112
|
+
initres: {
|
|
113
|
+
org: [this.$login.f.orgid],
|
|
114
|
+
dep: [],
|
|
115
|
+
user: []
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
ready () {
|
|
120
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
|
|
121
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString()
|
|
122
|
+
},
|
|
123
|
+
methods: {
|
|
124
|
+
searchData () {
|
|
125
|
+
this.$refs.paged.$refs.criteria.search()
|
|
126
|
+
},
|
|
127
|
+
selfSearch (args) {
|
|
128
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
129
|
+
let orgcondition = '1=1'
|
|
130
|
+
let orgstr = this.orgCondtionStr
|
|
131
|
+
orgcondition = orgcondition + orgstr
|
|
132
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
133
|
+
this.$refs.paged.search(args)
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
hidden () {
|
|
137
|
+
this.criteriaShow = !this.criteriaShow
|
|
138
|
+
},
|
|
139
|
+
getRes (condition, obj) {
|
|
140
|
+
this.orgCondtionStr = condition
|
|
141
|
+
this.orgname = obj.orgnames[0]
|
|
142
|
+
this.depname = obj.depnames[0]
|
|
143
|
+
this.operatorname = obj.operatornames[0]
|
|
144
|
+
},
|
|
145
|
+
getdep (obj, val) {
|
|
146
|
+
this.depname = val[0]
|
|
147
|
+
this.userresid = obj
|
|
148
|
+
this.f_depid = obj
|
|
149
|
+
},
|
|
150
|
+
getuser ( obj, val) {
|
|
151
|
+
this.operatorname = val[0]
|
|
152
|
+
this.f_operatorid = obj
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
watch: {
|
|
156
|
+
'model.data' (val) {
|
|
157
|
+
let len=0
|
|
158
|
+
let a=val.split('</tr>')
|
|
159
|
+
for(let i=0;i<a.length;i++){
|
|
160
|
+
if(a[i].split('</td>').length-1>len){
|
|
161
|
+
len=a[i].split('</td>').length-1
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
this.spans = len
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
computed: {
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
</script>
|
|
171
|
+
<style scoped>
|
|
172
|
+
.noborder{
|
|
173
|
+
border: none;
|
|
174
|
+
}
|
|
175
|
+
</style>
|
|
@@ -140,6 +140,26 @@
|
|
|
140
140
|
>
|
|
141
141
|
</v-select>
|
|
142
142
|
</div>
|
|
143
|
+
<div class="col-sm-2 form-group">
|
|
144
|
+
<label class="font_normal_body">处理状态</label>
|
|
145
|
+
<v-select style="width:60%"
|
|
146
|
+
v-model="model.f_is_read"
|
|
147
|
+
placeholder='处理状态'
|
|
148
|
+
:value.sync="model.f_is_read"
|
|
149
|
+
:options='$parent.$parent.isread'
|
|
150
|
+
condition="f_is_read = '{}'"
|
|
151
|
+
close-on-select>
|
|
152
|
+
</v-select>
|
|
153
|
+
</div>
|
|
154
|
+
<div class="col-sm-2 form-group">
|
|
155
|
+
<label class="font_normal_body">备注信息</label>
|
|
156
|
+
<input style="width:60%" type="text" class="input_search"
|
|
157
|
+
v-model="model.f_error_reason"
|
|
158
|
+
placeholder='备注信息'
|
|
159
|
+
condition="f_error_reason like '%{}%'"
|
|
160
|
+
v-el:xq v-next-el='f_error_reason'
|
|
161
|
+
v-el:f_error_reason>
|
|
162
|
+
</div>
|
|
143
163
|
</div>
|
|
144
164
|
</div>
|
|
145
165
|
</criteria>
|
|
@@ -200,6 +220,12 @@
|
|
|
200
220
|
<th style="text-align:center">
|
|
201
221
|
<nobr>异常级别</nobr>
|
|
202
222
|
</th>
|
|
223
|
+
<th style="text-align:center">
|
|
224
|
+
<nobr>处理状态</nobr>
|
|
225
|
+
</th>
|
|
226
|
+
<th style="text-align:center">
|
|
227
|
+
<nobr>备注信息</nobr>
|
|
228
|
+
</th>
|
|
203
229
|
<th style="text-align:center">
|
|
204
230
|
<nobr>分公司</nobr>
|
|
205
231
|
</th>
|
|
@@ -253,6 +279,12 @@
|
|
|
253
279
|
<nobr>{{row.f_error_level}}</nobr>
|
|
254
280
|
</td>
|
|
255
281
|
<td style="text-align:center">
|
|
282
|
+
<nobr>{{row.f_is_read}}</nobr>
|
|
283
|
+
</td>
|
|
284
|
+
<td style="text-align:center">
|
|
285
|
+
<nobr>{{row.f_error_reason}}</nobr>
|
|
286
|
+
</td>
|
|
287
|
+
<td style="text-align:center">
|
|
256
288
|
<nobr>{{row.f_orgname}}</nobr>
|
|
257
289
|
</td>
|
|
258
290
|
</template>
|
|
@@ -330,7 +362,7 @@
|
|
|
330
362
|
getfield:{
|
|
331
363
|
"f_userinfo_code":"客户编号", "f_user_name":"客户名称","f_residential_area":"小区", "address":"客户地址","f_balance_amount":"账户余额","f_user_phone":"联系电话",
|
|
332
364
|
"f_meternumber":"表号","f_meter_brand":"气表品牌","f_hand_date":"抄表日期","f_insert_date":"最后一次通讯时间","f_electricity":"电池电量","f_batterylevel":"电池电压",
|
|
333
|
-
"f_signal":"信号强度","f_magneticInterference":"磁干扰异常","f_valvestate":"阀门状态","f_error_type":"异常类型","f_error_level":"异常级别","f_orgname":"分公司"
|
|
365
|
+
"f_signal":"信号强度","f_magneticInterference":"磁干扰异常","f_valvestate":"阀门状态","f_error_type":"异常类型","f_error_level":"异常级别","f_is_read":"处理状态","f_error_reason":"备注信息","f_orgname":"分公司"
|
|
334
366
|
},
|
|
335
367
|
outlets: [],
|
|
336
368
|
operator: [],
|
|
@@ -344,7 +376,7 @@
|
|
|
344
376
|
GetErrorLevel:[],
|
|
345
377
|
GetErrorType:[],
|
|
346
378
|
condition: '1=1 and f_error_type IS NOT NULL and f_error_level IS NOT NULL',
|
|
347
|
-
org:[this.$login.f.orgid],
|
|
379
|
+
org: [this.$login.f.orgid],
|
|
348
380
|
orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid} `
|
|
349
381
|
}
|
|
350
382
|
},
|
|
@@ -529,6 +561,9 @@
|
|
|
529
561
|
Gasproperties() {
|
|
530
562
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
531
563
|
},
|
|
564
|
+
isread() {
|
|
565
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('处理状态')]
|
|
566
|
+
},
|
|
532
567
|
abnormalstatus(){
|
|
533
568
|
return this.$getParams('异常状态', [{label: '全部', value: ''}])
|
|
534
569
|
}
|