manage-client 3.2.1 → 3.2.5
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/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/{5.2.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
- package/.gradle/{5.2.1 → 7.1}/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{5.2.1 → 7.1}/fileChanges/last-build.bin +0 -0
- package/.gradle/{5.2.1 → 7.1}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +6 -6
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/package.json +1 -1
- package/src/components/SellReport/AmountGas.vue +257 -257
- package/src/components/SellReport/BonSummary.vue +244 -244
- package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
- package/src/components/SellReport/BusinessReport.vue +256 -256
- package/src/components/SellReport/ChSellReport.vue +251 -251
- package/src/components/SellReport/ChargeBill.vue +244 -244
- package/src/components/SellReport/ChargeDayTable.vue +258 -258
- package/src/components/SellReport/ChargeMonthTable.vue +257 -257
- package/src/components/SellReport/ChargeYearTable.vue +252 -252
- package/src/components/SellReport/DeptHomePage.vue +299 -299
- package/src/components/SellReport/GasMeterBrand.vue +228 -228
- package/src/components/SellReport/GasPriceGroup.vue +228 -228
- package/src/components/SellReport/GasSummary.vue +257 -257
- package/src/components/SellReport/Gasc.vue +257 -257
- package/src/components/SellReport/GetUserNum.vue +240 -240
- package/src/components/SellReport/HandplanBili.vue +241 -241
- package/src/components/SellReport/HandplanUserCount.vue +227 -227
- package/src/components/SellReport/ManageGasPrice.vue +241 -241
- package/src/components/SellReport/ManageGasSumChange.vue +265 -265
- package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
- package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
- package/src/components/SellReport/MeterPrice.vue +244 -244
- package/src/components/SellReport/MeterReader.vue +231 -231
- package/src/components/SellReport/NonResidentGas.vue +244 -244
- package/src/components/SellReport/OperatorSellReport.vue +268 -268
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/PaymentDistribute.vue +228 -228
- package/src/components/SellReport/PaymentMethod.vue +274 -274
- package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
- package/src/components/SellReport/SellBySelfHelp.vue +263 -0
- package/src/components/SellReport/SellDepReport.vue +266 -266
- package/src/components/SellReport/UserGasFillCard.vue +441 -441
- package/src/components/SellReport/UserSellingGas.vue +251 -251
- package/src/components/SellReport/WeiNanYuShou.vue +246 -246
- package/src/components/SellReport/YuShouTable.vue +298 -298
- package/src/components/SellReport/chargeSchedule.vue +410 -410
- package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
- package/src/components/SellReport/userholds.vue +257 -257
- package/src/components/sale/businessquery/ProceedsOper.vue +80 -40
- package/src/components/sale/config/exportConfig.js +4 -3
- package/src/filiale/WEINAN/EchartsBox.vue +110 -0
- package/src/filiale/WEINAN/SiteManager.vue +191 -0
- package/src/filiale/WEINAN/config/tableConfig.js +6 -7
- package/src/filiale/WEINAN/reportManage.js +12 -0
- package/src/filiale/tongchuan/ReportList.vue +472 -472
- package/src/filiale/tongchuan/sale.js +16 -16
- package/src/reportManage.js +4 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
|
@@ -6,33 +6,6 @@
|
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
9
|
-
<res-select-group :initres="$parent.$parent.initres"
|
|
10
|
-
@re-res="$parent.$parent.getRes"
|
|
11
|
-
:show-component="['company','department','operator']"
|
|
12
|
-
v-ref:sel></res-select-group>
|
|
13
|
-
|
|
14
|
-
<div class="span" style="float:right;">
|
|
15
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
16
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
17
|
-
|
|
18
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
19
|
-
:field="$parent.$parent.getfield"
|
|
20
|
-
:footer="$parent.$parent.footer"
|
|
21
|
-
:header="$parent.$parent.other"
|
|
22
|
-
sqlurl="rs/logic/exportfile"
|
|
23
|
-
sql-name="OpertoerCollection"
|
|
24
|
-
template-name='操作员日结列表'
|
|
25
|
-
:choose-col="true"></export-excel>
|
|
26
|
-
<print-data :model="$parent.model"
|
|
27
|
-
:field="$parent.$parent.getfield"
|
|
28
|
-
:sum-field="$parent.$parent.getfield"
|
|
29
|
-
titletable="操作员日结列表"
|
|
30
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
31
|
-
<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>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
36
9
|
<div class="col-sm-2 form-group">
|
|
37
10
|
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
38
11
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
@@ -59,7 +32,34 @@
|
|
|
59
32
|
condition="f_payment in {}"
|
|
60
33
|
close-on-select></v-select>
|
|
61
34
|
</div>
|
|
35
|
+
<res-select-group :initres="$parent.$parent.initres"
|
|
36
|
+
@re-res="$parent.$parent.getRes"
|
|
37
|
+
:show-component="['company','operator']"
|
|
38
|
+
v-ref:sel></res-select-group>
|
|
39
|
+
<div class="span" style="float:right;">
|
|
40
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
41
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
42
|
+
|
|
43
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
44
|
+
:field="$parent.$parent.getfield"
|
|
45
|
+
:footer="$parent.$parent.footer"
|
|
46
|
+
:header="$parent.$parent.other"
|
|
47
|
+
sqlurl="rs/logic/exportfile"
|
|
48
|
+
sql-name="OpertoerCollection"
|
|
49
|
+
template-name='操作员日结列表'
|
|
50
|
+
:choose-col="true"></export-excel>
|
|
51
|
+
<print-data :model="$parent.model"
|
|
52
|
+
:field="$parent.$parent.getfield"
|
|
53
|
+
:sum-field="$parent.$parent.getfield"
|
|
54
|
+
titletable="操作员日结列表"
|
|
55
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
56
|
+
<!-- <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>-->
|
|
57
|
+
</div>
|
|
62
58
|
</div>
|
|
59
|
+
|
|
60
|
+
<!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
|
|
61
|
+
|
|
62
|
+
<!-- </div>-->
|
|
63
63
|
</div>
|
|
64
64
|
</criteria>
|
|
65
65
|
|
|
@@ -78,9 +78,6 @@
|
|
|
78
78
|
<th>
|
|
79
79
|
<nobr>售气金额</nobr>
|
|
80
80
|
</th>
|
|
81
|
-
<th>
|
|
82
|
-
<nobr>维护费</nobr>
|
|
83
|
-
</th>
|
|
84
81
|
<th>
|
|
85
82
|
<nobr>上期结余</nobr>
|
|
86
83
|
</th>
|
|
@@ -90,6 +87,18 @@
|
|
|
90
87
|
<th>
|
|
91
88
|
<nobr>气费滞纳金</nobr>
|
|
92
89
|
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>退费</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>冲正气量</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>冲正金额</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
<th>
|
|
100
|
+
<nobr>冲正滞纳金</nobr>
|
|
101
|
+
</th>
|
|
93
102
|
<th>
|
|
94
103
|
<nobr>发卡数</nobr>
|
|
95
104
|
</th>
|
|
@@ -97,7 +106,10 @@
|
|
|
97
106
|
<nobr>发卡费</nobr>
|
|
98
107
|
</th>
|
|
99
108
|
<th>
|
|
100
|
-
<nobr
|
|
109
|
+
<nobr>其他数</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>其他费</nobr>
|
|
101
113
|
</th>
|
|
102
114
|
<th>
|
|
103
115
|
<nobr>补卡数</nobr>
|
|
@@ -106,7 +118,7 @@
|
|
|
106
118
|
<nobr>补卡费</nobr>
|
|
107
119
|
</th>
|
|
108
120
|
<th>
|
|
109
|
-
<nobr
|
|
121
|
+
<nobr>实收金额</nobr>
|
|
110
122
|
</th>
|
|
111
123
|
</tr>
|
|
112
124
|
</template>
|
|
@@ -115,16 +127,20 @@
|
|
|
115
127
|
<td style="text-align: center;">{{row.c}}</td>
|
|
116
128
|
<td style="text-align: center;">{{row.f_pregas}}</td>
|
|
117
129
|
<th style="text-align: center;">{{row.f_preamount}}</th>
|
|
118
|
-
<th style="text-align: center;">{{row.f_wmoney}}</th>
|
|
119
130
|
<th style="text-align: center;">{{row.f_balance}}</th>
|
|
120
131
|
<th style="text-align: center;">{{row.f_curbalance}}</th>
|
|
121
132
|
<th style="text-align: center;">{{row.f_delaypay}}</th>
|
|
133
|
+
<th style="text-align: center;">{{row.f_returnfee}}</th>
|
|
134
|
+
<th style="text-align: center;">{{row.f_czpregas}}</th>
|
|
135
|
+
<th style="text-align: center;">{{row.f_czpreamount}}</th>
|
|
136
|
+
<th style="text-align: center;">{{row.f_czdelaypay}}</th>
|
|
122
137
|
<th style="text-align: center;">{{row.fkcardnum}}</th>
|
|
123
138
|
<th style="text-align: center;">{{row.f_fkcardfees}}</th>
|
|
139
|
+
<th style="text-align: center;">{{row.gc}}</th>
|
|
124
140
|
<th style="text-align: center;">{{row.f_gmoney}}</th>
|
|
125
141
|
<th style="text-align: center;">{{row.cardnum}}</th>
|
|
126
142
|
<th style="text-align: center;">{{row.f_cardfees}}</th>
|
|
127
|
-
<th style="text-align: center;">{{row.
|
|
143
|
+
<th style="text-align: center;">{{row.f_collection}}</th>
|
|
128
144
|
</template>
|
|
129
145
|
</data-grid>
|
|
130
146
|
</criteria-paged>
|
|
@@ -144,22 +160,40 @@
|
|
|
144
160
|
售气金额合计: {{sumsmodel.f_preamount}}
|
|
145
161
|
</td>
|
|
146
162
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
147
|
-
|
|
163
|
+
气费滞纳金合计: {{sumsmodel.f_delaypay}}
|
|
148
164
|
</td>
|
|
149
165
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
150
|
-
|
|
166
|
+
退费合计: {{sumsmodel.f_returnfee}}
|
|
167
|
+
</td>
|
|
168
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
169
|
+
冲正气量合计: {{sumsmodel.f_czpregas}}
|
|
170
|
+
</td>
|
|
171
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
172
|
+
冲正金额合计: {{sumsmodel.f_czpreamount}}
|
|
173
|
+
</td>
|
|
174
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
175
|
+
冲正滞纳金合计: {{sumsmodel.f_czdelaypay}}
|
|
176
|
+
</td>
|
|
177
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
178
|
+
发卡数合计: {{sumsmodel.fkcardnum}}
|
|
151
179
|
</td>
|
|
152
180
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
153
181
|
发卡费合计: {{sumsmodel.f_fkcardfees}}
|
|
154
182
|
</td>
|
|
155
183
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
156
|
-
|
|
184
|
+
其他数合计: {{sumsmodel.gc}}
|
|
185
|
+
</td>
|
|
186
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
187
|
+
其他费合计: {{sumsmodel.f_gmoney}}
|
|
188
|
+
</td>
|
|
189
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
190
|
+
补卡数合计: {{sumsmodel.cardnum}}
|
|
157
191
|
</td>
|
|
158
192
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
159
193
|
补卡费合计: {{sumsmodel.f_cardfees}}
|
|
160
194
|
</td>
|
|
161
195
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
162
|
-
|
|
196
|
+
实收金额合计: {{sumsmodel.f_collection}}
|
|
163
197
|
</td>
|
|
164
198
|
</tr>
|
|
165
199
|
</table>
|
|
@@ -204,12 +238,18 @@
|
|
|
204
238
|
c: 0,
|
|
205
239
|
f_pregas: 0,
|
|
206
240
|
f_preamount: 0,
|
|
207
|
-
f_wmoney: 0,
|
|
208
241
|
f_delaypay: 0,
|
|
242
|
+
f_returnfee: 0,
|
|
243
|
+
f_czpregas: 0,
|
|
244
|
+
f_czpreamount: 0,
|
|
245
|
+
f_czdelaypay: 0,
|
|
246
|
+
fkcardnum: 0,
|
|
209
247
|
f_fkcardfees: 0,
|
|
248
|
+
gc: 0,
|
|
210
249
|
f_gmoney: 0,
|
|
250
|
+
cardnum: 0,
|
|
211
251
|
f_cardfees: 0,
|
|
212
|
-
|
|
252
|
+
f_collection: 0
|
|
213
253
|
}),
|
|
214
254
|
orgCondtionStr: '',
|
|
215
255
|
|
|
@@ -115,9 +115,10 @@ export default{
|
|
|
115
115
|
|
|
116
116
|
ProceedsOperConfig: {
|
|
117
117
|
'f_operate_date': '日期', 'c': '售气笔数', 'f_pregas': '售气气量', 'f_preamount': '售气金额',
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'
|
|
118
|
+
'f_balance': '上期结余', 'f_curbalance': '本期结余', 'f_delaypay': '气费滞纳金',
|
|
119
|
+
'f_returnfee': '退费','f_czpregas': '冲正气量','f_czpreamount': '冲正金额','f_czdelaypay': '冲正滞纳金',
|
|
120
|
+
'fkcardnum': '发卡数', 'f_fkcardfees': '发卡费', 'gc': '其他数','f_gmoney': '其他费', 'cardnum': '补卡数',
|
|
121
|
+
'f_cardfees': '补卡费', 'f_collection': '实收金额'
|
|
121
122
|
},
|
|
122
123
|
|
|
123
124
|
arrearsConfig: {
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
<template lang="html">
|
|
2
|
+
<div :class="classname" v-if="jurisdiction.includes('首页')" :style="{width:width,height:height}">
|
|
3
|
+
<div class="form-horizontal select-overspread container-fluid auto">
|
|
4
|
+
<div class="row">
|
|
5
|
+
<div class="col-sm-3 form-group">
|
|
6
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
7
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
8
|
+
style="width:60%"
|
|
9
|
+
v-model="model.startDate"
|
|
10
|
+
:value.sync="model.startDate"
|
|
11
|
+
:disabled-days-of-Week="[]"
|
|
12
|
+
class="datepicker"
|
|
13
|
+
:format="'yyyy-MM-dd'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-3 form-group">
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
20
|
+
style="width:60%"
|
|
21
|
+
class="datepicker"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:disabled-days-of-Week="[]"
|
|
25
|
+
:format="'yyyy-MM-dd'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-3 form-group">
|
|
30
|
+
<label class="font_normal_body" for="endDate">使用公司:</label>
|
|
31
|
+
<res-select restype='organization'
|
|
32
|
+
@res-select="getRes"
|
|
33
|
+
:initresid="model.id">
|
|
34
|
+
</res-select>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div style="height: 97%;">
|
|
39
|
+
<div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
|
|
40
|
+
<div style="flex: 1;border-right: 1px dashed #888;width: 50%">
|
|
41
|
+
<site-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
42
|
+
v-ref:pay></site-manager>
|
|
43
|
+
</div>
|
|
44
|
+
<div style="flex: 1;width: 50%">
|
|
45
|
+
<bank-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
46
|
+
v-ref:pay></bank-manager>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="flex-row" style="flex: 1;height: 48%">
|
|
50
|
+
|
|
51
|
+
<div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
|
|
52
|
+
<div style="flex: 1;">
|
|
53
|
+
<paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></paymentpie>
|
|
54
|
+
</div>
|
|
55
|
+
<!-- <div style="flex: 1;">-->
|
|
56
|
+
<!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
|
|
57
|
+
<!-- </div>-->
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<div style="flex: 1;width: 50%">
|
|
61
|
+
<bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></bussiness-type>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<script>
|
|
70
|
+
import * as Util from '../../Util'
|
|
71
|
+
|
|
72
|
+
export default {
|
|
73
|
+
props: {
|
|
74
|
+
classname: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: 'basic-main'
|
|
77
|
+
},
|
|
78
|
+
width: {
|
|
79
|
+
type: String,
|
|
80
|
+
default: '98.5%'
|
|
81
|
+
},
|
|
82
|
+
height: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: '98%'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
data() {
|
|
88
|
+
return {
|
|
89
|
+
jurisdiction: this.$login.r,
|
|
90
|
+
model: {
|
|
91
|
+
id: [this.$login.f.orgid],
|
|
92
|
+
orgid: [this.$login.f.orgid],
|
|
93
|
+
startDate: Util.toStandardDateString(),
|
|
94
|
+
endDate: Util.toStandardDateString()
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
searchdata() {
|
|
100
|
+
this.$refs.pay.searchdata()
|
|
101
|
+
},
|
|
102
|
+
getRes(obj) {
|
|
103
|
+
this.model.orgid = obj
|
|
104
|
+
},
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</script>
|
|
108
|
+
|
|
109
|
+
<style lang="css">
|
|
110
|
+
</style>
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
<template lang="html">
|
|
2
|
+
<div id="charts">
|
|
3
|
+
<div id="gph" :style="{width:'100%',height:'100%'}"></div>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import * as Util from '../../Util'
|
|
9
|
+
import co from 'co'
|
|
10
|
+
import echarts from 'echarts'
|
|
11
|
+
import {HttpResetClass } from 'vue-client'
|
|
12
|
+
|
|
13
|
+
let getData = function * (self) {
|
|
14
|
+
let load = new HttpResetClass()
|
|
15
|
+
load.load('POST','rs/sql/getPregas',
|
|
16
|
+
{data: {startDate: self.startdate + ' 00:00:00', endDate: self.enddate + ' 23:59:59',f_orgid: `f_orgid = ${self.orgid}`}},
|
|
17
|
+
{resolveMsg: null, rejectMsg: null})
|
|
18
|
+
.then((res) => {
|
|
19
|
+
let data = res.data
|
|
20
|
+
// let xPro = Array.from(new Set(res.data.map(x => x.f_gasproperties)))
|
|
21
|
+
// 表型
|
|
22
|
+
let xPro = data.map(x => x.f_meter_type)
|
|
23
|
+
// 居民用气
|
|
24
|
+
let yNumJM = data.map(x => x.f_ptpregas)
|
|
25
|
+
let yNumBGL = data.map(x => x.f_bglpregas)
|
|
26
|
+
let yNumJZCN = data.map(x => x.f_cnpregas)
|
|
27
|
+
let yNumGF = data.map(x => x.f_gfpregas)
|
|
28
|
+
let yNumFJM = data.map(x => x.f_fjmpregas)
|
|
29
|
+
// xPro.forEach(item => {
|
|
30
|
+
// yNumJB[yNumJB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '机表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
|
|
31
|
+
// yNumKB[yNumKB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '卡表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
|
|
32
|
+
// yNumWLWB[yNumWLWB.length] = data.filter(x => x.f_gasproperties === item && x.f_meter_type === '物联网表').map(x => x.f_pregas).reduce((x, y) => x + y, 0)
|
|
33
|
+
// })
|
|
34
|
+
console.log('表型', xPro)
|
|
35
|
+
console.log('居民用气', yNumJM)
|
|
36
|
+
console.log('壁挂炉用气', yNumBGL)
|
|
37
|
+
console.log('集中采暖', yNumJZCN)
|
|
38
|
+
console.log('公福用气', yNumGF)
|
|
39
|
+
console.log('非居民用气', yNumFJM)
|
|
40
|
+
// self.texttile = '用户类型'
|
|
41
|
+
// let arrparams = []
|
|
42
|
+
// let numdata = []
|
|
43
|
+
// let gasdata = []
|
|
44
|
+
// let pricedata = []
|
|
45
|
+
// for (var i = 0; i < res.data.length; i++) {
|
|
46
|
+
// arrparams[i] = res.data[i].name
|
|
47
|
+
// numdata[i] = res.data[i].num_value
|
|
48
|
+
// gasdata[i] = res.data[i].gas_value
|
|
49
|
+
// pricedata[i] = res.data[i].money_value
|
|
50
|
+
// }
|
|
51
|
+
self.set(xPro,yNumJM,yNumBGL,yNumJZCN,yNumGF,yNumFJM)
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
export default {
|
|
55
|
+
props: {
|
|
56
|
+
startdate: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: Util.toStandardDateString()
|
|
59
|
+
},
|
|
60
|
+
enddate: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: Util.toStandardDateString()
|
|
63
|
+
},
|
|
64
|
+
orgid: {
|
|
65
|
+
type: String
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
data () {
|
|
69
|
+
title: '用户购(用)气'
|
|
70
|
+
return {
|
|
71
|
+
texttile: '',
|
|
72
|
+
xc: ''
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
methods: {
|
|
76
|
+
set (arrparams,yNumJM,yNumBGL,yNumJZCN,yNumGF,yNumFJM) {
|
|
77
|
+
this.xc = echarts.init(document.getElementById('gph'))
|
|
78
|
+
this.xc.setOption({
|
|
79
|
+
title : {
|
|
80
|
+
text: '用户购(用)气',
|
|
81
|
+
subtext: '数据查询来源',
|
|
82
|
+
x: 'left'
|
|
83
|
+
},
|
|
84
|
+
tooltip : {
|
|
85
|
+
trigger: 'axis'
|
|
86
|
+
},
|
|
87
|
+
legend: {
|
|
88
|
+
x: 'left',
|
|
89
|
+
y: 'bottom',
|
|
90
|
+
data: ['居民用气','壁挂炉用气','集中采暖','公福用气','非居民用气']
|
|
91
|
+
},
|
|
92
|
+
toolbox: {
|
|
93
|
+
show : true,
|
|
94
|
+
feature : {
|
|
95
|
+
dataView : {show: true, readOnly: false},
|
|
96
|
+
magicType : {show: true, type: ['line', 'bar']},
|
|
97
|
+
restore : {show: true},
|
|
98
|
+
saveAsImage : {show: true}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
calculable : true,
|
|
102
|
+
xAxis : [
|
|
103
|
+
{
|
|
104
|
+
type : 'category',
|
|
105
|
+
axisLabel :{
|
|
106
|
+
interval:0
|
|
107
|
+
},
|
|
108
|
+
data : arrparams
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
yAxis : [
|
|
112
|
+
{
|
|
113
|
+
type : 'value'
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
series : [
|
|
117
|
+
{
|
|
118
|
+
name:'居民用气',
|
|
119
|
+
type:'bar',
|
|
120
|
+
data:yNumJM,
|
|
121
|
+
markLine : {
|
|
122
|
+
data : [
|
|
123
|
+
{type : 'average', name: '平均值'}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name:'壁挂炉用气',
|
|
129
|
+
type:'bar',
|
|
130
|
+
data:yNumBGL,
|
|
131
|
+
markLine : {
|
|
132
|
+
data : [
|
|
133
|
+
{type : 'average', name: '平均值'}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name:'集中采暖',
|
|
139
|
+
type:'bar',
|
|
140
|
+
data:yNumJZCN,
|
|
141
|
+
markLine : {
|
|
142
|
+
data : [
|
|
143
|
+
{type : 'average', name : '平均值'}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name:'公福用气',
|
|
149
|
+
type:'bar',
|
|
150
|
+
data:yNumGF,
|
|
151
|
+
markLine : {
|
|
152
|
+
data : [
|
|
153
|
+
{type : 'average', name : '平均值'}
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name:'非居民用气',
|
|
159
|
+
type:'bar',
|
|
160
|
+
data:yNumFJM,
|
|
161
|
+
markLine : {
|
|
162
|
+
data : [
|
|
163
|
+
{type : 'average', name : '平均值'}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
})
|
|
169
|
+
},
|
|
170
|
+
searchdata () {
|
|
171
|
+
let getGen =getData(this)
|
|
172
|
+
co(getGen)
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
ready () {
|
|
176
|
+
this.searchdata()
|
|
177
|
+
},
|
|
178
|
+
watch: {
|
|
179
|
+
'startdate' (val) {
|
|
180
|
+
this.searchdata()
|
|
181
|
+
},
|
|
182
|
+
'enddate' (val) {
|
|
183
|
+
this.searchdata()
|
|
184
|
+
},
|
|
185
|
+
'orgid' (val) {
|
|
186
|
+
this.searchdata()
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
}
|
|
191
|
+
</script>
|
|
@@ -4,16 +4,15 @@ export default{
|
|
|
4
4
|
{
|
|
5
5
|
"用户编号":"f_userinfo_code",
|
|
6
6
|
"用户名称":"f_user_name",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"本次抄表底数":"f_tablebase",
|
|
7
|
+
"气表品牌":"f_meter_brand",
|
|
8
|
+
"气表编号":"f_meternumber",
|
|
10
9
|
"上次抄表底数":"f_last_tablebase",
|
|
10
|
+
"本次抄表底数":"f_tablebase",
|
|
11
11
|
"用气量":"f_oughtamount",
|
|
12
|
-
"单价":"f_price",
|
|
13
|
-
"用气金额":"f_oughtfee",
|
|
14
12
|
"表内剩余余额":"f_jval",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
13
|
+
"抄表日期":"f_insert_date",
|
|
14
|
+
"上次抄表日期":"f_last_insertdate",
|
|
15
|
+
"阀门开启状态":"f_valvestate"
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
}
|