const getSummaries = (param) => {
const { columns,data } = param
const sums = []
columns.forEach((cloumn, index) => {
switch (index) {
case 0:
sums[index] = "合计"
break;
case 3:
sums[index] = “接口数据”
break;
case 4:
sums[index] = “接口数据”
break;
default:
break;
}
});
return sums
}