diff --git a/public/documents/chapter-1-admin-maintenance.md b/public/documents/chapter-1-admin-maintenance.md new file mode 100644 index 00000000..3c2c4296 --- /dev/null +++ b/public/documents/chapter-1-admin-maintenance.md @@ -0,0 +1,169 @@ +# คู่มือสิทธิ์การใช้งานของ admin + +- เมื่อเข้าสู่ระบบที่ผู้ใช้สีสิทธิ์เป็น Admin(ผู้ดูแลระบบ)โดยหากเข้าสู่ระบบโดยใช้สิทธิ์ Admin จะประกอบด้วย 3 เมนู ได้แก่ หน้าแรก จัดการผู้ใช้งานสิทธิ์ และประวัติกิจกรรม + +![รูปภาพที่ 1 – 1 เมนูผู้ใช้มีสิทธิ์เป็น Admin (ผู้ดูแลระบบ)](images/admin-superadmin-mainten/chapter1_1.png#center) + +## หน้าแรก + +- เมื่อคลิกเมนู “หน้าแรก” ระบบแสดงหน้ารายละเอียดหน้าแรก ซึ่งประกอบด้วยกล่องข้อความ โดย +หากคลิกที่รายการกล่องข้อความ จะแสดงรายละเอียดรายการกล่องข้อความที่เลือกคลิก รวมทั้งตอบกลับข้อความและลบข้อมูลได้ + +![รูปภาพที่ 1 – 2 หน้าแรก](images/admin-superadmin-mainten/chapter1_2.png#center) + +>หมายเลข 1 กล่องข้อความ หากเป็นตัวหนังสือเข้ม คือ รายการที่ยังไม่ได้อ่านหรือยังไม่ได้คลิกเข้าไปดู แต่หากเป็นตัวหนังสืออ่อน คือ รายการที่อ่านแล้วหรือคลิกเข้าไปดูแล้ว +>หมายเลข 2 รายละเอียดข้อความ +>หมายเลข 3 การแจ้งเตือน +>หมายเลข 4 ไอคอนตอบกลับข้อความ +>หมายเลข 5 ไอคอนลบข้อมูล +>หมายเลข 6 ปุ่มดาวน์โหลดเอกสารแนบ + + + +- เมื่อคลิกไอคอน![close](images/button/reply-msg.png)ที่หมายเลข 4 ในรูปที่ 1 – 2 ระบบแสดงฟอร์มให้ส่งข้อความ + +![รูปภาพที่ 1 – 3 ส่งข้อความ](images/admin-superadmin-mainten/chapter1_3.png#center) + +> หมายเลข 1 ช่องให้กรอกหัวข้อ +> หมายเลข 2 ช่องให้กรอกข้อความ +> หมายเลข 3 ปุ่ม “ส่งข้อความ” + +## จัดการผู้ใช้งานและสิทธิ์ + +- เมื่อคลิกเมนู “จัดการผู้ใช้งานและสิทธิ์” จะแสดงเมนูย่อย 3 เมนู ประกอบด้วย +จัดการผู้ใช้งาน จัดการบทบาทและสิทธิ์(Role) และกำหนดสิทธิ์(Permission) + +![รูปภาพที่ 2 – 4 เมนู “จัดการผู้ใช้งานและสิทธิ์”](images/admin-superadmin-mainten/chapter2_4.png#center) + + +### จัดการผู้ใช้งาน + +- เมื่อคลิกเลือกเมนูย่อย “จัดการผู้ใช้งาน” ระบบแสดงหน้าจัดการผู้ใช้งาน โดยสามารถเพิ่มผู้ใช้งาน +ระงับการใช้งาน จัดการสิทธิ์ และลบข้อมูลได้ + + +![รูปภาพที่ 2 – 5 จัดการผู้ใช้งาน](images/admin-superadmin-mainten/chapter2_5.png#center) + +> หมายเลข 1 ไอคอนเพิ่มผู้ใช้งาน +> หมายเลข 2 รายการรายชื่อผู้ใช้งาน +> หมายเลข 3 ช่องสืบค้นข้อมูล +> หมายเลข 4 ช่องคอลัมน์ +> หมายเลข 5 ไอคอน 3 จุด เมื่อคลิกจะแสดง เมนู 3 เมนู ประกอบด้วย ระงับการใช้งาน จัดการสิทธิ์ และลบ + + +- เมื่อคลิก![close](images/button/plus-green.png)ที่หมายเลข 1 ในรูปภาพที่ 2 – 5 ระบบแสดงหน้าเพิ่มผู้ใช้งาน โดยสามารถค้นหา +รายชื่อเพื่อเพิ่มข้อมูลจากเลขประจำตัวประชาชน ชื่อ และนามสกุลได้ + +![รูปภาพที่ 2 – 6 เพิ่มผู้ใช้งาน](images/admin-superadmin-mainten/chapter2_6.png#center) + +> หมายเลข 1 ช่องค้นหาจาก สามารถเลือกการค้นหาได้ ซึ่งประกอบด้วย เลขประจำตัว +> ประชาชน ชื่อ และนามสกุล +> หมายเลข 2 ช่องให้กรอกคำค้น +> หมายเลข 3 ปุ่ม “ค้นหา” +> หมายเลข 4 รายการรายชื่อ +> หมายเลข 5 ช่องให้กรอกชื่อผู้ใช้งาน +> หมายเลข 6 ช่องให้กรอกรหัสผู้ใช้งาน +> หมายเลข 7 ช่องแสดงชื่อ +> หมายเลข 8 ช่องแสดงนามสกุล +> หมายเลข 9 ช่องให้กรอก Email +> หมายเลข 10 ช่องให้เลือก Role ซึ่งมีให้เลือก 4 ประเภท ได้แก่ STAFF SUPER_ADMIN ADMIN และUSER โดยสามารถเลือกได้มากกว่า 1 ประเภท +> หมายเลข 11 ปุ่ม “บันทึก” +> หมายเลข 12 ไอคอนเปิด - ปิด รหัสผู้ใช้งาน + +- เมื่อคลิก![close](images/button/dot-grey.png)และเลือกเมนู![close](images/button/stop-permission.png)ที่ฟิลด์สถานการณ์ใช้งานจะแสดงกากบาท และ +ผู้ใช้งานจะไม่สามารถเข้าใช้งานได้ + + +- เมื่อคลิก![close](images/button/dot-grey.png)และเลือกเมนู![close](images/button/permission.png)ระบบแสดงหน้าจัดการสิทธิ์ โดยสามารถเพิ่มสิทธิ์ และลบสิทธิ์ได้ + + +![รูปภาพที่ 2 – 7 จัดการสิทธิ์](images/admin-superadmin-mainten/chapter2_7.png#center) + + +> หมายเลข 1 ไอคอนเพิ่ม Role +> หมายเลข 2 รายการสิทธิ์ +> หมายเลข 3 ไอคอนลบข้อมูล +> หมายเลข 4 ช่องคอลัมน์ + + +- เมื่อคลิก![close](images/button/plus-green.png)ที่หมายเลข 1 ในรูปภาพที่ 2 – 7 ระบบแสดงหน้าเพิ่มสิทธิ์ + +![รูปภาพที่ 2 – 8 เพิ่มสิทธิ์](images/admin-superadmin-mainten/chapter2_8.png#center) + + +> หมายเลข 1 ช่องให้เลือกสิทธิ์ +> หมายเลข 2 ปุ่ม “บันทึก” + + +- เมื่อคลิก![close](images/button/dot-grey.png)และเลือกเมนู![close](images/button/delete-position.png)รายชื่อจะถูกลบออกจากหน้าจัดการผู้ใช้งาน + + +### จัดการบทบาทและสิทธิ์ (Roles) + + +- เมื่อคลิกเลือกเมนูย่อย “จัดการบทบาทและสิทธิ์” ระบบแสดงหน้าจัดการบทบาทและสิทธิ์ โดย +สามารถเพิ่มบทบาท จัดการบทบาทและสิทธิ์ได้ รวมทั้งยังสามารถแก้ไขข้อมูลและลบข้อมูลได้ + +![รูปภาพที่ 2 – 9 จัดการบทบาทและสิทธิ์](images/admin-superadmin-mainten/chapter2_9.png#center) + + +> หมายเลข 1 ไอคอนเพิ่มบทบาท +> หมายเลข 2 รายการบทบาท +> หมายเลข 3 ช่องสืบค้นข้อมูล +> หมายเลข 4 ช่องคอลัมน์ +> หมายเลข 5 ไอคอน 3 จุด เมื่อคลิกจะแสดง เมนู 2 เมนู ประกอบด้วย แก้ไขและลบ + + +- เมื่อคลิก![close](images/button/plus-green.png)ที่หมายเลข 1 ในรูปภาพที่ 2 – 9 ระบบแสดงหน้าเพิ่มบทบาท + +![รูปภาพที่ 2 – 10 เพิ่มบทบาท](images/admin-superadmin-mainten/chapter2_10.png#center) + +> หมายเลข 1 ช่องให้กรอกชื่อบทบาท +> หมายเลข 2 ช่องให้กรอกคำอธิบาย +> หมายเลข 3 ปุ่ม “บันทึก” + +- เมื่อปุ่ม “บันทึก” ที่หมายเลข 3 ในรูปภาพที่ 2 – 10 ระบบแสดงหน้าจัดการบทบาทและสิทธิ์ + +![รูปภาพที่ 2 – 11 รายละเอียดจัดการบทบาทและสิทธิ์](images/admin-superadmin-mainten/chapter2_11.png#center) + +> หมายเลข 1 ช่องแสดงชื่อบทบาท ซึ่งสามารถแก้ไขได้ +> หมายเลข 2 ช่องแสดงคำอธิบาย ซึ่งสามารถแก้ไขได้ +> หมายเลข 3 รายการระบบ ซึ่งสามารถเลือกคลิกรายการระบบ ที่บทบาทที่เพิ่มสามารถจัดการได้ +> หมายเลข 4 ความเป็นเจ้าของ เมื่อเลือกรายการระบบที่มีสิทธิ์เข้าถึง สามารถเลือกช่องความเป็นเจ้าของ ประกอบด้วย 3 ประเภท ได้แก่ OWNER STAFF และ GUEST +> หมายเลข 5 สิทธิ์การดำเนินการ หากในคอลัมน์ความเป็นเจ้าของเลือก OWNER ในคอมลัมน์สิทธิ์การดำเนินการจะเลือกให้ทุกช่อง จะไม่สามารถยกเลิกช่องใดช่องหนึ่งได้ แต่ในคอลัมน์ความเป็นเจ้าของเลือก STAFF หรือ GUEST ในคอมลัมน์สิทธิ์การดำเนินการจะเลือกให้ทุกช่อง จะสามารถยกเลิกช่องใดช่องหนึ่งได้ +> หมายเลข 6 สิทธิ์การเข้าถึง ประกอบด้วย 4 ประเภท ได้แก่ ROOT CHILD NORMAL และ SPECIFIC หากในคอลัมน์ความเป็นเจ้าของเลือก OWNER ในคอมลัมน์สิทธิ์การเข้าถึงจะเลือก ROOT ให้อัตโนมัติ จะไม่สามารถเปลี่ยนได้ แต่ในคอลัมน์ความเป็นเจ้าของเลือก STAFF หรือ GUEST ในคอมลัมน์สิทธิ์การเข้าถึงจะเลือก ROOT ให้อัตโนมัติ แต่สามารถเปลี่ยนได้ +> หมายเลข 7 ช่องให้เลือกสิทธิ์การเข้าถึง ประกอบด้วย 4 ประเภท ได้แก่ ROOT CHILD NORMAL และ SPECIFIC +> หมายเลข 8 คำอธิบาย + + +### กำหนดสิทธิ์ (Permissions) + +- เมื่อคลิกเลือกเมนูย่อย “กำหนดสิทธิ์ (Permissions)” ระบบแสดงหน้ากำหนดสิทธิ์ +โดยสามารถกำหนดสิทธิ์ ให้แก่ตำแหน่งต่างๆ ในแต่ละสำนัก/หน่วย + +![รูปภาพที่ 2 – 12 กำหนดสิทธิ์](images/admin-superadmin-mainten/chapter2_12.png#center) + + +> หมายเลข 1 โครงสร้างอัตรากำลังปัจจุบัน +> หมายเลข 2 โครงสร้างอัตรากำลังแบบร่าง +> หมายเลข 3 ช่องสืบค้นข้อมูลสำนัก/หน่วยงาน +> หมายเลข 4 รายการสำนัก/หน่วยงาน +> หมายเลข 5 ข้อมูลอัตรากำลัง +> หมายเลข 6 ช่องให้เลือกแสดงตำแหน่งทั้งหมด +> หมายเลข 7 ช่องสืบค้นอัตรากำลัง +> หมายเลข 8 ไอคอนดูตำแหน่งทั้งหมดในตำแหน่งในสายงานนั้น ๆ +> หมายเลข 9 ตำแหน่งทั้งหมดในตำแหน่งในสายงานนั้น ๆ + + + + + + + + + + + + + + diff --git a/public/documents/chapter-2-superadmin-maintenance.md b/public/documents/chapter-2-superadmin-maintenance.md new file mode 100644 index 00000000..e69de29b diff --git a/public/images/admin-superadmin-mainten/chapter1_1.png b/public/images/admin-superadmin-mainten/chapter1_1.png new file mode 100644 index 00000000..f8c0c16b Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter1_1.png differ diff --git a/public/images/admin-superadmin-mainten/chapter1_2.png b/public/images/admin-superadmin-mainten/chapter1_2.png new file mode 100644 index 00000000..0a00d710 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter1_2.png differ diff --git a/public/images/admin-superadmin-mainten/chapter1_3.png b/public/images/admin-superadmin-mainten/chapter1_3.png new file mode 100644 index 00000000..c01fdcdc Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter1_3.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_10.png b/public/images/admin-superadmin-mainten/chapter2_10.png new file mode 100644 index 00000000..61898e18 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_10.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_11.png b/public/images/admin-superadmin-mainten/chapter2_11.png new file mode 100644 index 00000000..7a5b23eb Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_11.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_12.png b/public/images/admin-superadmin-mainten/chapter2_12.png new file mode 100644 index 00000000..8d1095a0 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_12.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_4.png b/public/images/admin-superadmin-mainten/chapter2_4.png new file mode 100644 index 00000000..007e6229 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_4.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_5.png b/public/images/admin-superadmin-mainten/chapter2_5.png new file mode 100644 index 00000000..b98fdd67 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_5.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_6.png b/public/images/admin-superadmin-mainten/chapter2_6.png new file mode 100644 index 00000000..72c4330f Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_6.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_7.png b/public/images/admin-superadmin-mainten/chapter2_7.png new file mode 100644 index 00000000..8b128889 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_7.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_8.png b/public/images/admin-superadmin-mainten/chapter2_8.png new file mode 100644 index 00000000..7b1c0804 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_8.png differ diff --git a/public/images/admin-superadmin-mainten/chapter2_9.png b/public/images/admin-superadmin-mainten/chapter2_9.png new file mode 100644 index 00000000..08252ac1 Binary files /dev/null and b/public/images/admin-superadmin-mainten/chapter2_9.png differ diff --git a/public/images/button/permission.png b/public/images/button/permission.png new file mode 100644 index 00000000..bfd1d6d6 Binary files /dev/null and b/public/images/button/permission.png differ diff --git a/public/images/button/reply-msg.png b/public/images/button/reply-msg.png new file mode 100644 index 00000000..4bb11ead Binary files /dev/null and b/public/images/button/reply-msg.png differ diff --git a/public/images/button/stop-permission.png b/public/images/button/stop-permission.png new file mode 100644 index 00000000..1e9f3aff Binary files /dev/null and b/public/images/button/stop-permission.png differ diff --git a/public/toc.json b/public/toc.json index c4150c74..63d625d7 100644 --- a/public/toc.json +++ b/public/toc.json @@ -5,6 +5,21 @@ "label": "หน้าแรก", "path": "/" }, + { + "icon": "mdi-file-outline", + "activeIcon": "mdi-file", + "label": "คู่มือการใช้งาน (Super Admin)", + "children": [ + { + "label": "การใช้งานผู้ดูแลระบบ", + "path": "/manual/chapter-1-admin-maintenance" + }, + { + "label": "การใช้งานผู้ดูแลระบบระดับสูง", + "path": "/manual/chapter-2-superadmin-maintenance" + } + ] + }, { "icon": "mdi-file-outline", "activeIcon": "mdi-file",