ปริ้นรูปใบสมัคร

This commit is contained in:
Kittapath 2023-04-27 16:13:28 +07:00
parent 3b4df7e4c6
commit ef8586f870

View file

@ -195,11 +195,13 @@ const fetchStatus = async () => {
scoreCFull.value = data.pointTotalC
scoreC.value = data.pointC
scoreSumFull.value =
data.pointTotalB == null || data.pointTotalC
data.pointTotalB == null || data.pointTotalC == null
? null
: parseInt(data.pointTotalB) + parseInt(data.pointTotalC)
scoreSum.value =
data.pointB == null || data.pointC ? null : parseInt(data.pointB) + parseInt(data.pointC)
data.pointB == null || data.pointC == null
? null
: parseInt(data.pointB) + parseInt(data.pointC)
scoreC.value = data.pointC
examResultinscore.value = data.pass
avatar.value = data.avatar
@ -212,7 +214,9 @@ const fetchStatus = async () => {
})
}
const download = () => {}
const download = () => {
window.print()
}
const getClass = (val: string) => {
return val == 'done' || val == 'checkPoint' ? 'bg-green-1' : 'bg-yellow-2'