auto text ให้ตามเอกสารคำสั่งต่างๆ
This commit is contained in:
parent
6acdb4722e
commit
f15ce3dcdb
1 changed files with 54 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ const CommandOption = ref<DataOption1[]>([]);
|
||||||
|
|
||||||
//Main
|
//Main
|
||||||
const typeOrder = ref<any>([]);
|
const typeOrder = ref<any>([]);
|
||||||
const nameOrder = ref<string>("");
|
const nameOrder = ref<any>("");
|
||||||
const command = ref<number | "">();
|
const command = ref<number | "">();
|
||||||
const dateYear = ref<number>(new Date().getFullYear());
|
const dateYear = ref<number>(new Date().getFullYear());
|
||||||
const dateCommand = ref<Date>(new Date());
|
const dateCommand = ref<Date>(new Date());
|
||||||
|
|
@ -317,11 +317,63 @@ const fecthCommand = async () => {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const nameOrderFilter = (selectOrder: any) => {
|
||||||
|
console.log(selectOrder);
|
||||||
|
switch (selectOrder) {
|
||||||
|
case "C-PM-01":
|
||||||
|
return "บรรจุและแต่งตั้งผู้สอบแข่งขันได้";
|
||||||
|
case "C-PM-02":
|
||||||
|
return "บรรจุและแต่งตั้งผู้ได้รับคัดเลือก";
|
||||||
|
case "C-PM-03":
|
||||||
|
return "แต่งตั้งข้าราชการ";
|
||||||
|
case "C-PM-04":
|
||||||
|
return "ย้ายข้าราชการ";
|
||||||
|
case "C-PM-05":
|
||||||
|
return "แต่งตั้งข้าราชการ";
|
||||||
|
case "C-PM-06":
|
||||||
|
return "แต่งตั้งข้าราชการ";
|
||||||
|
case "C-PM-07":
|
||||||
|
return "ย้ายข้าราชการ";
|
||||||
|
case "C-PM-08":
|
||||||
|
return "บรรจุและแต่งตั้งข้าราชการกรุงเทพมหานครสามัญกลับเข้ารับราชการ";
|
||||||
|
case "C-PM-09":
|
||||||
|
return "บรรจุและแต่งตั้งผู้ออกไปรับราชการทหารกลับเข้ารับราชการ";
|
||||||
|
case "C-PM-10":
|
||||||
|
return "แต่งตั้งคณะกรรมการประเมินผลการทดลองปฏิบัติหน้าที่ราชการ";
|
||||||
|
case "C-PM-11":
|
||||||
|
return "ให้ข้าราชการกรุงเทพมหานครสามัญซึ่งมีผลการทดลองปฏิบัติหน้าที่ราชการไม่ต่ำกว่ามาตรฐานที่กำหนดรับราชการต่อไป";
|
||||||
|
case "C-PM-12":
|
||||||
|
return "ให้ข้าราชการกรุงเทพมหานครสามัญออกจากราชการเพราะผลการทดลองปฏิบัติหน้าที่ราชการต่ำกว่ามาตรฐานที่กำหนด";
|
||||||
|
case "C-PM-13":
|
||||||
|
return "ให้โอนข้าราชการกรุงเทพมหานครสามัญ";
|
||||||
|
case "C-PM-14":
|
||||||
|
return "รับโอนข้าราชการกรุงเทพมหานครสามัญ";
|
||||||
|
case "C-PM-15":
|
||||||
|
return "ให้ข้าราชการช่วยราชการ";
|
||||||
|
case "C-PM-16":
|
||||||
|
return "ให้ข้าราชการกลับไปปฎิบัติงานทางต้นสังกัดเดิม";
|
||||||
|
case "C-PM-17":
|
||||||
|
return "อนุญาตให้ข้าราชการลาออกจากราชการ";
|
||||||
|
case "C-PM-18":
|
||||||
|
return "ลงโทษให้ออกจากราชการ";
|
||||||
|
case "C-PM-19":
|
||||||
|
return "ลงโทษปลดออกจากราชการ";
|
||||||
|
case "C-PM-20":
|
||||||
|
return "ลงโทษไล่ออกจากราชการ";
|
||||||
|
case "C-PM-21":
|
||||||
|
return "จ้างและแต่งตั้งลูกจ้างประจำ";
|
||||||
|
|
||||||
|
default:
|
||||||
|
return "error";
|
||||||
|
}
|
||||||
|
};
|
||||||
const selectCMP = (selectOrder: any) => {
|
const selectCMP = (selectOrder: any) => {
|
||||||
fecthExamRoundOption(selectOrder.commandCode);
|
fecthExamRoundOption(selectOrder.commandCode);
|
||||||
if (selectOrder.commandCode === "C-PM-10") {
|
if (selectOrder.commandCode === "C-PM-10") {
|
||||||
nodeTree();
|
nodeTree();
|
||||||
}
|
}
|
||||||
|
nameOrder.value = nameOrderFilter(selectOrder.commandCode);
|
||||||
//01-04
|
//01-04
|
||||||
examRound.value = "";
|
examRound.value = "";
|
||||||
conclusionRegisterNo.value = "";
|
conclusionRegisterNo.value = "";
|
||||||
|
|
@ -2354,7 +2406,7 @@ const getClass = (val: boolean) => {
|
||||||
!!val ||
|
!!val ||
|
||||||
`${'กรุณากรอก มติที่ประชุม(เรื่องการดำเนินการทางวินัย)'}`,
|
`${'กรุณากรอก มติที่ประชุม(เรื่องการดำเนินการทางวินัย)'}`,
|
||||||
]"
|
]"
|
||||||
:label="`${'มติที่ประชุม(เรื่องการดำเนินการทางวินัย)'}`"
|
:label="`${'มติที่ประชุม (เรื่องการดำเนินการทางวินัย)'}`"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue