C-PM-37
This commit is contained in:
setthawutttty 2024-03-21 15:43:51 +07:00
parent ed227359d1
commit 2265a69854
2 changed files with 8 additions and 4 deletions

View file

@ -97,7 +97,7 @@ watch(nameCommand, async () => {
}
});
const commandCodes = ref<string[]>(["C-PM-33", "C-PM-34", "C-PM-35"]);
const commandCodes = ref<string[]>(["C-PM-33", "C-PM-34", "C-PM-35","C-PM-36","C-PM-37"]);
//
const fecthTypeOption = async (actions: string) => {
showLoader();
@ -190,7 +190,11 @@ function casePm(val: string){
return "ให้ข้าราชการกรุงเทพมหานครสามัญได้รับค่าตอบแทนพิเศษ";
case "C-PM-35":
return `เลื่อนเงินเดือนและให้ข้าราชการกรุงเทพมหานครสามัญที่เกษียณอายุราชการ ในสิ้นปีงบประมาณ พ.ศ. ${new Date().getFullYear()+543} ได้รับเงินเดือนสูงกว่าชั้นสูงของตำแหน่งที่ได้รับแต่งตั้ง`;
default:
case "C-PM-36":
return "เลื่อนขั้นค่าจ้างและให้ลูกจ้างประจำกรุงเทพมหานครได้รับอัตราค่าจ้าง สูงกว่าอัตราค่าจ้างขั้นสูงของตำแหน่งที่ได้รับแต่งตั้งในแต่ละระดับ";
case "C-PM-37":
return "ให้ลูกจ้างประจำกรุงเทพมหานครได้รับค่าตอบแทนพิเศษ";
default:
return null;
}}
@ -351,7 +355,6 @@ function getClass(val: boolean) {
<q-input
:class="getClass(true)"
outlined
readonly
autogrow
dense
v-model="nameOrder"

View file

@ -31,7 +31,7 @@ const pagination = ref({
rowsPerPage: 10,
});
const commandCodes = ref<string[]>(["C-PM-33", "C-PM-34", "C-PM-35"]);
const commandCodes = ref<string[]>(["C-PM-33", "C-PM-34", "C-PM-35", "C-PM-36", "C-PM-37"]);
/** ข้อมูลที่เเสดงใน คอลัม */
const columns = ref<QTableProps["columns"]>([
@ -217,6 +217,7 @@ async function OrderTypeFilter() {
await http
.get(config.API.typeOrder())
.then((res) => {
console.log(res)
const response = res.data.result;
const filterRes = response.filter((e: any) =>
commandCodes.value.includes(e.commandCode)