ปิด upload เอกสารสอบคัดเลือก

This commit is contained in:
Kittapath 2023-10-04 17:34:39 +07:00
parent 6bb6fd26e5
commit c0efcf59ce
5 changed files with 43 additions and 36 deletions

View file

@ -2,11 +2,7 @@
<template> <template>
<HeaderTop <HeaderTop
v-model:edit="edit" v-model:edit="edit"
:header=" :header="$q.screen.gt.xs ? 'อัปโหลดเอกสาร (ถ้ามี)' : 'อัปโหลดเอกสาร'"
$q.screen.gt.xs
? 'Upload รูปถ่าย (รูปถ่ายหน้าตรง ชุดสุภาพ ไม่สวมหมวก/แว่นตาดำ และไม่มีลวดลายใด ๆ บนรูปถ่าย)'
: 'Upload'
"
icon="mdi-file-document" icon="mdi-file-document"
:addData="true" :addData="true"
:editOnly="false" :editOnly="false"

View file

@ -47,10 +47,10 @@
<Career :status="status" /> <Career :status="status" />
</div> </div>
<q-separator class="q-my-lg bg-gray" size="5px" /> <!-- <q-separator class="q-my-lg bg-gray" size="5px" /> -->
<div class="q-px-sm"> <!-- <div class="q-px-sm">
<Document :status="status" /> <Document :status="status" />
</div> </div> -->
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted, watch } from "vue"; import { ref, onMounted, watch } from "vue";

View file

@ -7,7 +7,7 @@
outlined outlined
:model-value="inputvisibleFilter" :model-value="inputvisibleFilter"
:options="optionsFilter" :options="optionsFilter"
class="col-xs-12 col-sm-4 col-md-3" class="col-2"
option-value="id" option-value="id"
option-label="name" option-label="name"
map-options map-options
@ -15,6 +15,19 @@
@update:model-value="updateVisibleFilter" @update:model-value="updateVisibleFilter"
v-if="optionsFilter != undefined && optionsFilter.length > 0" v-if="optionsFilter != undefined && optionsFilter.length > 0"
/> />
<q-btn
size="md"
icon="mdi-email-check-outline"
round
flat
color="green-6"
@click="candidateCheckProfileDialog"
:disabled="
attrs.rows.filter((r) => r.status == 'checkRegister').length == 0
"
>
<q-tooltip>ตรวจสอบขอม</q-tooltip>
</q-btn>
<q-file <q-file
v-model="files" v-model="files"
dense dense
@ -23,7 +36,7 @@
use-chips use-chips
multiple multiple
v-if="statusPayment" v-if="statusPayment"
class="q-pl-sm" class="q-pl-lg"
> >
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="attach_file" color="blue" /> <q-icon name="attach_file" color="blue" />
@ -69,19 +82,6 @@
> >
<q-tooltip>บรรจานการคดเลอก</q-tooltip> <q-tooltip>บรรจานการคดเลอก</q-tooltip>
</q-btn> </q-btn>
<q-btn
size="md"
icon="mdi-email-check-outline"
round
flat
color="green-6"
@click="candidateCheckProfileDialog"
:disabled="
attrs.rows.filter((r) => r.status == 'checkRegister').length == 0
"
>
<q-tooltip>ตรวจสอบขอม</q-tooltip>
</q-btn>
<q-space /> <q-space />
<div class="items-center" style="display: flex"> <div class="items-center" style="display: flex">
<!-- นหาขอความใน table --> <!-- นหาขอความใน table -->

View file

@ -464,13 +464,13 @@
<q-td key="highDegree" :props="props"> <q-td key="highDegree" :props="props">
<q-radio <q-radio
v-model="props.row.highDegree" v-model="props.row.highDegree"
label="ต่ำกว่าปริญญาบัตร" label="ประเภททั่วไป"
color="teal" color="teal"
val="0" val="0"
/> />
<q-radio <q-radio
v-model="props.row.highDegree" v-model="props.row.highDegree"
label="ปริญญาบัตรขึ้นไป" label="ประเภทวิชาการ"
color="teal" color="teal"
val="1" val="1"
/> />
@ -1316,7 +1316,7 @@ const columnsPosition = ref<QTableProps["columns"]>([
{ {
name: "highDegree", name: "highDegree",
align: "left", align: "left",
label: "วุฒิการศึกษา", label: "ประเภทตำแหน่ง",
sortable: true, sortable: true,
field: "highDegree", field: "highDegree",
headerStyle: "font-size: 14px", headerStyle: "font-size: 14px",

View file

@ -335,6 +335,7 @@ const visibleColumns = ref<String[]>([
// "check", // "check",
"no", "no",
"number", "number",
"position",
"registerDate", "registerDate",
"examIdenNumber", "examIdenNumber",
"seatNumber", "seatNumber",
@ -410,6 +411,15 @@ const columns = ref<QTableProps["columns"]>([
sensitivity: "base", sensitivity: "base",
}), }),
}, },
{
name: "position",
align: "left",
label: "ตำแหน่ง",
sortable: true,
field: "position",
headerStyle: "font-size: 14px; min-width: 200px",
style: "font-size: 14px; ",
},
{ {
name: "citizenId", name: "citizenId",
align: "left", align: "left",
@ -428,15 +438,6 @@ const columns = ref<QTableProps["columns"]>([
headerStyle: "font-size: 14px; min-width: 200px", headerStyle: "font-size: 14px; min-width: 200px",
style: "font-size: 14px; ", style: "font-size: 14px; ",
}, },
{
name: "number",
align: "left",
label: "ลำดับที่สอบได้",
sortable: true,
field: "number",
headerStyle: "font-size: 14px;",
style: "font-size: 14px; ",
},
{ {
name: "examIdenNumber", name: "examIdenNumber",
align: "left", align: "left",
@ -449,12 +450,21 @@ const columns = ref<QTableProps["columns"]>([
{ {
name: "seatNumber", name: "seatNumber",
align: "left", align: "left",
label: "เลขที่นั่งสอบ", label: "สนามสอบ",
sortable: true, sortable: true,
field: "seatNumber", field: "seatNumber",
headerStyle: "font-size: 14px;", headerStyle: "font-size: 14px;",
style: "font-size: 14px; ", style: "font-size: 14px; ",
}, },
{
name: "number",
align: "left",
label: "ลำดับที่สอบได้",
sortable: true,
field: "number",
headerStyle: "font-size: 14px;",
style: "font-size: 14px; ",
},
{ {
name: "resultB", name: "resultB",
align: "left", align: "left",
@ -574,6 +584,7 @@ const fetchData = async () => {
pass: r.pass, pass: r.pass,
email: r.email, email: r.email,
status: r.status, status: r.status,
position: r.positionExam == null ? "-" : r.positionExam.positionName,
check: false, check: false,
}); });
}); });