แก้ path timestamp-special
แก้ path timestamp-special
This commit is contained in:
parent
e02aee9527
commit
4a9fa574de
3 changed files with 40 additions and 26 deletions
|
|
@ -397,7 +397,7 @@ const menuList = readonly<any[]>([
|
|||
{
|
||||
key: 9.4,
|
||||
label: "ลงเวลากรณีพิเศษ",
|
||||
path: "/special-time",
|
||||
path: "/timestamp-special",
|
||||
role: "leave",
|
||||
},
|
||||
{
|
||||
|
|
|
|||
11
src/modules/09_leave/interface/response/specialTime.ts
Normal file
11
src/modules/09_leave/interface/response/specialTime.ts
Normal 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 };
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue