|
|
@ -198,7 +198,8 @@ function getSummaries({ columns, data }) { |
|
|
|
const values = data.map((item) => Number(item[column.property])) |
|
|
|
const values = data.map((item) => Number(item[column.property])) |
|
|
|
if (!values.every((value) => Number.isNaN(value))) { |
|
|
|
if (!values.every((value) => Number.isNaN(value))) { |
|
|
|
if (column.property == 'weightSocre') { |
|
|
|
if (column.property == 'weightSocre') { |
|
|
|
sums[index] = 5.6 |
|
|
|
const employee = employeeOptions.value.find((it) => it.examinedUser == employeeId.value) |
|
|
|
|
|
|
|
sums[index] = employee.scoreTotal + '分' |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
sums[index] = '' |
|
|
|
sums[index] = '' |
|
|
|
} |
|
|
|
} |
|
|
|