Merge branch 'develop' into dev-tee
This commit is contained in:
commit
26ff227bdc
11 changed files with 52 additions and 48 deletions
|
|
@ -14,10 +14,10 @@
|
|||
<div class="text-black text-bold q-pl-sm">{{ examNumber }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="">เลขที่นั่งสอบ :</div>
|
||||
<div class="">สนามสอบ :</div>
|
||||
<div class="text-black text-bold q-pl-sm">{{ examSeat }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- <div class="row">
|
||||
<div class="">วันสอบ :</div>
|
||||
<div class="text-black text-bold q-pl-sm">5 มิ.ย. 2566</div>
|
||||
</div>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
<div class="row">
|
||||
<div class="">ชุดข้อสอบ :</div>
|
||||
<div class="text-black text-bold q-pl-sm">0506-1/2566</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<q-card-section class="col-3">
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
attrs.rows.filter((r) => r.status == 'checkRegister').length == 0
|
||||
"
|
||||
>
|
||||
<q-tooltip>ตรวจสอบข้อมูล</q-tooltip>
|
||||
<q-tooltip>ตรวจสอบข้อมูล/ได้รับใบสมัครแล้ว</q-tooltip>
|
||||
</q-btn>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
checked-icon="task_alt"
|
||||
unchecked-icon="panorama_fish_eye"
|
||||
val="1"
|
||||
label="ผ่านการตรวจสอบคุณสมบัติ"
|
||||
label="ผ่านการตรวจสอบคุณสมบัติ/กดรับใบสมัคร"
|
||||
class="col-12"
|
||||
@update:modelValue="reason = ''"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
{{ props.rowIndex + 1 }}
|
||||
</div>
|
||||
<div v-else-if="col.name == 'yearly'">
|
||||
{{ col.value + 543 }}
|
||||
{{ props.row.round }}/{{ col.value + 543 }}
|
||||
</div>
|
||||
<div
|
||||
v-else-if="
|
||||
|
|
@ -96,7 +96,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "yearly",
|
||||
align: "left",
|
||||
label: "ปีงบประมาณ",
|
||||
label: "รอบ/ปีงบประมาณ",
|
||||
sortable: true,
|
||||
field: "yearly",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@
|
|||
checked-icon="task_alt"
|
||||
unchecked-icon="panorama_fish_eye"
|
||||
val="1"
|
||||
label="ผ่านการตรวจสอบคุณสมบัติ"
|
||||
label="ผ่านการตรวจสอบคุณสมบัติ/กดรับใบสมัคร"
|
||||
dense
|
||||
class="col-12"
|
||||
@update:modelValue="reason = ''"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
{{ props.rowIndex + 1 }}
|
||||
</div>
|
||||
<div v-else-if="col.name == 'yearly'" class="table_ellipsis2">
|
||||
{{ col.value + 543 }}
|
||||
{{ props.row.round }}/{{ col.value + 543 }}
|
||||
</div>
|
||||
<div
|
||||
v-else-if="
|
||||
|
|
@ -147,7 +147,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "yearly",
|
||||
align: "center",
|
||||
label: "ปีงบประมาณ",
|
||||
label: "รอบ/ปีงบประมาณ",
|
||||
sortable: true,
|
||||
field: "yearly",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -282,7 +282,7 @@ const optionsStatus = ref<any>([
|
|||
},
|
||||
{
|
||||
id: "checkRegister",
|
||||
name: "ตรวจสอบข้อมูลสมัครสอบ",
|
||||
name: "รอกดรับใบสมัคร",
|
||||
},
|
||||
{
|
||||
id: "payment",
|
||||
|
|
@ -298,11 +298,11 @@ const optionsStatus = ref<any>([
|
|||
},
|
||||
{
|
||||
id: "checkSeat",
|
||||
name: "จัดที่นั่งสอบ",
|
||||
name: "กดรับใบสมัครแล้ว",
|
||||
},
|
||||
{
|
||||
id: "checkPoint",
|
||||
name: "สรุปคะแนนสอบ",
|
||||
name: "รอสรุปคะแนนสอบ",
|
||||
},
|
||||
{
|
||||
id: "done",
|
||||
|
|
@ -554,7 +554,7 @@ const fetchDataSummary = async () => {
|
|||
};
|
||||
|
||||
/**
|
||||
* สรุปคะแนนสอบ
|
||||
* รอสรุปคะแนนสอบ
|
||||
*/
|
||||
const clickPointRow = async (row: any) => {
|
||||
candidateId.value = row.id;
|
||||
|
|
@ -574,7 +574,7 @@ const statusCandidate = (status: string) => {
|
|||
case "register":
|
||||
return "ยังไม่สมัครสอบ";
|
||||
case "checkRegister":
|
||||
return "ตรวจสอบข้อมูลสมัครสอบ";
|
||||
return "รอกดรับใบสมัคร";
|
||||
case "payment":
|
||||
return "รอชำระค่าสมัครสอบ";
|
||||
case "rejectRegister":
|
||||
|
|
@ -584,9 +584,9 @@ const statusCandidate = (status: string) => {
|
|||
case "rejectPayment":
|
||||
return "หลักฐานชำระเงินไม่ถูกต้อง";
|
||||
case "checkSeat":
|
||||
return "จัดที่นั่งสอบ";
|
||||
return "กดรับใบสมัครแล้ว";
|
||||
case "checkPoint":
|
||||
return "สรุปคะแนนสอบ";
|
||||
return "รอสรุปคะแนนสอบ";
|
||||
case "done":
|
||||
return "คัดเลือกสำเร็จ";
|
||||
case "waiver":
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ const currentAddress = reactive<AddressData>({
|
|||
});
|
||||
|
||||
onMounted(async () => {
|
||||
// await getNewData();
|
||||
await getNewData();
|
||||
emit("update:statusEdit", false);
|
||||
});
|
||||
|
||||
|
|
@ -126,13 +126,13 @@ const filterSelector = (val: any, update: Function, refData: string) => {
|
|||
|
||||
const refreshData = async () => {
|
||||
myform.value.reset();
|
||||
await props.fetch();
|
||||
// await props.fetch();
|
||||
await fetchProvince();
|
||||
// await getNewData();
|
||||
await getNewData();
|
||||
};
|
||||
|
||||
const getNewData = async () => {
|
||||
await props.fetch();
|
||||
// await props.fetch();
|
||||
await fetchProvince();
|
||||
};
|
||||
|
||||
|
|
@ -181,9 +181,9 @@ const editData = async () => {
|
|||
.finally(async () => {
|
||||
edit.value = false;
|
||||
emit("update:statusEdit", false);
|
||||
// await getNewData();
|
||||
await props.fetch();
|
||||
await fetchProvince();
|
||||
await getNewData();
|
||||
// await props.fetch();
|
||||
// await fetchProvince();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -143,19 +143,15 @@ const closeModal = () => {
|
|||
|
||||
// เปิดโมเดล
|
||||
const openModalOrder = () => {
|
||||
console.log(filters.value);
|
||||
|
||||
openModal();
|
||||
console.log("filters===>",filters.value)
|
||||
const row = filters.value.filter(
|
||||
(r: ResponseData) =>
|
||||
(r.status == "WAITTING" ||
|
||||
r.status == "PENDING" ||
|
||||
r.status == "APPROVE") &&
|
||||
r.createdAt &&
|
||||
(r.status == "APPROVE") &&
|
||||
r.organizationPositionOld &&
|
||||
r.positionTypeOld &&
|
||||
r.positionLevel &&
|
||||
r.posNo &&
|
||||
r.positionLevelOld &&
|
||||
r.positionNumberOld &&
|
||||
r.salary !== null &&
|
||||
r.organization &&
|
||||
r.date
|
||||
|
|
|
|||
|
|
@ -32,12 +32,15 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
|
||||
//รางาน
|
||||
const optionReport = ref<OptionReport[]>([
|
||||
{ id: '45', title: "บัญชีรายชื่อข้าราชการผู้ขอพระราชทานเครื่องราชอิสริยาภรณ์" },
|
||||
{ id: '43', title: 'บัญชีระดับผลการประเมินผลการปฏิบัติราชการในรอบ 5 ปี' },
|
||||
{ id: '44', title: 'บัญชีแสดงจำนวนชั้นตราเครื่องราชฯ' }
|
||||
])
|
||||
{
|
||||
id: "45",
|
||||
title: "บัญชีรายชื่อข้าราชการผู้ขอพระราชทานเครื่องราชอิสริยาภรณ์",
|
||||
},
|
||||
{ id: "43", title: "บัญชีระดับผลการประเมินผลการปฏิบัติราชการในรอบ 5 ปี" },
|
||||
{ id: "44", title: "บัญชีแสดงจำนวนชั้นตราเครื่องราชฯ" },
|
||||
]);
|
||||
const mainTab = ref<string | undefined>("pending");
|
||||
const dataInsigniaType = ref<any>([])
|
||||
const dataInsigniaType = ref<any>([]);
|
||||
// เรียกราชชื่อการเสนอขอ
|
||||
const fetchData = async (data: any) => {
|
||||
if (data !== null) {
|
||||
|
|
@ -61,7 +64,12 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
markLeave: e.markLeave,
|
||||
markRate: e.markRate,
|
||||
isApprove: e.isApprove,
|
||||
statusMark: e.markDiscipline === true || e.markLeave === true || e.markRate === true ? true : false
|
||||
statusMark:
|
||||
e.markDiscipline === true ||
|
||||
e.markLeave === true ||
|
||||
e.markRate === true
|
||||
? true
|
||||
: false,
|
||||
}));
|
||||
rows.value = await datalist;
|
||||
listinsignia.value = await datalist;
|
||||
|
|
@ -79,7 +87,8 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
const fetchOption = (op: any) => {
|
||||
if (agency.value !== null) {
|
||||
typeOc.value = agency.value;
|
||||
optionsTypeOc.value = op.filter((e: any) => e.id == agency.value);
|
||||
optionsTypeOc.value = op;
|
||||
// .filter((e: any) => e.id == agency.value);
|
||||
} else {
|
||||
(optionsTypeOc.value = op), (typeOc.value = op[0].id);
|
||||
}
|
||||
|
|
@ -105,8 +114,8 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
};
|
||||
// ค้นหาข้อมมูลราชชื่อ ตาม ประเท๓และสถานภาพ
|
||||
const searchDataTable = async (type: string, employeeClasstype: string) => {
|
||||
typeinsignia.value = type
|
||||
employeeClass.value = employeeClasstype
|
||||
typeinsignia.value = type;
|
||||
employeeClass.value = employeeClasstype;
|
||||
if (type !== "all" && employeeClasstype !== "all") {
|
||||
rows.value = listinsignia.value.filter(
|
||||
(e: any) =>
|
||||
|
|
@ -127,7 +136,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
};
|
||||
// ประเภทเครื่องราช
|
||||
function fetchInsigniaType(data: any) {
|
||||
dataInsigniaType.value = data
|
||||
dataInsigniaType.value = data;
|
||||
}
|
||||
|
||||
// ประเภทลูกจ้าง
|
||||
|
|
@ -147,15 +156,14 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
function convertStatus(val: string) {
|
||||
switch (val) {
|
||||
case "WAITTING":
|
||||
return "สร้างรอบ"
|
||||
return "สร้างรอบ";
|
||||
case "PENDING":
|
||||
return "กำลังดำเนินการ"
|
||||
return "กำลังดำเนินการ";
|
||||
case "DONE":
|
||||
return "เสร็จสิ้น"
|
||||
return "เสร็จสิ้น";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
roundId,
|
||||
optionRound,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue