feat: Implement instructor course and lesson management with dedicated views for quizzes, videos, and admin categories.

This commit is contained in:
Missez 2026-01-30 10:56:48 +07:00
parent 344e1e4341
commit 878a17f922
9 changed files with 903 additions and 399 deletions

View file

@ -128,6 +128,8 @@
outlined
class="mb-4"
:rules="[val => !!val || 'กรุณากรอกชื่อ']"
lazy-rules="ondemand"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon name="person" />
@ -140,6 +142,8 @@
outlined
class="mb-4"
:rules="[val => !!val || 'กรุณากรอกนามสกุล']"
lazy-rules="ondemand"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon name="person" />
@ -151,6 +155,8 @@
label="เบอร์โทร"
outlined
class="mb-4"
lazy-rules="ondemand"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon name="phone" />
@ -194,6 +200,8 @@
outlined
class="mb-4"
:rules="[val => !!val || 'กรุณากรอกรหัสผ่านปัจจุบัน']"
lazy-rules="ondemand"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon name="lock" />
@ -217,6 +225,8 @@
val => !!val || 'กรุณากรอกรหัสผ่านใหม่',
val => val.length >= 6 || 'รหัสผ่านต้องมีอย่างน้อย 6 ตัวอักษร'
]"
lazy-rules="ondemand"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon name="lock" />
@ -240,6 +250,8 @@
val => !!val || 'กรุณายืนยันรหัสผ่าน',
val => val === passwordForm.newPassword || 'รหัสผ่านไม่ตรงกัน'
]"
lazy-rules="ondemand"
hide-bottom-space
>
<template v-slot:prepend>
<q-icon name="lock" />