|
@@ -60,6 +60,7 @@
|
60
|
60
|
:left="40"
|
61
|
61
|
:legendTop="0"
|
62
|
62
|
yAxisName="(车次)"
|
|
63
|
+ :xlabelFormat="xLabelFormat1"
|
63
|
64
|
:dataset="linedata"
|
64
|
65
|
:tooltipFormat="lineTooltipFormat1"
|
65
|
66
|
:encode="[
|
|
@@ -148,7 +149,7 @@
|
148
|
149
|
<div style="width: 33%;height: 200px;">
|
149
|
150
|
<h5 style="color: white">动态信息监控</h5>
|
150
|
151
|
<el-table :data="tableData2" style="background: #2a2a2a;border-color: #333;">
|
151
|
|
- <el-table-column v-for="(item, index) in columns2" :key="index" :label="item.label" :prop="item.key">
|
|
152
|
+ <el-table-column v-for="(item, index) in columns2" show-overflow-tooltip :key="index" :label="item.label" :prop="item.key">
|
152
|
153
|
</el-table-column>
|
153
|
154
|
</el-table>
|
154
|
155
|
<div class="table-pagination">
|
|
@@ -278,6 +279,10 @@ export default {
|
278
|
279
|
clearInterval(this.interval)
|
279
|
280
|
},
|
280
|
281
|
methods: {
|
|
282
|
+ xLabelFormat1(name) {
|
|
283
|
+ var str = name.split("");
|
|
284
|
+ return str.join("\n");
|
|
285
|
+ },
|
281
|
286
|
dashAccessDataAnalysisStat1(){
|
282
|
287
|
api_l.dashAccessDataAnalysisStat1().then(res =>{
|
283
|
288
|
this.bardata = res.data
|