-
-
- {{ props.row.isLeave == null ? "-" : "" }}
-
+
+
+
+
{{ col.value ? col.value : "-" }}
@@ -579,6 +526,7 @@ watch(
v-model:modal="modalDialogMoveLeve"
v-model:profileId="profileId"
:fetchData="props.fetchDataTable"
+ :remark="''"
/>
+
+
diff --git a/src/modules/13_salary/interface/response/Main.ts b/src/modules/13_salary/interface/response/Main.ts
index 0b828a3b3..48eea3705 100644
--- a/src/modules/13_salary/interface/response/Main.ts
+++ b/src/modules/13_salary/interface/response/Main.ts
@@ -56,6 +56,75 @@ interface Row {
total: number;
}
+interface DataPosSalary {
+ amount: number;
+ createdAt: string;
+ createdFullName: string;
+ createdUserId: string;
+ date: string;
+ id: string;
+ lastUpdateFullName: string;
+ lastUpdateUserId: string;
+ lastUpdatedAt: string;
+ mouthSalaryAmount: number;
+ order: number;
+ posNo: string;
+ position: string;
+ positionExecutive: string;
+ positionLevel: string;
+ positionLine: string;
+ positionPathSide: string;
+ positionSalaryAmount: number;
+ positionType: string;
+ profileEmployeeId: string;
+ profileId: string;
+ refCommandNo: string;
+ templateDoc: string;
+}
+
+interface DataDiscipline {
+ date: string;
+ detail: string;
+ id: string;
+ lastUpdateFullName: string;
+ lastUpdatedAt: string;
+ level: string;
+ refCommandDate: string;
+ refCommandNo: string;
+ unStigma: string;
+}
+interface DataLeave {
+ id: string;
+ createdAt: string;
+ createdUserId: string;
+ lastUpdatedAt: string;
+ lastUpdateUserId: string;
+ createdFullName: string;
+ lastUpdateFullName: string;
+ profileId: string;
+ profileEmployeeId: string;
+ leaveTypeId: string;
+ dateLeaveStart: string;
+ dateLeaveEnd: string;
+ leaveDays: number;
+ leaveCount: number;
+ totalLeave: number;
+ status: string;
+ reason: string;
+ leaveType: {
+ id: string;
+ createdAt: string;
+ createdUserId: string;
+ lastUpdatedAt: string;
+ lastUpdateUserId: string;
+ createdFullName: string;
+ lastUpdateFullName: string;
+ name: string;
+ code: string;
+ limit: number;
+ };
+}
+
export type {
Salary,
SalaryRate,
@@ -64,4 +133,7 @@ export type {
RowList,
Row,
DataOption,
+ DataPosSalary,
+ DataDiscipline,
+ DataLeave,
};
diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue
index 409003368..bda3917fa 100644
--- a/src/modules/14_KPI/views/report.vue
+++ b/src/modules/14_KPI/views/report.vue
@@ -233,6 +233,7 @@ function changOption(val: string) {
val === "KPI2" ||
val === "KPI3" ||
val === "KPI7" ||
+ val === "KPI8" ||
val === "KPI9"
) {
persanalId.value = "";
@@ -552,6 +553,7 @@ onMounted(() => {
typeReport === 'KPI2' ||
typeReport === 'KPI3' ||
typeReport === 'KPI7' ||
+ typeReport === 'KPI8' ||
typeReport === 'KPI9'
"
>
@@ -605,6 +607,7 @@ onMounted(() => {
@update:model-value="changOption(typeReport)"
/>
{
>