แก้ 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,
|
key: 9.4,
|
||||||
label: "ลงเวลากรณีพิเศษ",
|
label: "ลงเวลากรณีพิเศษ",
|
||||||
path: "/special-time",
|
path: "/timestamp-special",
|
||||||
role: "leave",
|
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 workMain = () => import("@/modules/09_leave/views/WorkingMain.vue");
|
||||||
const leaveMain = () => import("@/modules/09_leave/views/LeaveListMain.vue");
|
const leaveMain = () => import("@/modules/09_leave/views/LeaveListMain.vue");
|
||||||
const reportMain = () => import("@/modules/09_leave/views/ReportMain.vue")
|
const reportMain = () => import("@/modules/09_leave/views/ReportMain.vue");
|
||||||
const leaveDetail = () => import("@/modules//09_leave/components/2_Leave/DetailLeave.vue")
|
const leaveDetail = () =>
|
||||||
const RoundMain = () => import("@/modules/09_leave/views/RoundMain.vue")
|
import("@/modules//09_leave/components/2_Leave/DetailLeave.vue");
|
||||||
const ChangeRoundMain = () => import("@/modules/09_leave/views/ChangeRoundMain.vue")
|
const RoundMain = () => import("@/modules/09_leave/views/RoundMain.vue");
|
||||||
const SpecialTimeMain = () => import("@/modules/09_leave/views/SpecialTimeMain.vue");
|
const ChangeRoundMain = () =>
|
||||||
|
import("@/modules/09_leave/views/ChangeRoundMain.vue");
|
||||||
|
const SpecialTimeMain = () =>
|
||||||
|
import("@/modules/09_leave/views/SpecialTimeMain.vue");
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
|
|
@ -17,25 +20,15 @@ export default [
|
||||||
Role: "coin",
|
Role: "coin",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/change-round",
|
path: "/change-round",
|
||||||
name: "/change-round",
|
name: "/change-round",
|
||||||
component: ChangeRoundMain,
|
component: ChangeRoundMain,
|
||||||
meta: {
|
meta: {
|
||||||
Auth: true,
|
Auth: true,
|
||||||
Key: [9],
|
Key: [9],
|
||||||
Role: "coin",
|
Role: "coin",
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "/work-list",
|
|
||||||
name: "/work-list",
|
|
||||||
component: workMain,
|
|
||||||
meta: {
|
|
||||||
Auth: true,
|
|
||||||
Key: [9],
|
|
||||||
Role: "coin",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/work-list",
|
path: "/work-list",
|
||||||
|
|
@ -48,8 +41,18 @@ export default [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/special-time",
|
path: "/work-list",
|
||||||
name: "/special-time",
|
name: "/work-list",
|
||||||
|
component: workMain,
|
||||||
|
meta: {
|
||||||
|
Auth: true,
|
||||||
|
Key: [9],
|
||||||
|
Role: "coin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/timestamp-special",
|
||||||
|
name: "/timestamp-special",
|
||||||
component: SpecialTimeMain,
|
component: SpecialTimeMain,
|
||||||
meta: {
|
meta: {
|
||||||
Auth: true,
|
Auth: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue