refactor code
This commit is contained in:
parent
d2c352de17
commit
92fc21033d
50 changed files with 652 additions and 2170 deletions
|
|
@ -21,52 +21,4 @@ interface optionType {
|
|||
color: string
|
||||
}
|
||||
|
||||
const menuList = readonly<menuType[]>([
|
||||
{
|
||||
key: 1,
|
||||
icon: 'mdi-home-variant-outline',
|
||||
activeIcon: 'mdi-home-variant',
|
||||
label: 'หน้าแรก',
|
||||
path: 'dashboard'
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
icon: 'o_person',
|
||||
activeIcon: 'person',
|
||||
label: 'รายการสอบทั้งหมด',
|
||||
path: 'exam'
|
||||
}
|
||||
])
|
||||
|
||||
const options = readonly<optionType[]>([
|
||||
{
|
||||
icon: 'mdi-account-cog',
|
||||
label: 'ผู้ดูแลระบบ',
|
||||
value: 'op1',
|
||||
color: 'primary'
|
||||
},
|
||||
{
|
||||
icon: 'mdi-account-group',
|
||||
label: 'เจ้าหน้าที่',
|
||||
value: 'op2',
|
||||
color: 'blue'
|
||||
},
|
||||
{
|
||||
icon: 'mdi-account-circle',
|
||||
label: 'บุคคล',
|
||||
value: 'op3',
|
||||
color: 'indigo'
|
||||
}
|
||||
])
|
||||
|
||||
const notiList = readonly<notiType[]>([
|
||||
{
|
||||
id: 1,
|
||||
sender: 'ท',
|
||||
body: 'ขอแก้ไขข้อมูลรายการสอบทั้งหมด',
|
||||
timereceive: '13/12/2565'
|
||||
}
|
||||
])
|
||||
|
||||
export { menuList, options, notiList }
|
||||
export type { menuType, notiType, optionType }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue