แก้ไขเงื่อนไข ในส่วนของแก้ไขประวัติผู้สอบผ่าน
This commit is contained in:
parent
063b9c584a
commit
cff39d85fb
2 changed files with 11 additions and 12 deletions
|
|
@ -360,14 +360,13 @@ const getClass = (val: boolean) => {
|
|||
};
|
||||
};
|
||||
// เรียกดูรายละเอียดข้อมูล
|
||||
const selectData = (pid: string) => {
|
||||
router.push("/placement/personal-detail/" + pid);
|
||||
// if (roleAdmin.value === true) {
|
||||
// personalId.value = pid;
|
||||
// modal.value = true;
|
||||
// } else {
|
||||
// router.push("/placement/personal-detail/" + pid);
|
||||
// }
|
||||
const selectData = (pid: string, draft: string) => {
|
||||
if (roleAdmin.value && draft === 'ส่งตัวแล้ว') {
|
||||
personalId.value = pid;
|
||||
modal.value = true;
|
||||
} else {
|
||||
router.push("/placement/personal-detail/" + pid);
|
||||
}
|
||||
};
|
||||
const getNumFile = ref(0);
|
||||
const dataInfo = reactive({
|
||||
|
|
@ -582,7 +581,7 @@ const pagination = ref({
|
|||
v-for="col in props.cols"
|
||||
:key="col.name"
|
||||
:props="props"
|
||||
@click="selectData(props.row.personalId)"
|
||||
@click="selectData(props.row.personalId, props.row.draft)"
|
||||
class="cursor-pointer"
|
||||
>
|
||||
<template v-if="col.name === 'position'">
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ const close = async () => {
|
|||
<q-card bordered class="card-panding">
|
||||
<div class="row items-center q-pa-xs header-text">การสอบ</div>
|
||||
<div class="row q-pa-xs">
|
||||
<div class="col-6">
|
||||
<!-- <div class="col-6">
|
||||
<q-card class="card-exam q-pa-sm">
|
||||
<div class="row">
|
||||
<div class="col-4 q-pa-xs header-sub-text-exam">
|
||||
|
|
@ -260,8 +260,8 @@ const close = async () => {
|
|||
</div>
|
||||
</q-card>
|
||||
</div>
|
||||
<div class="col-1"></div>
|
||||
<div class="col-5 q-pt-sm q-pl-lg">
|
||||
<div class="col-1"></div> -->
|
||||
<div class="col-6 q-pt-sm q-pl-lg">
|
||||
<div class="row">
|
||||
<div class="col-7 header-sub-text">
|
||||
<div class="q-pb-sm">ผลการสอบ</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue