แก้ path timestamp-special

แก้ path timestamp-special
This commit is contained in:
AnandaTon 2023-11-03 11:09:34 +07:00
parent e02aee9527
commit 4a9fa574de
3 changed files with 40 additions and 26 deletions

View file

@ -0,0 +1,11 @@
interface DataRows {
fullname: string | null;
date: string | null;
dateFix: string | null;
type: string;
reason: string;
timeStamp: string;
unapprove?: string; // Make these properties optional
approve?: string;
}
export type { DataRows };

View file

@ -1,10 +1,13 @@
const workMain = () => import("@/modules/09_leave/views/WorkingMain.vue");
const leaveMain = () => import("@/modules/09_leave/views/LeaveListMain.vue");
const reportMain = () => import("@/modules/09_leave/views/ReportMain.vue")
const leaveDetail = () => import("@/modules//09_leave/components/2_Leave/DetailLeave.vue")
const RoundMain = () => import("@/modules/09_leave/views/RoundMain.vue")
const ChangeRoundMain = () => import("@/modules/09_leave/views/ChangeRoundMain.vue")
const SpecialTimeMain = () => import("@/modules/09_leave/views/SpecialTimeMain.vue");
const reportMain = () => import("@/modules/09_leave/views/ReportMain.vue");
const leaveDetail = () =>
import("@/modules//09_leave/components/2_Leave/DetailLeave.vue");
const RoundMain = () => import("@/modules/09_leave/views/RoundMain.vue");
const ChangeRoundMain = () =>
import("@/modules/09_leave/views/ChangeRoundMain.vue");
const SpecialTimeMain = () =>
import("@/modules/09_leave/views/SpecialTimeMain.vue");
export default [
{
@ -17,25 +20,15 @@ export default [
Role: "coin",
},
},
{
path: "/change-round",
name: "/change-round",
component: ChangeRoundMain,
meta: {
Auth: true,
Key: [9],
Role: "coin",
},
{
path: "/change-round",
name: "/change-round",
component: ChangeRoundMain,
meta: {
Auth: true,
Key: [9],
Role: "coin",
},
{
path: "/work-list",
name: "/work-list",
component: workMain,
meta: {
Auth: true,
Key: [9],
Role: "coin",
},
},
{
path: "/work-list",
@ -48,8 +41,18 @@ export default [
},
},
{
path: "/special-time",
name: "/special-time",
path: "/work-list",
name: "/work-list",
component: workMain,
meta: {
Auth: true,
Key: [9],
Role: "coin",
},
},
{
path: "/timestamp-special",
name: "/timestamp-special",
component: SpecialTimeMain,
meta: {
Auth: true,