-
- หน้าที่ {{ page }} จาก {{ numOfPages }}
+
+
+
+
+
+
+ {{ prop.node.orgTreeName }}
+
+
+ {{ prop.node.orgCode == null ? null : prop.node.orgCode }}
+ {{
+ prop.node.orgTreeShortName == null
+ ? null
+ : prop.node.orgTreeShortName
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ หน้าที่ {{ page }} จาก {{ numOfPages }}
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ หน้าที่ {{ page }} จาก {{ numOfPages }}
+
+
+
+
+
-
-
-
+
+
+
-
+
diff --git a/src/modules/06_retirement/interface/index/Main.ts b/src/modules/06_retirement/interface/index/Main.ts
index f8c560856..3fb9448e8 100644
--- a/src/modules/06_retirement/interface/index/Main.ts
+++ b/src/modules/06_retirement/interface/index/Main.ts
@@ -51,4 +51,22 @@ interface DataStatus {
group: string;
}
-export type { Pagination, RetirementList, PersonData, RoundData, DataStatus };
+interface DataOption {
+ id: string;
+ name: string;
+}
+
+interface DataDateMonthObject {
+ month: number;
+ year: number;
+}
+
+export type {
+ Pagination,
+ RetirementList,
+ PersonData,
+ RoundData,
+ DataStatus,
+ DataOption,
+ DataDateMonthObject,
+};
diff --git a/src/modules/06_retirement/router.ts b/src/modules/06_retirement/router.ts
index fe4177222..8c2b30344 100644
--- a/src/modules/06_retirement/router.ts
+++ b/src/modules/06_retirement/router.ts
@@ -59,6 +59,10 @@ const outDetail = () =>
const outDetailOnly = () =>
import("@/modules/06_retirement/components/06_dismissOrder/Detail.vue");
+/** รายงาน*/
+
+const ReportView = () => import("@/modules/06_retirement/views/07_report.vue");
+
export default [
{
path: "/retirement",
@@ -305,44 +309,15 @@ export default [
Role: "STAFF",
},
},
- // {
- // path: "/retirement/discharged",
- // name: "discharged",
- // component: dischargedMain,
- // meta: {
- // Auth: true,
- // Key: [7.6],
- // Role: "retirement",
- // },
- // },
- // {
- // path: "/retirement/discharged/:id",
- // name: "dischargedDetails",
- // component: dischargedDetails,
- // meta: {
- // Auth: true,
- // Key: [7.6],
- // Role: "retirement",
- // },
- // },
- // {
- // path: "/retirement/expulsion",
- // name: "expulsion",
- // component: expulsionMain,
- // meta: {
- // Auth: true,
- // Key: [7.7],
- // Role: "retirement",
- // },
- // },
- // {
- // path: "/retirement/expulsion/:id",
- // name: "expulsionDetails",
- // component: expulsionDetails,
- // meta: {
- // Auth: true,
- // Key: [7.7],
- // Role: "retirement",
- // },
- // },
+
+ {
+ path: "/retirement/report",
+ name: "retireReport",
+ component: ReportView,
+ meta: {
+ Auth: true,
+ Key: "SYS_DISMISSAL_REPORT",
+ Role: "STAFF",
+ },
+ },
];
diff --git a/src/modules/06_retirement/views/07_report.vue b/src/modules/06_retirement/views/07_report.vue
new file mode 100644
index 000000000..430d7f7b9
--- /dev/null
+++ b/src/modules/06_retirement/views/07_report.vue
@@ -0,0 +1,555 @@
+
+
+
+
+ รายงานพ้นจากราชการ
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ prop.node.orgTreeName }}
+
+
+ {{ prop.node.orgCode == null ? null : prop.node.orgCode }}
+ {{
+ prop.node.orgTreeShortName == null
+ ? null
+ : prop.node.orgTreeShortName
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ หน้าที่ {{ page }} จาก {{ numOfPages }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ หน้าที่ {{ page }} จาก {{ numOfPages }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/07_insignia/views/06_ReportMain.vue b/src/modules/07_insignia/views/06_ReportMain.vue
index e2e651ec6..3f699185d 100644
--- a/src/modules/07_insignia/views/06_ReportMain.vue
+++ b/src/modules/07_insignia/views/06_ReportMain.vue
@@ -192,6 +192,7 @@ onMounted(async () => {
(new Date().getFullYear());
-const dateStart = ref(new Date(year.value, 9, 1));
+const dateStart = ref(new Date(year.value - 1, 9, 1));
const dateEnd = ref(new Date(year.value + 1, 8, 30));
const dateMonth = ref({
@@ -239,8 +239,6 @@ async function fetchDocumentTemplate(data: any) {
}, 2000);
});
}
-
-const splitterModel = ref(14);
const numOfPages = ref(0);
const page = ref(1);
const pdfSrc = ref();
@@ -294,6 +292,7 @@ onMounted(() => {
{
:options="yearTypeOptionOption"
emit-value
map-options
- hide-selected
- fill-input
option-label="name"
option-value="id"
- use-input
@update:model-value="updateLeaveday"
>
@@ -613,7 +609,6 @@ onMounted(() => {
{
v-if="checkPermission($route)?.attrIsGet"
flat
:disable="!isReport || !nodeId || !employeeClass"
+ :loading="isLoadPDF"
round
color="primary"
icon="download"
@@ -533,7 +533,6 @@ onMounted(() => {
-
+
@@ -271,7 +271,8 @@ watch(
label="ค้นหา"
class="full-width full-height"
unelevated
- color="teal"
+ outline
+ color="primary"
@click="(formFilter.page = 1), searchFilter()"
>
diff --git a/src/modules/17_acting/views/main.vue b/src/modules/17_acting/views/main.vue
index 7470f7edc..ef3ba3fcf 100644
--- a/src/modules/17_acting/views/main.vue
+++ b/src/modules/17_acting/views/main.vue
@@ -317,7 +317,7 @@ onMounted(() => {
{
- group.value = val ? "" : group.value;
groupOp.value = groupDataOp.value.filter(
(v: DataOption) => v.name.indexOf(val) > -1
);
@@ -487,12 +486,14 @@ watch(modal, async () => {
option-label="name"
:options="groupOp"
option-value="id"
- class="inputgreen"
+ :class="isStaff ? '' : 'inputgreen'"
dense
:readonly="isStaff"
emit-value
map-options
use-input
+ hide-selected
+ fill-input
outlined
@update:model-value="updateValue"
@filter="(inputValue:any,doneFn:Function) => filterOption(inputValue, doneFn) "