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

View file

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

View file

@ -7,7 +7,7 @@
outlined
:model-value="inputvisibleFilter"
:options="optionsFilter"
class="col-xs-12 col-sm-4 col-md-3"
class="col-2"
option-value="id"
option-label="name"
map-options
@ -15,6 +15,19 @@
@update:model-value="updateVisibleFilter"
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
v-model="files"
dense
@ -23,7 +36,7 @@
use-chips
multiple
v-if="statusPayment"
class="q-pl-sm"
class="q-pl-lg"
>
<template v-slot:prepend>
<q-icon name="attach_file" color="blue" />
@ -69,19 +82,6 @@
>
<q-tooltip>บรรจานการคดเลอก</q-tooltip>
</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 />
<div class="items-center" style="display: flex">
<!-- นหาขอความใน table -->

View file

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

View file

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