This commit is contained in:
qsh
2024-12-30 18:05:58 +08:00
parent f70cdfb074
commit e10fedb4dc
2 changed files with 4 additions and 3 deletions

View File

@@ -4,8 +4,8 @@ VITE_NODE_ENV=development
VITE_DEV=true VITE_DEV=true
# 请求路径 # 请求路径
VITE_BASE_URL='http://118.31.23.45:48080' # VITE_BASE_URL='http://118.31.23.45:48080'
# VITE_BASE_URL='http://114.55.169.15:48080' VITE_BASE_URL='http://114.55.169.15:48080'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload' VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload'

View File

@@ -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] = ''
} }