|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
//获取总共有多少个线别
|
|
|
const groupByLonglineMap = dataList.reduce((result, currentItem) => {
|
|
|
// 使用 key 函数提取分组键
|
|
|
- const groupKey = currentItem["v_licode"];
|
|
|
+ const groupKey = currentItem["v_liname"];
|
|
|
// 初始化分组数组(如果尚未创建)
|
|
|
if (!result[groupKey]) {
|
|
|
result[groupKey] = [];
|
|
|
@@ -74,7 +74,7 @@ export default {
|
|
|
return result;
|
|
|
}, {});
|
|
|
|
|
|
- const longlines = Array.from(new Set(dataList.map(item => item['v_licode']))).join().split(",");
|
|
|
+ const longlines = Array.from(new Set(dataList.map(item => item['v_liname']))).join().split(",");
|
|
|
let seriesdata = new Array();
|
|
|
for (let value of longlines) {
|
|
|
let se = new Object();
|