manage-client 3.1.35 → 3.1.39
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/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/ManageClient.iml +13 -13
- package/build/dev-server.js +29 -22
- package/package.json +1 -1
- package/src/App.vue +29 -28
- package/src/components/BasisEcharts/BarChart.vue +247 -247
- package/src/components/BasisEcharts/RingChart.vue +196 -196
- package/src/components/SellReport/BusinessClassify.vue +293 -251
- package/src/components/SellReport/ChargePrick.vue +284 -279
- package/src/components/SellReport/DepartmentPrick.vue +288 -261
- package/src/components/SellReport/FinanceSellType.vue +254 -254
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/GasPrice.vue +244 -244
- package/src/components/SellReport/ManageBusSummary.vue +242 -242
- package/src/components/SellReport/ManageHandInputtor.vue +281 -281
- package/src/components/SellReport/ManageOtherCharge.vue +250 -250
- package/src/components/SellReport/ManageSellType.vue +284 -284
- package/src/components/SellReport/ManageUserCount.vue +347 -347
- package/src/components/SellReport/MarketMonth.vue +251 -251
- package/src/components/SellReport/SaleMonthReport.vue +227 -227
- package/src/components/SellReport/SellCollect.vue +183 -0
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserClassify.vue +251 -251
- package/src/components/SellReport/UserSellingGas.vue +251 -251
- package/src/components/daping/CallCenter.vue +366 -366
- package/src/components/daping/DataManagement.vue +537 -537
- package/src/components/daping/GMap.vue +636 -636
- package/src/components/daping/ManageMain.vue +270 -270
- package/src/components/daping/NetWork.vue +238 -238
- package/src/components/daping/RedactDaPing.vue +468 -468
- package/src/components/daping/Ring.vue +212 -212
- package/src/components/daping/SafeCheck.vue +446 -446
- package/src/components/daping/SafeCheckRing.vue +166 -166
- package/src/components/daping/SafecheckBarChart.vue +233 -233
- package/src/components/daping/WuHaiMap.vue +418 -418
- package/src/components/qinhua/BarChart.vue +256 -256
- package/src/components/qinhua/Pie.vue +132 -132
- package/src/components/qinhua/SellEcharts.vue +115 -115
- package/src/components/qinhua/qinHuaMap.vue +414 -414
- package/src/components/sale/businessquery/CollectManage.vue +135 -135
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- package/src/components/sale/businessquery/NewHandplanQuery.vue +995 -0
- package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
- package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
- package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
- package/src/components/statistical/StatisticalAnalysis.vue +247 -247
- 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 +597 -596
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +445 -445
- package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +170 -170
- package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +903 -899
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
- package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +238 -238
- package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -606
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +218 -252
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -440
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
- 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/alashan/SellingTable.vue +234 -234
- package/src/filiale/alashan/reportManage.js +10 -10
- package/src/filiale/jingwei/ChargeQuery.vue +1235 -0
- package/src/filiale/jingwei/sale.js +2 -0
- 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/sale.js +26 -26
- package/src/filiale/rongcheng/exportConfig.js +257 -257
- package/src/filiale/rongchuang/SellingTable.vue +250 -250
- package/src/filiale/rongchuang/reportManage.js +11 -11
- package/src/filiale/shaoguan/config/exportConfig.js +433 -433
- package/src/filiale/tongchuan/FillGasQuery.vue +508 -0
- package/src/filiale/tongchuan/ManageBusSummary.vue +301 -0
- package/src/filiale/tongchuan/reportManage.js +5 -0
- package/src/filiale/tongchuan/sale.js +2 -1
- package/src/main.js +66 -66
- package/src/newmanage.js +525 -525
- package/src/reportManage.js +462 -462
- package/static/wuhai.json +1610 -1610
- package/.gradle/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/.npmignore +0 -10
- package/build/.npmignore +0 -1
- package/package-lock.json +0 -11184
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id='pie' style="height: 100%;width: 100%">
|
|
3
|
-
</div>
|
|
4
|
-
</template>
|
|
5
|
-
|
|
6
|
-
<script>
|
|
7
|
-
import {HttpResetClass} from "vue-client";
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
title: '收费',
|
|
11
|
-
data () {
|
|
12
|
-
return {
|
|
13
|
-
value1: '',
|
|
14
|
-
value2: ''
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
methods: {
|
|
18
|
-
init () {
|
|
19
|
-
var color = ['#2F8DF4', '#ef9861']
|
|
20
|
-
var title = ['民用售气量', '非民用售气量']
|
|
21
|
-
var option = {
|
|
22
|
-
color: color,
|
|
23
|
-
backgroundColor: '#ffffff00',
|
|
24
|
-
legend: {
|
|
25
|
-
orient: 'horizontal',
|
|
26
|
-
x: 'center',
|
|
27
|
-
y: 'top',
|
|
28
|
-
icon: 'circle',
|
|
29
|
-
data: title,
|
|
30
|
-
textStyle: {
|
|
31
|
-
color: '#fff'
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
series: [{
|
|
35
|
-
type: 'pie',
|
|
36
|
-
radius: ['35%', '50%'],
|
|
37
|
-
data: [{
|
|
38
|
-
value: this.value1,
|
|
39
|
-
name: '民用售气量'
|
|
40
|
-
}, {
|
|
41
|
-
value: this.value2,
|
|
42
|
-
name: '非民用售气量'
|
|
43
|
-
}],
|
|
44
|
-
labelLine: {
|
|
45
|
-
normal: {
|
|
46
|
-
length: '5%'
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
label: {
|
|
50
|
-
show: true,
|
|
51
|
-
formatter: '{b|{b}}\n{per|{d}%}',
|
|
52
|
-
rich: {
|
|
53
|
-
b: {
|
|
54
|
-
fontSize: 10,
|
|
55
|
-
padding: [5, 0],
|
|
56
|
-
color: '#fff'
|
|
57
|
-
},
|
|
58
|
-
hr: {
|
|
59
|
-
height: 0,
|
|
60
|
-
borderWidth: 1,
|
|
61
|
-
width: '100%',
|
|
62
|
-
borderColor: '#fff'
|
|
63
|
-
},
|
|
64
|
-
per: {
|
|
65
|
-
color: '#FDF44E',
|
|
66
|
-
fontSize: 10,
|
|
67
|
-
borderRadius: 2
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
position: 'outside'
|
|
71
|
-
}
|
|
72
|
-
}]
|
|
73
|
-
}
|
|
74
|
-
let barchart = this.$echarts.init(document.getElementById('pie' +
|
|
75
|
-
''))
|
|
76
|
-
console.log(option)
|
|
77
|
-
barchart.setOption(option)
|
|
78
|
-
let index = -1 // 高亮所在下标
|
|
79
|
-
let dataLength = title.length // 当前饼图有多少个扇形
|
|
80
|
-
// 用定时器控制饼图高亮
|
|
81
|
-
// this.mTime = setInterval(() => {
|
|
82
|
-
// // 清除之前的高亮
|
|
83
|
-
// barchart.dispatchAction({
|
|
84
|
-
// type: 'downplay',
|
|
85
|
-
// seriesIndex: 0,
|
|
86
|
-
// dataIndex: index
|
|
87
|
-
// })
|
|
88
|
-
// index = (index + 1) % dataLength
|
|
89
|
-
// // 当前下标高亮
|
|
90
|
-
// barchart.dispatchAction({
|
|
91
|
-
// type: 'highlight',
|
|
92
|
-
// seriesIndex: 0,
|
|
93
|
-
// dataIndex: index
|
|
94
|
-
// })
|
|
95
|
-
// if (index > dataLength) {
|
|
96
|
-
// index = 0
|
|
97
|
-
// }
|
|
98
|
-
// }, 1000)
|
|
99
|
-
// 鼠标划入
|
|
100
|
-
// barchart.on('mouseover', () => {
|
|
101
|
-
// // 停止定时器,清除之前的高亮
|
|
102
|
-
// // clearInterval(this.mTime)
|
|
103
|
-
// this.echartsPie.dispatchAction({
|
|
104
|
-
// type: 'downplay',
|
|
105
|
-
// seriesIndex: 0,
|
|
106
|
-
// dataIndex: index
|
|
107
|
-
// })
|
|
108
|
-
// })
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
ready() {
|
|
112
|
-
let http = new HttpResetClass()
|
|
113
|
-
http.load('post', '/rs/sql/getSellSumByType', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=> {
|
|
114
|
-
let d = res.data
|
|
115
|
-
console.log('用户售气~~~~~~~~~~~', res.data)
|
|
116
|
-
let my = d.filter(item => item.name === '民用').map(f => f.value)
|
|
117
|
-
let fmy = d.filter(item => item.name === '非民用').map(f => f.value)
|
|
118
|
-
console.log('*-*--*-*-*-**-*-*-*-*-', my , fmy)
|
|
119
|
-
this.value1 = my.length > 0 ? my.reduce((x, y) => x + y) : 0
|
|
120
|
-
this.value2 = fmy.length > 0 ? fmy.reduce((x, y) => x + y) : 0
|
|
121
|
-
console.log('~~~~~~~~~~~', this.value1, this.value2)
|
|
122
|
-
this.init()
|
|
123
|
-
})
|
|
124
|
-
},
|
|
125
|
-
props: {}
|
|
126
|
-
}
|
|
127
|
-
</script>
|
|
128
|
-
<style scoped>
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
</style>
|
|
132
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id='pie' style="height: 100%;width: 100%">
|
|
3
|
+
</div>
|
|
4
|
+
</template>
|
|
5
|
+
|
|
6
|
+
<script>
|
|
7
|
+
import {HttpResetClass} from "vue-client";
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: '收费',
|
|
11
|
+
data () {
|
|
12
|
+
return {
|
|
13
|
+
value1: '',
|
|
14
|
+
value2: ''
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
methods: {
|
|
18
|
+
init () {
|
|
19
|
+
var color = ['#2F8DF4', '#ef9861']
|
|
20
|
+
var title = ['民用售气量', '非民用售气量']
|
|
21
|
+
var option = {
|
|
22
|
+
color: color,
|
|
23
|
+
backgroundColor: '#ffffff00',
|
|
24
|
+
legend: {
|
|
25
|
+
orient: 'horizontal',
|
|
26
|
+
x: 'center',
|
|
27
|
+
y: 'top',
|
|
28
|
+
icon: 'circle',
|
|
29
|
+
data: title,
|
|
30
|
+
textStyle: {
|
|
31
|
+
color: '#fff'
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
series: [{
|
|
35
|
+
type: 'pie',
|
|
36
|
+
radius: ['35%', '50%'],
|
|
37
|
+
data: [{
|
|
38
|
+
value: this.value1,
|
|
39
|
+
name: '民用售气量'
|
|
40
|
+
}, {
|
|
41
|
+
value: this.value2,
|
|
42
|
+
name: '非民用售气量'
|
|
43
|
+
}],
|
|
44
|
+
labelLine: {
|
|
45
|
+
normal: {
|
|
46
|
+
length: '5%'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
label: {
|
|
50
|
+
show: true,
|
|
51
|
+
formatter: '{b|{b}}\n{per|{d}%}',
|
|
52
|
+
rich: {
|
|
53
|
+
b: {
|
|
54
|
+
fontSize: 10,
|
|
55
|
+
padding: [5, 0],
|
|
56
|
+
color: '#fff'
|
|
57
|
+
},
|
|
58
|
+
hr: {
|
|
59
|
+
height: 0,
|
|
60
|
+
borderWidth: 1,
|
|
61
|
+
width: '100%',
|
|
62
|
+
borderColor: '#fff'
|
|
63
|
+
},
|
|
64
|
+
per: {
|
|
65
|
+
color: '#FDF44E',
|
|
66
|
+
fontSize: 10,
|
|
67
|
+
borderRadius: 2
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
position: 'outside'
|
|
71
|
+
}
|
|
72
|
+
}]
|
|
73
|
+
}
|
|
74
|
+
let barchart = this.$echarts.init(document.getElementById('pie' +
|
|
75
|
+
''))
|
|
76
|
+
console.log(option)
|
|
77
|
+
barchart.setOption(option)
|
|
78
|
+
let index = -1 // 高亮所在下标
|
|
79
|
+
let dataLength = title.length // 当前饼图有多少个扇形
|
|
80
|
+
// 用定时器控制饼图高亮
|
|
81
|
+
// this.mTime = setInterval(() => {
|
|
82
|
+
// // 清除之前的高亮
|
|
83
|
+
// barchart.dispatchAction({
|
|
84
|
+
// type: 'downplay',
|
|
85
|
+
// seriesIndex: 0,
|
|
86
|
+
// dataIndex: index
|
|
87
|
+
// })
|
|
88
|
+
// index = (index + 1) % dataLength
|
|
89
|
+
// // 当前下标高亮
|
|
90
|
+
// barchart.dispatchAction({
|
|
91
|
+
// type: 'highlight',
|
|
92
|
+
// seriesIndex: 0,
|
|
93
|
+
// dataIndex: index
|
|
94
|
+
// })
|
|
95
|
+
// if (index > dataLength) {
|
|
96
|
+
// index = 0
|
|
97
|
+
// }
|
|
98
|
+
// }, 1000)
|
|
99
|
+
// 鼠标划入
|
|
100
|
+
// barchart.on('mouseover', () => {
|
|
101
|
+
// // 停止定时器,清除之前的高亮
|
|
102
|
+
// // clearInterval(this.mTime)
|
|
103
|
+
// this.echartsPie.dispatchAction({
|
|
104
|
+
// type: 'downplay',
|
|
105
|
+
// seriesIndex: 0,
|
|
106
|
+
// dataIndex: index
|
|
107
|
+
// })
|
|
108
|
+
// })
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
ready() {
|
|
112
|
+
let http = new HttpResetClass()
|
|
113
|
+
http.load('post', '/rs/sql/getSellSumByType', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=> {
|
|
114
|
+
let d = res.data
|
|
115
|
+
console.log('用户售气~~~~~~~~~~~', res.data)
|
|
116
|
+
let my = d.filter(item => item.name === '民用').map(f => f.value)
|
|
117
|
+
let fmy = d.filter(item => item.name === '非民用').map(f => f.value)
|
|
118
|
+
console.log('*-*--*-*-*-**-*-*-*-*-', my , fmy)
|
|
119
|
+
this.value1 = my.length > 0 ? my.reduce((x, y) => x + y) : 0
|
|
120
|
+
this.value2 = fmy.length > 0 ? fmy.reduce((x, y) => x + y) : 0
|
|
121
|
+
console.log('~~~~~~~~~~~', this.value1, this.value2)
|
|
122
|
+
this.init()
|
|
123
|
+
})
|
|
124
|
+
},
|
|
125
|
+
props: {}
|
|
126
|
+
}
|
|
127
|
+
</script>
|
|
128
|
+
<style scoped>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
</style>
|
|
132
|
+
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="sell" style="padding: 0.5em">
|
|
3
|
-
<div class="label" style="padding-left:0.4%">
|
|
4
|
-
<span class="font-title">收费</span>
|
|
5
|
-
</div>
|
|
6
|
-
<div id="sell_left">
|
|
7
|
-
<table>
|
|
8
|
-
<tr>
|
|
9
|
-
<td class="td1"><img src="../../../static/NewManageHome/sell_1.png" style="width: 29px"></td>
|
|
10
|
-
<td><nobr><span>当年总售气量</span></nobr><br/> <nobr><span class="s1">{{ resdata1 > 10000 ? (resdata1/10000).toFixed(0) + '万' : resdata1 }}</span></nobr></td>
|
|
11
|
-
</tr>
|
|
12
|
-
<tr>
|
|
13
|
-
<td class="td1"><img src="../../../static/NewManageHome/sell_2.png" style="width: 27px"></td>
|
|
14
|
-
<td><nobr><span>上月总售气量<br/></span></nobr> <span class="s2">{{resdata > 10000 ? (resdata/10000).toFixed(0) + '万' : resdata}}</span></td>
|
|
15
|
-
</tr>
|
|
16
|
-
</table>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<!--</div>-->
|
|
20
|
-
</div>
|
|
21
|
-
</template>
|
|
22
|
-
|
|
23
|
-
<script>
|
|
24
|
-
import {HttpResetClass} from "vue-client";
|
|
25
|
-
|
|
26
|
-
export default {
|
|
27
|
-
name: 'sellEcharts',
|
|
28
|
-
props: {
|
|
29
|
-
listenheight: String,
|
|
30
|
-
f_filiale: String
|
|
31
|
-
},
|
|
32
|
-
data() {
|
|
33
|
-
return {
|
|
34
|
-
xc: '',
|
|
35
|
-
resdata: [],
|
|
36
|
-
resdata1: [],
|
|
37
|
-
totalstring: '',
|
|
38
|
-
safedata: [{value: 0, name: '已完成'}, {value: 0, name: '未完成'}],
|
|
39
|
-
safedatastring: [{value: "", name: '已完成'}, {value: "", name: '未完成'}],
|
|
40
|
-
safeerrordata:[] ,
|
|
41
|
-
hiddenuser:'',
|
|
42
|
-
timer:'',
|
|
43
|
-
timer1:'',
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
ready () {
|
|
47
|
-
this.resize()
|
|
48
|
-
},
|
|
49
|
-
methods:{
|
|
50
|
-
async resize(){
|
|
51
|
-
let http = new HttpResetClass()
|
|
52
|
-
// 收费
|
|
53
|
-
await http.load('post', '/rs/sql/getSellSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
54
|
-
console.log('收费---------------',res)
|
|
55
|
-
this.resdata = res.data[0].gas_day
|
|
56
|
-
this.resdata1 = res.data[0].gas_year
|
|
57
|
-
console.log('收费---------------')
|
|
58
|
-
console.log('收费---------------')
|
|
59
|
-
})
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style scoped>
|
|
67
|
-
.s1 {
|
|
68
|
-
font-family: PingFang-SC-Bold;
|
|
69
|
-
font-size: 26px;
|
|
70
|
-
font-weight: bold;
|
|
71
|
-
font-stretch: normal;
|
|
72
|
-
line-height: 35px;
|
|
73
|
-
letter-spacing: 0px;
|
|
74
|
-
color: #35ffff;
|
|
75
|
-
}
|
|
76
|
-
.s2 {
|
|
77
|
-
font-family: PingFang-SC-Bold;
|
|
78
|
-
font-size: 26px;
|
|
79
|
-
font-weight: bold;
|
|
80
|
-
font-stretch: normal;
|
|
81
|
-
line-height: 35px;
|
|
82
|
-
letter-spacing: 0px;
|
|
83
|
-
color: #e5925e;
|
|
84
|
-
}
|
|
85
|
-
.label {
|
|
86
|
-
margin-left: 6%;
|
|
87
|
-
font-size: 1.85rem;
|
|
88
|
-
float: left;
|
|
89
|
-
color: #fff;
|
|
90
|
-
height: 8%;
|
|
91
|
-
}
|
|
92
|
-
table {
|
|
93
|
-
width: 100%;
|
|
94
|
-
height: 80%;
|
|
95
|
-
border-collapse: collapse;
|
|
96
|
-
}
|
|
97
|
-
td {
|
|
98
|
-
/*width: 94px;*/
|
|
99
|
-
/*height: 120px;*/
|
|
100
|
-
font-size: 1.4rem;
|
|
101
|
-
padding-left: 6%;
|
|
102
|
-
width: 70%;
|
|
103
|
-
height: 50%;
|
|
104
|
-
color: #ffffff;
|
|
105
|
-
}
|
|
106
|
-
.td1 {
|
|
107
|
-
width: 33%;
|
|
108
|
-
text-align: right;
|
|
109
|
-
}
|
|
110
|
-
#sell_left {
|
|
111
|
-
padding: 10% 13% 0% 17%;
|
|
112
|
-
height: 100%;
|
|
113
|
-
width: 100%;
|
|
114
|
-
}
|
|
115
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="sell" style="padding: 0.5em">
|
|
3
|
+
<div class="label" style="padding-left:0.4%">
|
|
4
|
+
<span class="font-title">收费</span>
|
|
5
|
+
</div>
|
|
6
|
+
<div id="sell_left">
|
|
7
|
+
<table>
|
|
8
|
+
<tr>
|
|
9
|
+
<td class="td1"><img src="../../../static/NewManageHome/sell_1.png" style="width: 29px"></td>
|
|
10
|
+
<td><nobr><span>当年总售气量</span></nobr><br/> <nobr><span class="s1">{{ resdata1 > 10000 ? (resdata1/10000).toFixed(0) + '万' : resdata1 }}</span></nobr></td>
|
|
11
|
+
</tr>
|
|
12
|
+
<tr>
|
|
13
|
+
<td class="td1"><img src="../../../static/NewManageHome/sell_2.png" style="width: 27px"></td>
|
|
14
|
+
<td><nobr><span>上月总售气量<br/></span></nobr> <span class="s2">{{resdata > 10000 ? (resdata/10000).toFixed(0) + '万' : resdata}}</span></td>
|
|
15
|
+
</tr>
|
|
16
|
+
</table>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<!--</div>-->
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
import {HttpResetClass} from "vue-client";
|
|
25
|
+
|
|
26
|
+
export default {
|
|
27
|
+
name: 'sellEcharts',
|
|
28
|
+
props: {
|
|
29
|
+
listenheight: String,
|
|
30
|
+
f_filiale: String
|
|
31
|
+
},
|
|
32
|
+
data() {
|
|
33
|
+
return {
|
|
34
|
+
xc: '',
|
|
35
|
+
resdata: [],
|
|
36
|
+
resdata1: [],
|
|
37
|
+
totalstring: '',
|
|
38
|
+
safedata: [{value: 0, name: '已完成'}, {value: 0, name: '未完成'}],
|
|
39
|
+
safedatastring: [{value: "", name: '已完成'}, {value: "", name: '未完成'}],
|
|
40
|
+
safeerrordata:[] ,
|
|
41
|
+
hiddenuser:'',
|
|
42
|
+
timer:'',
|
|
43
|
+
timer1:'',
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
ready () {
|
|
47
|
+
this.resize()
|
|
48
|
+
},
|
|
49
|
+
methods:{
|
|
50
|
+
async resize(){
|
|
51
|
+
let http = new HttpResetClass()
|
|
52
|
+
// 收费
|
|
53
|
+
await http.load('post', '/rs/sql/getSellSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
54
|
+
console.log('收费---------------',res)
|
|
55
|
+
this.resdata = res.data[0].gas_day
|
|
56
|
+
this.resdata1 = res.data[0].gas_year
|
|
57
|
+
console.log('收费---------------')
|
|
58
|
+
console.log('收费---------------')
|
|
59
|
+
})
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style scoped>
|
|
67
|
+
.s1 {
|
|
68
|
+
font-family: PingFang-SC-Bold;
|
|
69
|
+
font-size: 26px;
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
font-stretch: normal;
|
|
72
|
+
line-height: 35px;
|
|
73
|
+
letter-spacing: 0px;
|
|
74
|
+
color: #35ffff;
|
|
75
|
+
}
|
|
76
|
+
.s2 {
|
|
77
|
+
font-family: PingFang-SC-Bold;
|
|
78
|
+
font-size: 26px;
|
|
79
|
+
font-weight: bold;
|
|
80
|
+
font-stretch: normal;
|
|
81
|
+
line-height: 35px;
|
|
82
|
+
letter-spacing: 0px;
|
|
83
|
+
color: #e5925e;
|
|
84
|
+
}
|
|
85
|
+
.label {
|
|
86
|
+
margin-left: 6%;
|
|
87
|
+
font-size: 1.85rem;
|
|
88
|
+
float: left;
|
|
89
|
+
color: #fff;
|
|
90
|
+
height: 8%;
|
|
91
|
+
}
|
|
92
|
+
table {
|
|
93
|
+
width: 100%;
|
|
94
|
+
height: 80%;
|
|
95
|
+
border-collapse: collapse;
|
|
96
|
+
}
|
|
97
|
+
td {
|
|
98
|
+
/*width: 94px;*/
|
|
99
|
+
/*height: 120px;*/
|
|
100
|
+
font-size: 1.4rem;
|
|
101
|
+
padding-left: 6%;
|
|
102
|
+
width: 70%;
|
|
103
|
+
height: 50%;
|
|
104
|
+
color: #ffffff;
|
|
105
|
+
}
|
|
106
|
+
.td1 {
|
|
107
|
+
width: 33%;
|
|
108
|
+
text-align: right;
|
|
109
|
+
}
|
|
110
|
+
#sell_left {
|
|
111
|
+
padding: 10% 13% 0% 17%;
|
|
112
|
+
height: 100%;
|
|
113
|
+
width: 100%;
|
|
114
|
+
}
|
|
115
|
+
</style>
|