manage-client 3.2.33 → 3.2.34
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/{4.4 → 5.5}/fileChanges/last-build.bin +0 -0
- package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/build/dev-server.js +4 -6
- package/package.json +1 -1
- package/src/components/BasisEcharts/BarChart.vue +247 -247
- package/src/components/SellReport/BonSummary.vue +178 -178
- package/src/components/SellReport/ChargePrick.vue +205 -205
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/ManageBusSummary.vue +219 -219
- package/src/components/SellReport/ManageGasPrice.vue +176 -176
- package/src/components/SellReport/NonResidentGas.vue +203 -203
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/QibiaoShouqi.vue +242 -242
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
- package/src/components/SellReport/SaleMonthReport.vue +153 -153
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserSellingGas.vue +228 -228
- package/src/components/TelReport/ZhiHuanservice.vue +162 -162
- package/src/components/daping/GMap.vue +636 -636
- package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
- package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
- package/src/components/sale/businessquery/ChargeQuery.vue +1250 -1245
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/InspectListUser.vue +412 -412
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
- package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
- package/src/components/sale/businessquery/usergas.vue +311 -311
- package/src/components/statistical/StatisticalAnalysis.vue +252 -252
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
- package/src/components/webmeter/DrillData/UserGasAll.vue +607 -607
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
- package/src/filiale/WEINAN/EchartsBox.vue +110 -110
- package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
- package/src/filiale/WEINAN/SiteManager.vue +191 -191
- package/src/filiale/WEINAN/UserGasAll.vue +577 -577
- package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
- package/src/filiale/WEINAN/UserGasList.vue +438 -438
- package/src/filiale/WEINAN/reportManage.js +12 -12
- package/src/filiale/WEINAN/sale.js +36 -36
- package/src/filiale/alashan/reportManage.js +10 -10
- package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
- package/src/filiale/jingzhou/config/exportConfig.js +861 -861
- package/src/filiale/meihekou/UserGasEform.vue +267 -267
- package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
- package/src/filiale/rongchuang/SellingTable.vue +250 -250
- package/src/filiale/rongchuang/reportManage.js +11 -11
- package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
- package/src/filiale/tongchuan/reportManage.js +5 -5
- package/src/main.js +2 -2
- package/static/wuhai.json +1610 -1610
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
|
@@ -1,191 +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>
|
|
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>
|