รวมไฟล์แก้งานงวด2
This commit is contained in:
parent
79889c9464
commit
2249097b07
89 changed files with 11287 additions and 7048 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<!-- page:จัดการรอบการคัดเลือกผู้พิการ สรรหา -->
|
||||
<!-- page:จัดการรอบคัดเลือกคนพิการ สรรหา -->
|
||||
<template>
|
||||
<div class="toptitle text-dark col-12 row items-center">
|
||||
<q-btn
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
@click="clickBack"
|
||||
/>
|
||||
{{
|
||||
edit ? "แก้ไขข้อมูลการคัดเลือกผู้พิการ" : "เพิ่มข้อมูลการคัดเลือกผู้พิการ"
|
||||
edit ? "แก้ไขข้อมูลการคัดเลือกคนพิการ" : "เพิ่มข้อมูลการคัดเลือกคนพิการ"
|
||||
}}
|
||||
</div>
|
||||
<q-card flat bordered class="col-12">
|
||||
|
|
@ -24,13 +24,12 @@
|
|||
<q-input
|
||||
outlined
|
||||
v-model="name"
|
||||
label="ชื่อรอบการคัดเลือกผู้พิการ/ชื่อประกาศ"
|
||||
label="ชื่อรอบคัดเลือกคนพิการ/ชื่อประกาศ"
|
||||
dense
|
||||
lazy-rules
|
||||
:rules="[
|
||||
(val) =>
|
||||
!!val ||
|
||||
`${'กรุณากรอกชื่อรอบการคัดเลือกผู้พิการ/ชื่อประกาศ'}`,
|
||||
!!val || `${'กรุณากรอกชื่อรอบคัดเลือกคนพิการ/ชื่อประกาศ'}`,
|
||||
]"
|
||||
></q-input>
|
||||
</div>
|
||||
|
|
@ -836,7 +835,7 @@ const addData = async () => {
|
|||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
id.value = data;
|
||||
success($q, "บันทึกรอบการสอบผู้พิการสำเร็จ");
|
||||
success($q, "บันทึกรอบการสอบคนพิการสำเร็จ");
|
||||
await uploadImgData();
|
||||
await uploadDocData();
|
||||
clickBack();
|
||||
|
|
@ -854,7 +853,7 @@ const editData = async (id: string) => {
|
|||
await http
|
||||
.put(config.API.editDisablePeriod(id), sendData())
|
||||
.then(async () => {
|
||||
success($q, "แก้ไขรอบการสอบผู้พิการสำเร็จ");
|
||||
success($q, "แก้ไขรอบการสอบคนพิการสำเร็จ");
|
||||
await uploadImgData();
|
||||
await uploadDocData();
|
||||
clickBack();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue