+
+
+
+
+ ไม่มีข้อมูล
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/09_leave/interface/response/work.ts b/src/modules/09_leave/interface/response/work.ts
index af055b794..d35a1a8d4 100644
--- a/src/modules/09_leave/interface/response/work.ts
+++ b/src/modules/09_leave/interface/response/work.ts
@@ -98,6 +98,26 @@ interface DataProcess {
errorMessage: string | null;
}
+interface DataPendingJobs {
+ taskId: string;
+ keycloakUserId: string;
+ createdDate: string | Date;
+ processingDate: string | Date;
+ completedDate: string | Date;
+ status: string;
+ checkType: string;
+ checkInId: string;
+ errorMessage: string;
+ additionalData: string;
+ id: string;
+ createdAt: string | Date;
+ createdUserId: string;
+ lastUpdatedAt: string;
+ lastUpdateUserId: string;
+ createdFullName: string;
+ lastUpdateFullName: string;
+}
+
export type {
TableRows,
DataResLog,
@@ -105,4 +125,5 @@ export type {
TableRowsTime,
FormDetail,
DataProcess,
+ DataPendingJobs,
};
diff --git a/src/modules/09_leave/views/02_WorkingMain.vue b/src/modules/09_leave/views/02_WorkingMain.vue
index fed615baf..87b81c060 100644
--- a/src/modules/09_leave/views/02_WorkingMain.vue
+++ b/src/modules/09_leave/views/02_WorkingMain.vue
@@ -9,6 +9,7 @@ import { useRoute } from "vue-router";
import Tab1 from "@/modules/09_leave/components/02_WorkList/Tab1.vue";
import Tab2 from "@/modules/09_leave/components/02_WorkList/Tab2.vue";
import Tab3 from "@/modules/09_leave/components/02_WorkList/Tab3_Processed_Late.vue";
+import Tab4_Pending from "@/modules/09_leave/components/02_WorkList/Tab4_Pending.vue";
const stores = useWorklistDataStore();
const route = useRoute();
@@ -21,6 +22,10 @@ const isPermissionTab3 = computed(() => {
checkPermission(route)?.attrIsUpdate)
);
});
+
+const isPermissionTab4 = computed(() => {
+ return checkPermission(route)?.attrOwnership === "OWNER";
+});