diff --git a/src/modules/04_registryPerson/views/detailView.vue b/src/modules/04_registryPerson/views/detailView.vue index 4b96bc137..a82fc3162 100644 --- a/src/modules/04_registryPerson/views/detailView.vue +++ b/src/modules/04_registryPerson/views/detailView.vue @@ -130,6 +130,11 @@ const itemsMenuEmployee = ref([ name: "ถึงแก่กรรม", system: "SYS_PASSAWAY", }, + { + id: "3", + name: "ให้ออกจากราชการ", + system: "SYS_DISMISS_EMP", + }, ]); const uploadUrl = ref(""); //URL อัปโหลดรูป @@ -842,7 +847,11 @@ onMounted(async () => { v-if=" !storeRegistry.isLeave && empType === '-employee' && - checkPermissionList(['SYS_PROMOTION_EMP', 'SYS_PASSAWAY']) + checkPermissionList([ + 'SYS_PROMOTION_EMP', + 'SYS_PASSAWAY', + 'SYS_DISMISS_EMP', + ]) " size="md" rounded @@ -861,6 +870,8 @@ onMounted(async () => { ? appointEmployeePost() : item.name == 'ถึงแก่กรรม' ? clickPassaway() + : item.name == 'ให้ออกจากราชการ' + ? outPost() : null " v-close-popup diff --git a/src/modules/05_placement/components/probation/FormAssign.vue b/src/modules/05_placement/components/probation/FormAssign.vue index b31b3ad2d..f9c183113 100644 --- a/src/modules/05_placement/components/probation/FormAssign.vue +++ b/src/modules/05_placement/components/probation/FormAssign.vue @@ -1145,11 +1145,12 @@ onMounted(async () => { -
+
{
- - + +
diff --git a/src/modules/05_placement/components/probation/MainProbation.vue b/src/modules/05_placement/components/probation/MainProbation.vue index 4b1c54a1b..8e456569f 100644 --- a/src/modules/05_placement/components/probation/MainProbation.vue +++ b/src/modules/05_placement/components/probation/MainProbation.vue @@ -801,19 +801,19 @@ onMounted(async () => { {{ `${ props.row.orgChild4Name - ? props.row.orgChild4Name + "/" + ? props.row.orgChild4Name + " " : "" }${ props.row.orgChild3Name - ? props.row.orgChild3Name + "/" + ? props.row.orgChild3Name + " " : "" }${ props.row.orgChild2Name - ? props.row.orgChild2Name + "/" + ? props.row.orgChild2Name + " " : "" }${ props.row.orgChild1Name - ? props.row.orgChild1Name + "/" + ? props.row.orgChild1Name + " " : "" }${props.row.orgRootName ? props.row.orgRootName : ""}` }} diff --git a/src/modules/05_placement/components/probation/MainSurvey.vue b/src/modules/05_placement/components/probation/MainSurvey.vue index a36d3a69c..900148b20 100644 --- a/src/modules/05_placement/components/probation/MainSurvey.vue +++ b/src/modules/05_placement/components/probation/MainSurvey.vue @@ -193,7 +193,7 @@ onMounted(async () => { v-model="filterKeyword" ref="filterRef" outlined - placeholder="ค้นหาจากชื่อ-นามสกุล/ตำแหน่งผู้ทดลองฯ" + placeholder="ค้นหาจากชื่อ - นามสกุล /ตำแหน่ง" @keydown.enter.prevent="getData()" style="width: 350px" > diff --git a/src/modules/06_retirement/components/01_retirement/AddList.vue b/src/modules/06_retirement/components/01_retirement/AddList.vue index 3a71b1169..fbdb99b3f 100644 --- a/src/modules/06_retirement/components/01_retirement/AddList.vue +++ b/src/modules/06_retirement/components/01_retirement/AddList.vue @@ -337,7 +337,8 @@ watch(modal, () => { ทั้งหมด {{ totalList }} รายการ /** รายการให้ออก*/ const dismissOrder = () => import("@/modules/06_retirement/views/06_dismissOrder.vue"); +const dismissOrderEmp = () => + import("@/modules/06_retirement/views/08_dismissOrderEmp.vue"); const outDetail = () => import("@/modules/06_retirement/components/06_dismissOrder/Detail.vue"); const outDetailOnly = () => @@ -289,6 +291,16 @@ export default [ Role: "STAFF", }, }, + { + path: "/retirementEmployee", + name: "dismiss-order-emp", + component: dismissOrderEmp, + meta: { + Auth: true, + Key: "SYS_DISMISS_EMP", + Role: "STAFF", + }, + }, { path: "/retirement/dismiss-order/:id", name: "outDetail", diff --git a/src/modules/06_retirement/views/08_dismissOrderEmp.vue b/src/modules/06_retirement/views/08_dismissOrderEmp.vue new file mode 100644 index 000000000..df760b20d --- /dev/null +++ b/src/modules/06_retirement/views/08_dismissOrderEmp.vue @@ -0,0 +1,365 @@ + + + + diff --git a/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue b/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue index ba5262688..745bb991e 100644 --- a/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue +++ b/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue @@ -121,7 +121,7 @@ const columns = ref([ { name: "result", align: "center", - label: "ผลการประเมิน ฯ", + label: "ผลการประเมินฯ", sortable: false, field: "result", headerStyle: "font-size: 14px", @@ -464,10 +464,10 @@ function onClickViewInfo(type: string, id: string) { - {{ - `${props.row.child4 ? props.row.child4 + "/" : ""}${ - props.row.child3 ? props.row.child3 + "/" : "" - }${props.row.child2 ? props.row.child2 + "-" : ""}${ - props.row.child1 ? props.row.child1 + "/" : "" + `${props.row.child4 ? props.row.child4 + " " : ""}${ + props.row.child3 ? props.row.child3 + " " : "" + }${props.row.child2 ? props.row.child2 + " " : ""}${ + props.row.child1 ? props.row.child1 + " " : "" }${props.row.root ? props.row.root : ""}` }} diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue index e82845b16..3fc89fbeb 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypeOther.vue @@ -158,7 +158,7 @@ const baseColumns = ref([ }, { name: "remark", - align: "center", + align: "left", label: "หมายเหตุ", sortable: false, field: "remark", diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue index dcbaf8ccb..9b0563dfc 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue @@ -132,7 +132,7 @@ const columns = ref([ { name: "result", align: "center", - label: "ผลการประเมิน ฯ", + label: "ผลการประเมินฯ", sortable: false, field: "result", headerStyle: "font-size: 14px", @@ -481,10 +481,10 @@ watch( - {{ - `${props.row.child4 ? props.row.child4 + "/" : ""}${ - props.row.child3 ? props.row.child3 + "/" : "" - }${props.row.child2 ? props.row.child2 + "-" : ""}${ - props.row.child1 ? props.row.child1 + "/" : "" + `${props.row.child4 ? props.row.child4 + " " : ""}${ + props.row.child3 ? props.row.child3 + " " : "" + }${props.row.child2 ? props.row.child2 + " " : ""}${ + props.row.child1 ? props.row.child1 + " " : "" }${props.row.root ? props.row.root : ""}` }} diff --git a/src/modules/13_salary/store/SalaryEmployeeListsStore.ts b/src/modules/13_salary/store/SalaryEmployeeListsStore.ts index 8dbfd0de4..659cee9a4 100644 --- a/src/modules/13_salary/store/SalaryEmployeeListsStore.ts +++ b/src/modules/13_salary/store/SalaryEmployeeListsStore.ts @@ -77,23 +77,23 @@ export const useSalaryEmployeeListSDataStore = defineStore( }, { id: "emp-04", - name: "แบบ ลจ.กทม.1-รายชื่อลูกจ้างผู้สมควรได้เลื่อนขั้นค่าจ้าง", + name: "แบบ ลจ. กทม. 1 - รายชื่อลูกจ้างผู้สมควรได้เลื่อนขั้นค่าจ้าง", }, { id: "emp-05", - name: "แบบ ลจ.กทม.1-1-รายชื่อลูกจ้างผู้สมควรได้รับค่าตอบแทนพิเศษ", + name: "แบบ ลจ. กทม. 1 - 1 - รายชื่อลูกจ้างผู้สมควรได้รับค่าตอบแทนพิเศษ", }, { id: "emp-06", - name: "แบบ ลจ.กทม.2-รายชื่อลูกจ้างผู้ไม่สมควรเลื่อนขั้นค่าจ้าง", + name: "แบบ ลจ. กทม. 2 - รายชื่อลูกจ้างผู้ไม่สมควรเลื่อนขั้นค่าจ้าง", }, { id: "emp-07", - name: "แบบ ลจ.กทม.2-1-รายชื่อลูกจ้างผู้ไม่สมควรได้รับค่าตอบแทนพิเศษ", + name: "แบบ ลจ. กทม. 2 - 1 - รายชื่อลูกจ้างผู้ไม่สมควรได้รับค่าตอบแทนพิเศษ", }, { id: "emp-08", - name: "แบบ ลจ.กทม.3-บัญชีแสดงวันลาในครึ่งปีของลูกจ้าง", + name: "แบบ ลจ. กทม. 3 - บัญชีแสดงวันลาในครึ่งปีของลูกจ้าง", }, { id: "emp-09", @@ -139,7 +139,7 @@ export const useSalaryEmployeeListSDataStore = defineStore( }, { id: "emp2-02", - name: "รายชื่อลูกจ้างประจำกรุงเทพมหานครผู้ครองตำแหน่ง ณ วันที่ ๑ กันยายน", + name: "รายชื่อลูกจ้างประจำกรุงเทพมหานครผู้ครองตำแหน่ง ณ วันที่ 1 กันยายน", }, { id: "emp2-03", @@ -147,23 +147,23 @@ export const useSalaryEmployeeListSDataStore = defineStore( }, { id: "emp2-04", - name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้สมควรได้เลื่อนขั้นค่าจ้าง (แบบ ลจ.กทม.๑)", + name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้สมควรได้เลื่อนขั้นค่าจ้าง (แบบ ลจ. กทม. 1)", }, { id: "emp2-05", - name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้สมควรได้รับค่าตอบแทนพิเศษ (แบบ ลจ.กทม.๑/๑)", + name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้สมควรได้รับค่าตอบแทนพิเศษ (แบบ ลจ. กทม. 1/1)", }, { id: "emp2-06", - name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้ไม่สมควรเลื่อนขั้นค่าจ้าง (แบบ ลจ.กทม.๒)", + name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้ไม่สมควรเลื่อนขั้นค่าจ้าง (แบบ ลจ. กทม. 2)", }, { id: "emp2-07", - name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้ไม่สมควรได้รับค่าตอบแทนพิเศษ (แบบ ลจ.กทม.๒/๑)", + name: "บัญชีรายชื่อลูกจ้างประจำกรุงเทพมหานครผู้ไม่สมควรได้รับค่าตอบแทนพิเศษ (แบบ ลจ. กทม. 2/1)", }, { id: "emp2-08", - name: "บัญชีแสดงวันลาในครึ่งปีที่แล้วมาของลูกจ้างประจำกรุงเทพมหานคร (แบบ ลจ.กทม.๓)", + name: "บัญชีแสดงวันลาในครึ่งปีที่แล้วมาของลูกจ้างประจำกรุงเทพมหานคร (แบบ ลจ. กทม. 3)", }, { id: "emp2-09", @@ -179,11 +179,11 @@ export const useSalaryEmployeeListSDataStore = defineStore( }, { id: "emp2-13", - name: "บัญชีรายละเอียดแสดงการเลื่อนขั้นค่าจ้างและให้ลูกจ้างประจำกรุงเทพมหานครได้รับอัตราค่าจ้างสูงกว่า ฯ ที่เกษียณอายุราชการ ในสิ้นปีงบประมาณ (แนบท้ายคำสั่ง)", + name: "บัญชีรายละเอียดแสดงการเลื่อนขั้นค่าจ้างและให้ลูกจ้างประจำกรุงเทพมหานครได้รับอัตราค่าจ้างสูงกว่าฯ ที่เกษียณอายุราชการ ในสิ้นปีงบประมาณ (แนบท้ายคำสั่ง)", }, { id: "emp2-13", - name: "บัญชีรายละเอียดแสดงการเลื่อนขั้นค่าจ้างและให้ลูกจ้างประจำกรุงเทพมหานครได้รับอัตราค่าจ้างสูงกว่า ฯ ที่เกษียณอายุราชการ ในสิ้นปีงบประมาณ (แนบท้ายคำสั่ง PDF)", + name: "บัญชีรายละเอียดแสดงการเลื่อนขั้นค่าจ้างและให้ลูกจ้างประจำกรุงเทพมหานครได้รับอัตราค่าจ้างสูงกว่าฯ ที่เกษียณอายุราชการ ในสิ้นปีงบประมาณ (แนบท้ายคำสั่ง PDF)", type: "pdf", }, {