diff --git a/public/toc.json b/public/toc.json index 3c712f9f..2debd00d 100644 --- a/public/toc.json +++ b/public/toc.json @@ -116,7 +116,7 @@ { "icon": "mdi-file-outline", "activeIcon": "mdi-file", - "label": "คู่มือการใช้งานระบบให้บริการเจ้าของข้อมูล", + "label": "คู่มือการใช้งานระบบข้าราชการกรุงเทพหานครสามัญ", "children": [{ "label": "ระบบแผนผังองค์กร", "path": "/manual/chapter-1-user-organization-chart" @@ -164,11 +164,47 @@ { "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" + } + ] } - ] \ No newline at end of file diff --git a/src/modules/01_manual/MainPage.vue b/src/modules/01_manual/MainPage.vue index da9fc32e..58554e1e 100644 --- a/src/modules/01_manual/MainPage.vue +++ b/src/modules/01_manual/MainPage.vue @@ -80,7 +80,7 @@ onMounted(async () => { text.value = await res.text(); found.value = true; - chapter.value = +match[1]; + chapter.value = +match[1] - 1 ; parsed.value = md.parse(text.value, {}); } }