|
@@ -281,7 +281,7 @@ export default {
|
|
|
return user.userName || '-'
|
|
return user.userName || '-'
|
|
|
},
|
|
},
|
|
|
transformTime (timeStamp) {
|
|
transformTime (timeStamp) {
|
|
|
- if (timeStamp === '不限') return timeStamp
|
|
|
|
|
|
|
+ if (timeStamp === '不限' || !timeStamp) return '不限'
|
|
|
const hours = Math.floor(parseInt(timeStamp) / 3600000)
|
|
const hours = Math.floor(parseInt(timeStamp) / 3600000)
|
|
|
const minutes = Math.floor((parseInt(timeStamp) % 3600000) / 60000)
|
|
const minutes = Math.floor((parseInt(timeStamp) % 3600000) / 60000)
|
|
|
return hours + '小时' + minutes + '分钟'
|
|
return hours + '小时' + minutes + '分钟'
|
|
@@ -322,7 +322,7 @@ export default {
|
|
|
result[index].statusList.push(item.paperState)
|
|
result[index].statusList.push(item.paperState)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- const nodatadesc = '无已完成考试'
|
|
|
|
|
|
|
+ const nodatadesc = '/'
|
|
|
result.forEach((item, index) => {
|
|
result.forEach((item, index) => {
|
|
|
const finishScore = item.scoreList.filter(i => i !== -1)
|
|
const finishScore = item.scoreList.filter(i => i !== -1)
|
|
|
item.userName = this.transformUser(item.examineeId)
|
|
item.userName = this.transformUser(item.examineeId)
|