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