refactor(recruiting): add rootDnaId to disable and compete API payloads
This commit is contained in:
parent
7d1bfd33ff
commit
baadd296cb
5 changed files with 27 additions and 9 deletions
|
|
@ -309,8 +309,8 @@ async function fetchData(actionType?: string) {
|
|||
if (data.length > 0) {
|
||||
data.map((r: ResponseRecruitPeriod) => {
|
||||
if (r.score != null) {
|
||||
r.scoreCount = r.score.scoreCount;
|
||||
r.scoreImportDate = r.score.importDate;
|
||||
r.scoreCount = r.score.scoreCount ? r.score.scoreCount : 0;
|
||||
r.scoreImportDate = r.score.importDate ? r.score.importDate : "-";
|
||||
}
|
||||
result.push(r);
|
||||
});
|
||||
|
|
@ -715,7 +715,11 @@ onMounted(async () => {
|
|||
<q-tooltip>นำเข้าไฟล์ผลคะแนนสอบ</q-tooltip>
|
||||
</q-btn>
|
||||
<div v-else>
|
||||
{{ props.row.score.scoreCount.toLocaleString() }}
|
||||
{{
|
||||
props.row.score
|
||||
? props.row.score.scoreCount.toLocaleString()
|
||||
: "-"
|
||||
}}
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrIsUpdate"
|
||||
dense
|
||||
|
|
@ -750,7 +754,11 @@ onMounted(async () => {
|
|||
<q-tooltip>นำเข้าไฟล์ผลการสอบ (บัญชีรายชื่อ)</q-tooltip>
|
||||
</q-btn>
|
||||
<div v-else>
|
||||
{{ props.row.score.resultCount.toLocaleString() }}
|
||||
{{
|
||||
props.row.score
|
||||
? props.row.score.resultCount.toLocaleString()
|
||||
: "-"
|
||||
}}
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrIsUpdate"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue