diff --git a/src/modules/06_retirement/components/ListRetirement/TableList.vue b/src/modules/06_retirement/components/ListRetirement/TableList.vue index 92ff9044a..abf7be3e9 100644 --- a/src/modules/06_retirement/components/ListRetirement/TableList.vue +++ b/src/modules/06_retirement/components/ListRetirement/TableList.vue @@ -590,14 +590,6 @@ function updatemodalPersonal(modal: boolean) { > - - - {{ col.title }} - {{ - col.subtitle - }} - - - - + + + {{ col.title }} + {{ + col.subtitle + }} + + + @@ -630,34 +629,7 @@ function updatemodalPersonal(modal: boolean) { :style="props.row.profileId === profileId && 'color: #26a69a;'" @click.stop="onclickViewinfo(props.row.profileId)" > - {{ props.row.order }} - {{ props.row.prefix ? props.row.prefix : "" - }}{{ props.row.firstName ? props.row.firstName : "" }} - {{ props.row.lastName ? props.row.lastName : "" }} - - {{ - props.row.position ? props.row.position : "-" - }} - {{ props.row.positionType ? props.row.positionType : "-" }} - {{ - props.row.positionLevel - ? " (" + props.row.positionLevel + ")" - : "" - }} - - - {{ - props.row.positionNumber ? props.row.positionNumber : "-" - }} - - {{ - props.row.organization ? props.row.organization : "-" - }} - - + ลบข้อมูล - + {{ props.row.order }} + {{ props.row.prefix ? props.row.prefix : "" + }}{{ props.row.firstName ? props.row.firstName : "" }} + {{ props.row.lastName ? props.row.lastName : "" }} + + {{ + props.row.position ? props.row.position : "-" + }} + {{ props.row.positionType ? props.row.positionType : "-" }} + {{ + props.row.positionLevel + ? " (" + props.row.positionLevel + ")" + : "" + }} + + + {{ + props.row.positionNumber ? props.row.positionNumber : "-" + }} + + {{ + props.row.organization ? props.row.organization : "-" + }} + + diff --git a/src/modules/07_insignia/components/1_Proposals/listProposals.vue b/src/modules/07_insignia/components/1_Proposals/listProposals.vue index 0e60229a8..5fd87d8bb 100644 --- a/src/modules/07_insignia/components/1_Proposals/listProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/listProposals.vue @@ -284,22 +284,15 @@ onMounted(async () => { > - - {{ col.label }} - - + { class="text-h5" @click="clickEdit(props.row)" /> - - { > ผู้ได้รับเครื่องราชฯ - - { > ดาวน์โหลดเอกสารประกอบ - - - { ลบข้อมูล + { {{ col.value }} - diff --git a/src/modules/07_insignia/components/2_Manage/Tab1.vue b/src/modules/07_insignia/components/2_Manage/Tab1.vue index 4eb60c01a..3a954ceff 100644 --- a/src/modules/07_insignia/components/2_Manage/Tab1.vue +++ b/src/modules/07_insignia/components/2_Manage/Tab1.vue @@ -59,8 +59,6 @@ const filterOrganizationOP = ref([]); /** หัวตาราง*/ const visibleColumns = ref([ - "note", - "warn", "no", "citizenId", "name", @@ -72,26 +70,10 @@ const visibleColumns = ref([ "insigniaSend", "insigniaLevel", "dateSend", + "note", + "warn", ]); const columns = ref([ - { - name: "note", - align: "left", - label: "หมายเหตุ", - sortable: false, - field: "", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, - { - name: "warn", - align: "left", - label: "แจ้งเตือน", - sortable: false, - field: "", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, { name: "no", align: "left", @@ -191,6 +173,24 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "note", + align: "left", + label: "หมายเหตุ", + sortable: false, + field: "", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, + { + name: "warn", + align: "left", + label: "แจ้งเตือน", + sortable: false, + field: "", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, ]); const columns2 = ref([ { @@ -1154,6 +1154,39 @@ onMounted(async () => { /> + + {{ props.rowIndex + 1 }} + + + {{ props.row.citizenId ?? "-" }} + + + {{ props.row.name }} + + + {{ props.row.employeeType }} + + + {{ props.row.position }} + + + {{ props.row.level }} + + + {{ Number(props.row.salary).toLocaleString() }} + + + {{ props.row.insigniaType }} + + + {{ props.row.insigniaSend }} + + + {{ props.row.insigniaLevel }} + + + {{ props.row.dateSend }} + { แจ้งเตือน - - {{ props.rowIndex + 1 }} - - - {{ props.row.citizenId ?? "-" }} - - - {{ props.row.name }} - - - {{ props.row.employeeType }} - - - {{ props.row.position }} - - - {{ props.row.level }} - - - {{ Number(props.row.salary).toLocaleString() }} - - - {{ props.row.insigniaType }} - - - {{ props.row.insigniaSend }} - - - {{ props.row.insigniaLevel }} - - - {{ props.row.dateSend }} - diff --git a/src/modules/07_insignia/components/4_Allocate/OrgList.vue b/src/modules/07_insignia/components/4_Allocate/OrgList.vue index 759765d12..f35bae995 100644 --- a/src/modules/07_insignia/components/4_Allocate/OrgList.vue +++ b/src/modules/07_insignia/components/4_Allocate/OrgList.vue @@ -399,29 +399,14 @@ onMounted(async () => { > + {{ col.label }} - - - {{ props.rowIndex + 1 }} - - - {{ props.row.organization }} - - - {{ props.row.total }} - - - {{ props.row.allocate }} - - - {{ props.row.remain }} - { + + {{ props.rowIndex + 1 }} + + + {{ props.row.organization }} + + + {{ props.row.total }} + + + {{ props.row.allocate }} + + + {{ props.row.remain }} + + diff --git a/src/modules/09_leave/views/RoundMain.vue b/src/modules/09_leave/views/RoundMain.vue index a0ee5783d..5b0fe8ec6 100644 --- a/src/modules/09_leave/views/RoundMain.vue +++ b/src/modules/09_leave/views/RoundMain.vue @@ -189,22 +189,10 @@ onMounted(() => { > {{ col.label }} - - - - - เวลา Default - - { @click="onClickDelete(props.row.id)" /> + + + เวลา Default + + { {{ col.value }} - diff --git a/src/modules/13_salary/components/SalaryEmployeeLists/TableTypePending.vue b/src/modules/13_salary/components/SalaryEmployeeLists/TableTypePending.vue index b27f18756..c26b59beb 100644 --- a/src/modules/13_salary/components/SalaryEmployeeLists/TableTypePending.vue +++ b/src/modules/13_salary/components/SalaryEmployeeLists/TableTypePending.vue @@ -45,33 +45,7 @@ const props = defineProps({ /** ข้อมูล Table*/ const columns = ref([ - { - name: "posSalary", - align: "center", - label: "ประวัติตำแหน่ง/ค่าจ้าง", - sortable: false, - field: "posSalary", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, - { - name: "discipline", - align: "center", - label: "วินัย", - sortable: false, - field: "discipline", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, - { - name: "leave", - align: "center", - label: "การลา", - sortable: false, - field: "leave", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, + { name: "no", align: "left", @@ -174,6 +148,33 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "posSalary", + align: "center", + label: "ประวัติตำแหน่ง/ค่าจ้าง", + sortable: false, + field: "posSalary", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, + { + name: "discipline", + align: "center", + label: "วินัย", + sortable: false, + field: "discipline", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, + { + name: "leave", + align: "center", + label: "การลา", + sortable: false, + field: "leave", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, ]); const visibleColumns = ref([ diff --git a/src/modules/13_salary/components/SalaryLists/TableTypePending.vue b/src/modules/13_salary/components/SalaryLists/TableTypePending.vue index 16f50d1b3..8961f391f 100644 --- a/src/modules/13_salary/components/SalaryLists/TableTypePending.vue +++ b/src/modules/13_salary/components/SalaryLists/TableTypePending.vue @@ -45,33 +45,7 @@ const props = defineProps({ /** ข้อมูล Table*/ const columns = ref([ - { - name: "posSalary", - align: "center", - label: "ประวัติตำแหน่ง/เงินเดือน", - sortable: false, - field: "posSalary", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, - { - name: "discipline", - align: "center", - label: "วินัย", - sortable: false, - field: "discipline", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, - { - name: "leave", - align: "center", - label: "การลา", - sortable: false, - field: "leave", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, + { name: "no", align: "left", @@ -162,13 +136,37 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, - + { + name: "posSalary", + align: "center", + label: "ประวัติตำแหน่ง/เงินเดือน", + sortable: false, + field: "posSalary", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, + { + name: "discipline", + align: "center", + label: "วินัย", + sortable: false, + field: "discipline", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, + { + name: "leave", + align: "center", + label: "การลา", + sortable: false, + field: "leave", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, ]); const visibleColumns = ref([ - "discipline", - "leave", - "isSuspension", + "no", "fullName", "posType", @@ -179,7 +177,9 @@ const visibleColumns = ref([ "organization", "result", "posSalary", - + "discipline", + "leave", + "isSuspension", ]); /** modalDialog*/