diff --git a/public/pages.json b/public/pages.json index 35c11cd2..83183dd9 100644 --- a/public/pages.json +++ b/public/pages.json @@ -1,14 +1,13 @@ -[ - { - "icon": "mdi-file-outline", - "activeIcon": "mdi-file", - "label": "การตรวจสอบและแก้ไขปัญหา", - "path": "/debug" - }, - { - "icon": "mdi-file-outline", - "activeIcon": "mdi-file", - "label": "Build and Deploy Document", - "path": "/build-and-deploy" - } -] +[{ + "icon": "mdi-file-outline", + "activeIcon": "mdi-file", + "label": "การตรวจสอบและแก้ไขปัญหา", + "path": "/debug" + }, + { + "icon": "mdi-file-outline", + "activeIcon": "mdi-file", + "label": "Build and Deploy Document", + "path": "/build-and-deploy" + } +] \ No newline at end of file diff --git a/public/toc.json b/public/toc.json index 82d36b51..c1a34994 100644 --- a/public/toc.json +++ b/public/toc.json @@ -9,11 +9,11 @@ "activeIcon": "mdi-file", "label": "คู่มือการใช้งานระบบแอดมิน", "children": [ - + { "label": "การใช้งานผู้ดูแลระบบ", "path": "/manual/chapter-1-superadmin-maintenance" - + }, { "label": "การใช้งานผู้ดูแลระบบระดับสูง", @@ -113,96 +113,101 @@ ] }, { + "icon": "mdi-file-outline", "activeIcon": "mdi-file", - "label": "คู่มือการใช้งานระบบข้าราชการกรุงเทพหานครสามัญ", + "label": "คู่มือการใช้งานระบบผู้ใช้งานทั่วไป", "children": [{ - "label": "ระบบแผนผังองค์กร", - "path": "/manual/chapter-1-user-organization-chart" + "label": "คู่มือการใช้งานระบบข้าราชการกรุงเทพหานครสามัญ", + "children": [{ + "label": "ระบบแผนผังองค์กร", + "path": "/manual/chapter-1-user-organization-chart" + }, + { + "label": "ระบบทะเบียนประวัติ", + "path": "/manual/chapter-2-user-registry" + }, + { + "label": "ระบบประเมินบุคคล", + "path": "/manual/chapter-3-user-evaluate" + }, + { + "label": "ระบบการลา", + "path": "/manual/chapter-4-user-leave" + }, + { + "label": "ระบบผลงาน", + "path": "/manual/chapter-5-user-portfolio" + }, + { + "label": "ระบบขอโอน", + "path": "/manual/chapter-6-user-transfer" + }, + { + "label": "ระบบอุทธรณ์ร้องทุกข์", + "path": "/manual/chapter-7-user-appeal-complain" + }, + { + "label": "ระบบผู้ขอรับประเมิน (KPI)", + "path": "/manual/chapter-8-user-KPI" + }, + { + "label": "ระบบผู้ประเมิน (KPI)", + "path": "/manual/chapter-9-user-KPI-evaluator" + }, + { + "label": "ระบบทุนการศึกษา/ฝึกอบรม", + "path": "/manual/chapter-10-user-scholarship" + }, + { + "label": "ระบบการพัฒนารายบุคคล", + "path": "/manual/chapter-11-user-Individual-development" + }, + { + "label": "ระบบลาออก", + "path": "/manual/chapter-12-user-retire" + }, + { + "label": "ระบบบันทึกการลงเวลาปฏิบัติงาน", + "path": "/manual/chapter-13-user-worktimerecord" + }, + { + "label": "ระบบทุนการศึกษา/ฝึกอบรม", + "path": "/manual/chapter-14-user-service-testing" + } + ] }, + { - "label": "ระบบทะเบียนประวัติ", - "path": "/manual/chapter-2-user-registry" - }, - { - "label": "ระบบประเมินบุคคล", - "path": "/manual/chapter-3-user-evaluate" - }, - { - "label": "ระบบการลา", - "path": "/manual/chapter-4-user-leave" - }, - { - "label": "ระบบผลงาน", - "path": "/manual/chapter-5-user-portfolio" - }, - { - "label": "ระบบขอโอน", - "path": "/manual/chapter-6-user-transfer" - }, - { - "label": "ระบบอุทธรณ์ร้องทุกข์", - "path": "/manual/chapter-7-user-appeal-complain" - }, - { - "label": "ระบบผู้ขอรับประเมิน (KPI)", - "path": "/manual/chapter-8-user-KPI" - }, - { - "label": "ระบบผู้ประเมิน (KPI)", - "path": "/manual/chapter-9-user-KPI-evaluator" - }, - { - "label": "ระบบทุนการศึกษา/ฝึกอบรม", - "path": "/manual/chapter-10-user-scholarship" - }, - { - "label": "ระบบการพัฒนารายบุคคล", - "path": "/manual/chapter-11-user-Individual-development" - }, - { - "label": "ระบบลาออก", - "path": "/manual/chapter-12-user-retire" - }, - { - "label": "ระบบบันทึกการลงเวลาปฏิบัติงาน", - "path": "/manual/chapter-13-user-worktimerecord" - }, - { - "label": "ระบบทุนการศึกษา/ฝึกอบรม", - "path": "/manual/chapter-14-user-service-testing" - } - ] - }, { - "icon": "mdi-file-outline", - "activeIcon": "mdi-file", - "label": "คู่มือการใช้งานระบบลูกจ้างประจำกรุงเทพมหานคร", - "children": [{ - "label": "ระบบแผนผังองค์กร", - "path": "/manual/chapter-1-user-organization-chart" - }, - { - "label": "ระบบทะเบียนประวัติ", - "path": "/manual/chapter-2-user-registry" - }, { - "label": "ระบบการลา", - "path": "/manual/chapter-4-user-leave" - }, - { - "label": "ระบบลงเวลา (ยังไม่ได้ทำ)", - "path": "/manual/chapter-5-user-portfolio" - }, - { - "label": "ระบบอุทธรณ์ร้องทุกข์", - "path": "/manual/chapter-7-user-appeal-complain" - }, - { - "label": "ระบบลาออก", - "path": "/manual/chapter-12-user-retire" - }, - { - "label": "ระบบบันทึกการลงเวลาปฏิบัติงาน", - "path": "/manual/chapter-13-user-worktimerecord" + "label": "คู่มือการใช้งานระบบลูกจ้างประจำกรุงเทพมหานคร", + "children": [{ + "label": "ระบบแผนผังองค์กร", + "path": "/manual/chapter-1-user-organization-chart" + }, + { + "label": "ระบบทะเบียนประวัติ", + "path": "/manual/chapter-2-user-registry" + }, { + "label": "ระบบการลา", + "path": "/manual/chapter-4-user-leave" + }, + { + "label": "ระบบลงเวลา (ยังไม่ได้ทำ)", + "path": "/manual/" + }, + { + "label": "ระบบอุทธรณ์ร้องทุกข์", + "path": "/manual/chapter-7-user-appeal-complain" + }, + { + "label": "ระบบลาออก", + "path": "/manual/chapter-12-user-retire" + }, + { + "label": "ระบบบันทึกการลงเวลาปฏิบัติงาน", + "path": "/manual/chapter-13-user-worktimerecord" + } + ] } ] } diff --git a/src/interface/request/main/type.ts b/src/interface/request/main/type.ts index 3fc7ebd4..5231b6ef 100644 --- a/src/interface/request/main/type.ts +++ b/src/interface/request/main/type.ts @@ -3,5 +3,8 @@ export interface MenuItem { activeIcon: string; label: string; path?: string; - children?: MenuItem[]; + children?: { + label: string; + path: string; + }[]; } diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 3ecb6e66..f77540e1 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -457,6 +457,7 @@ function defaultOpen(index: number) { font-weight: 500; } .expan2 .q-item { + padding: 8px; padding-left: 11%; } .subLabel {