manage-client 3.1.46 → 3.1.47
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/{7.1 → 4.4}/fileChanges/last-build.bin +0 -0
- package/.gradle/{buildOutputCleanup/outputFiles.bin → 4.4/fileHashes/fileHashes.bin} +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/{7.1 → 6.1}/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/.gradle/{7.1 → 6.1}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/{7.1/dependencies-accessors → 6.1}/gc.properties +0 -0
- package/build/dev-server.js +33 -25
- 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 +317 -317
- package/src/components/SellReport/ChargePrick.vue +284 -284
- package/src/components/SellReport/DepartmentPrick.vue +288 -288
- package/src/components/SellReport/FinanceSellType.vue +254 -254
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/GasMoneyReport.vue +254 -254
- 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 +297 -297
- package/src/components/SellReport/ReportItems.vue +241 -241
- package/src/components/SellReport/SaleMonthReport.vue +227 -227
- package/src/components/SellReport/SellDepReport.vue +251 -251
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserClassify.vue +271 -271
- 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/AccountQuery/ExpectGasList.vue +500 -500
- package/src/components/sale/businessquery/CollectManage.vue +135 -135
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/FillGasQuery.vue +491 -491
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- 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/sale/config/exportConfig.js +879 -879
- package/src/components/sale/filesquery/DeviceQuery.vue +524 -524
- 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 -597
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +220 -210
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +171 -171
- package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +288 -275
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
- package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +213 -213
- package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +240 -240
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +283 -218
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
- 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 +1241 -1241
- package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
- package/src/filiale/jingzhou/config/exportConfig.js +861 -861
- package/src/filiale/liaoyuan/ChargeQuery.vue +1284 -1284
- package/src/filiale/liaoyuan/exportConfig.js +718 -718
- 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/ChargeQuery.vue +1034 -1034
- package/src/filiale/shaoguan/OtherChargeQuery.vue +596 -596
- package/src/filiale/shaoguan/config/exportConfig.js +433 -433
- package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -41
- package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -290
- package/src/filiale/shaoguan/sale.js +35 -35
- package/src/filiale/tongchuan/ManageBusSummary.vue +302 -302
- package/src/main.js +1 -1
- package/src/newmanage.js +525 -525
- package/src/reportManage.js +470 -470
- package/static/wuhai.json +1610 -1610
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/configuration-cache/gc.properties +0 -0
|
@@ -1,233 +1,233 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="safecheck-barchart" 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
|
-
xData: [],
|
|
14
|
-
yData1: [],
|
|
15
|
-
yData2: []
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
methods: {
|
|
19
|
-
async resize(){
|
|
20
|
-
let http = new HttpResetClass()
|
|
21
|
-
// 收费
|
|
22
|
-
await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
23
|
-
this.xData = res.data.map(item => item.time)
|
|
24
|
-
this.yData1 = res.data.map(item => item.allnum)
|
|
25
|
-
this.yData2 = res.data.map(item => item.sucnum)
|
|
26
|
-
this.init()
|
|
27
|
-
})
|
|
28
|
-
},
|
|
29
|
-
init() {
|
|
30
|
-
var xData = this.xData,
|
|
31
|
-
// ['1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
32
|
-
yData1 = this.yData1,
|
|
33
|
-
// [60871, 0, 2, 26946, 108042, 136004, 156401, 164792, 83286],
|
|
34
|
-
yData2 = this.yData2,
|
|
35
|
-
// [35337, 0, 2, 15514, 72138, 78966, 101071, 110397, 58137],
|
|
36
|
-
borderData = [],
|
|
37
|
-
legend = ['计划安检量', '正常入户量'],
|
|
38
|
-
colorArr = [{
|
|
39
|
-
start: 'rgba(242,153,97)',
|
|
40
|
-
mid: 'rgba(242,153,97,0.7)',
|
|
41
|
-
end: 'rgba(0, 0, 0,0.5)'
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
end: 'rgba(0, 0, 0,0.5)',
|
|
45
|
-
mid: 'rgba(111,217,208,0.7)',
|
|
46
|
-
start: 'rgba(111,217,208)'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
color: '#00EAFF'
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
let normalColor = 'rgba(8,115,142)'
|
|
53
|
-
let seriesData = []
|
|
54
|
-
var borderHeight = 4
|
|
55
|
-
xData.forEach(element => {
|
|
56
|
-
borderData.push(borderHeight)
|
|
57
|
-
});
|
|
58
|
-
[yData1, yData2].forEach((item, index) => {
|
|
59
|
-
var obj1 = {}
|
|
60
|
-
obj1 = {
|
|
61
|
-
name: legend[index],
|
|
62
|
-
type: 'bar',
|
|
63
|
-
stack: legend[index],
|
|
64
|
-
data: item,
|
|
65
|
-
barWidth: '10%',
|
|
66
|
-
itemStyle: {
|
|
67
|
-
normal: {
|
|
68
|
-
barBorderRadius: [30, 30, 30, 30],
|
|
69
|
-
color: {
|
|
70
|
-
type: 'linear',
|
|
71
|
-
x: 0,
|
|
72
|
-
y: 0,
|
|
73
|
-
x2: 0,
|
|
74
|
-
y2: 1,
|
|
75
|
-
colorStops: [{
|
|
76
|
-
offset: 0,
|
|
77
|
-
color: colorArr[index].start
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
offset: 0.5,
|
|
81
|
-
color: colorArr[index].mid
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
offset: 1,
|
|
85
|
-
color: colorArr[index].end
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
globalCoord: false
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
seriesData.push(obj1)
|
|
94
|
-
})
|
|
95
|
-
console.log(seriesData)
|
|
96
|
-
// 更改柱状图位置
|
|
97
|
-
let option = {
|
|
98
|
-
backgroundColor: '#ffffff00',
|
|
99
|
-
grid: {
|
|
100
|
-
left: '2%',
|
|
101
|
-
top: '2%',
|
|
102
|
-
right: '7%',
|
|
103
|
-
bottom: '20%',
|
|
104
|
-
containLabel: true
|
|
105
|
-
},
|
|
106
|
-
legend: {
|
|
107
|
-
show: true,
|
|
108
|
-
icon: 'rect',
|
|
109
|
-
itemWidth: 30,
|
|
110
|
-
itemHeight: 20,
|
|
111
|
-
right: 'center',
|
|
112
|
-
bottom: '7%',
|
|
113
|
-
textStyle: {
|
|
114
|
-
color: '#fff'
|
|
115
|
-
},
|
|
116
|
-
data: legend
|
|
117
|
-
},
|
|
118
|
-
tooltip: {
|
|
119
|
-
position: function (pos, params, dom, rect, size) {
|
|
120
|
-
let yPos = '20%'
|
|
121
|
-
let xPos = 0
|
|
122
|
-
if (pos[0] < size.viewSize[0] / 2) {
|
|
123
|
-
xPos = pos[0] + 10
|
|
124
|
-
} else {
|
|
125
|
-
xPos = pos[0] - dom.offsetWidth - 10
|
|
126
|
-
}
|
|
127
|
-
return [xPos, yPos]
|
|
128
|
-
},
|
|
129
|
-
trigger: 'axis',
|
|
130
|
-
extraCssText: 'width: auto;height: auto;',
|
|
131
|
-
formatter: function (params) {
|
|
132
|
-
var str = ''
|
|
133
|
-
for (var i = 0; i < params.length; i++) {
|
|
134
|
-
if (params[i].seriesName !== '') {
|
|
135
|
-
str += `<span>${params[i].name}月${params[i].seriesName}</span><span style="color:gold">${params[i].value}</span> <br />`
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
return str
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
xAxis: [{
|
|
142
|
-
name: '近6月',
|
|
143
|
-
type: 'category',
|
|
144
|
-
data: xData,
|
|
145
|
-
nameTextStyle: {
|
|
146
|
-
color: '#95bad7',
|
|
147
|
-
fontSize: 12
|
|
148
|
-
},
|
|
149
|
-
interval: 0,
|
|
150
|
-
axisPointer: {
|
|
151
|
-
type: 'shadow'
|
|
152
|
-
},
|
|
153
|
-
axisLabel: {
|
|
154
|
-
textStyle: {
|
|
155
|
-
color: normalColor,
|
|
156
|
-
fontSize: '1vw'
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
axisLine: {
|
|
160
|
-
lineStyle: {
|
|
161
|
-
color: normalColor
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
axisTick: {
|
|
165
|
-
show: false
|
|
166
|
-
},
|
|
167
|
-
splitLine: {
|
|
168
|
-
show: false
|
|
169
|
-
}
|
|
170
|
-
}],
|
|
171
|
-
yAxis: [{
|
|
172
|
-
type: 'value',
|
|
173
|
-
nameTextStyle: {
|
|
174
|
-
color: normalColor,
|
|
175
|
-
fontSize: 12
|
|
176
|
-
},
|
|
177
|
-
// 'min': 0,
|
|
178
|
-
// 'max': 50,
|
|
179
|
-
axisLabel: {
|
|
180
|
-
formatter: '{value}',
|
|
181
|
-
textStyle: {
|
|
182
|
-
color: normalColor,
|
|
183
|
-
fontSize: 12
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
axisLine: {
|
|
187
|
-
lineStyle: {
|
|
188
|
-
color: normalColor
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
axisTick: {
|
|
192
|
-
show: false
|
|
193
|
-
},
|
|
194
|
-
splitLine: {
|
|
195
|
-
show: true,
|
|
196
|
-
lineStyle: {
|
|
197
|
-
type: 'dashed',
|
|
198
|
-
color: normalColor
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}],
|
|
202
|
-
series: seriesData
|
|
203
|
-
}
|
|
204
|
-
console.log(option)
|
|
205
|
-
let barchart = this.$echarts.init(document.getElementById('safecheck-barchart'))
|
|
206
|
-
console.log(option)
|
|
207
|
-
barchart.setOption(option)
|
|
208
|
-
var index = 0
|
|
209
|
-
// var mTime = setInterval(function () {
|
|
210
|
-
// barchart.dispatchAction({
|
|
211
|
-
// type: 'showTip',
|
|
212
|
-
// seriesIndex: 0,
|
|
213
|
-
// dataIndex: index
|
|
214
|
-
// })
|
|
215
|
-
// index++
|
|
216
|
-
// if (index > xData.length) {
|
|
217
|
-
// index = 0
|
|
218
|
-
// }
|
|
219
|
-
// }, 1000)
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
ready() {
|
|
223
|
-
this.resize()
|
|
224
|
-
},
|
|
225
|
-
props: {}
|
|
226
|
-
}
|
|
227
|
-
</script>
|
|
228
|
-
<style scoped>
|
|
229
|
-
/*div{*/
|
|
230
|
-
/*height: auto;*/
|
|
231
|
-
/*}*/
|
|
232
|
-
</style>
|
|
233
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id="safecheck-barchart" 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
|
+
xData: [],
|
|
14
|
+
yData1: [],
|
|
15
|
+
yData2: []
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
methods: {
|
|
19
|
+
async resize(){
|
|
20
|
+
let http = new HttpResetClass()
|
|
21
|
+
// 收费
|
|
22
|
+
await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
|
|
23
|
+
this.xData = res.data.map(item => item.time)
|
|
24
|
+
this.yData1 = res.data.map(item => item.allnum)
|
|
25
|
+
this.yData2 = res.data.map(item => item.sucnum)
|
|
26
|
+
this.init()
|
|
27
|
+
})
|
|
28
|
+
},
|
|
29
|
+
init() {
|
|
30
|
+
var xData = this.xData,
|
|
31
|
+
// ['1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
32
|
+
yData1 = this.yData1,
|
|
33
|
+
// [60871, 0, 2, 26946, 108042, 136004, 156401, 164792, 83286],
|
|
34
|
+
yData2 = this.yData2,
|
|
35
|
+
// [35337, 0, 2, 15514, 72138, 78966, 101071, 110397, 58137],
|
|
36
|
+
borderData = [],
|
|
37
|
+
legend = ['计划安检量', '正常入户量'],
|
|
38
|
+
colorArr = [{
|
|
39
|
+
start: 'rgba(242,153,97)',
|
|
40
|
+
mid: 'rgba(242,153,97,0.7)',
|
|
41
|
+
end: 'rgba(0, 0, 0,0.5)'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
end: 'rgba(0, 0, 0,0.5)',
|
|
45
|
+
mid: 'rgba(111,217,208,0.7)',
|
|
46
|
+
start: 'rgba(111,217,208)'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
color: '#00EAFF'
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
let normalColor = 'rgba(8,115,142)'
|
|
53
|
+
let seriesData = []
|
|
54
|
+
var borderHeight = 4
|
|
55
|
+
xData.forEach(element => {
|
|
56
|
+
borderData.push(borderHeight)
|
|
57
|
+
});
|
|
58
|
+
[yData1, yData2].forEach((item, index) => {
|
|
59
|
+
var obj1 = {}
|
|
60
|
+
obj1 = {
|
|
61
|
+
name: legend[index],
|
|
62
|
+
type: 'bar',
|
|
63
|
+
stack: legend[index],
|
|
64
|
+
data: item,
|
|
65
|
+
barWidth: '10%',
|
|
66
|
+
itemStyle: {
|
|
67
|
+
normal: {
|
|
68
|
+
barBorderRadius: [30, 30, 30, 30],
|
|
69
|
+
color: {
|
|
70
|
+
type: 'linear',
|
|
71
|
+
x: 0,
|
|
72
|
+
y: 0,
|
|
73
|
+
x2: 0,
|
|
74
|
+
y2: 1,
|
|
75
|
+
colorStops: [{
|
|
76
|
+
offset: 0,
|
|
77
|
+
color: colorArr[index].start
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
offset: 0.5,
|
|
81
|
+
color: colorArr[index].mid
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
offset: 1,
|
|
85
|
+
color: colorArr[index].end
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
globalCoord: false
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
seriesData.push(obj1)
|
|
94
|
+
})
|
|
95
|
+
console.log(seriesData)
|
|
96
|
+
// 更改柱状图位置
|
|
97
|
+
let option = {
|
|
98
|
+
backgroundColor: '#ffffff00',
|
|
99
|
+
grid: {
|
|
100
|
+
left: '2%',
|
|
101
|
+
top: '2%',
|
|
102
|
+
right: '7%',
|
|
103
|
+
bottom: '20%',
|
|
104
|
+
containLabel: true
|
|
105
|
+
},
|
|
106
|
+
legend: {
|
|
107
|
+
show: true,
|
|
108
|
+
icon: 'rect',
|
|
109
|
+
itemWidth: 30,
|
|
110
|
+
itemHeight: 20,
|
|
111
|
+
right: 'center',
|
|
112
|
+
bottom: '7%',
|
|
113
|
+
textStyle: {
|
|
114
|
+
color: '#fff'
|
|
115
|
+
},
|
|
116
|
+
data: legend
|
|
117
|
+
},
|
|
118
|
+
tooltip: {
|
|
119
|
+
position: function (pos, params, dom, rect, size) {
|
|
120
|
+
let yPos = '20%'
|
|
121
|
+
let xPos = 0
|
|
122
|
+
if (pos[0] < size.viewSize[0] / 2) {
|
|
123
|
+
xPos = pos[0] + 10
|
|
124
|
+
} else {
|
|
125
|
+
xPos = pos[0] - dom.offsetWidth - 10
|
|
126
|
+
}
|
|
127
|
+
return [xPos, yPos]
|
|
128
|
+
},
|
|
129
|
+
trigger: 'axis',
|
|
130
|
+
extraCssText: 'width: auto;height: auto;',
|
|
131
|
+
formatter: function (params) {
|
|
132
|
+
var str = ''
|
|
133
|
+
for (var i = 0; i < params.length; i++) {
|
|
134
|
+
if (params[i].seriesName !== '') {
|
|
135
|
+
str += `<span>${params[i].name}月${params[i].seriesName}</span><span style="color:gold">${params[i].value}</span> <br />`
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return str
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
xAxis: [{
|
|
142
|
+
name: '近6月',
|
|
143
|
+
type: 'category',
|
|
144
|
+
data: xData,
|
|
145
|
+
nameTextStyle: {
|
|
146
|
+
color: '#95bad7',
|
|
147
|
+
fontSize: 12
|
|
148
|
+
},
|
|
149
|
+
interval: 0,
|
|
150
|
+
axisPointer: {
|
|
151
|
+
type: 'shadow'
|
|
152
|
+
},
|
|
153
|
+
axisLabel: {
|
|
154
|
+
textStyle: {
|
|
155
|
+
color: normalColor,
|
|
156
|
+
fontSize: '1vw'
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
axisLine: {
|
|
160
|
+
lineStyle: {
|
|
161
|
+
color: normalColor
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
axisTick: {
|
|
165
|
+
show: false
|
|
166
|
+
},
|
|
167
|
+
splitLine: {
|
|
168
|
+
show: false
|
|
169
|
+
}
|
|
170
|
+
}],
|
|
171
|
+
yAxis: [{
|
|
172
|
+
type: 'value',
|
|
173
|
+
nameTextStyle: {
|
|
174
|
+
color: normalColor,
|
|
175
|
+
fontSize: 12
|
|
176
|
+
},
|
|
177
|
+
// 'min': 0,
|
|
178
|
+
// 'max': 50,
|
|
179
|
+
axisLabel: {
|
|
180
|
+
formatter: '{value}',
|
|
181
|
+
textStyle: {
|
|
182
|
+
color: normalColor,
|
|
183
|
+
fontSize: 12
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
axisLine: {
|
|
187
|
+
lineStyle: {
|
|
188
|
+
color: normalColor
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
axisTick: {
|
|
192
|
+
show: false
|
|
193
|
+
},
|
|
194
|
+
splitLine: {
|
|
195
|
+
show: true,
|
|
196
|
+
lineStyle: {
|
|
197
|
+
type: 'dashed',
|
|
198
|
+
color: normalColor
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}],
|
|
202
|
+
series: seriesData
|
|
203
|
+
}
|
|
204
|
+
console.log(option)
|
|
205
|
+
let barchart = this.$echarts.init(document.getElementById('safecheck-barchart'))
|
|
206
|
+
console.log(option)
|
|
207
|
+
barchart.setOption(option)
|
|
208
|
+
var index = 0
|
|
209
|
+
// var mTime = setInterval(function () {
|
|
210
|
+
// barchart.dispatchAction({
|
|
211
|
+
// type: 'showTip',
|
|
212
|
+
// seriesIndex: 0,
|
|
213
|
+
// dataIndex: index
|
|
214
|
+
// })
|
|
215
|
+
// index++
|
|
216
|
+
// if (index > xData.length) {
|
|
217
|
+
// index = 0
|
|
218
|
+
// }
|
|
219
|
+
// }, 1000)
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
ready() {
|
|
223
|
+
this.resize()
|
|
224
|
+
},
|
|
225
|
+
props: {}
|
|
226
|
+
}
|
|
227
|
+
</script>
|
|
228
|
+
<style scoped>
|
|
229
|
+
/*div{*/
|
|
230
|
+
/*height: auto;*/
|
|
231
|
+
/*}*/
|
|
232
|
+
</style>
|
|
233
|
+
|