原型设计系统

This commit is contained in:
junge
2026-02-02 17:40:51 +08:00
commit b553d9aab7
22 changed files with 5554 additions and 0 deletions

37
mock/modules.ts Normal file
View File

@@ -0,0 +1,37 @@
import { MockMethod } from 'vite-plugin-mock'
export default [
{
url: '/api/modules',
method: 'get',
response: () => {
return {
code: 0,
message: 'ok',
data: [
{
id: 1,
title: 'Personnel Evaluation',
description: 'Evaluate employee performance and manage reviews.',
icon: 'User',
path: '/personnel'
},
{
id: 2,
title: 'Training',
description: 'Manage training programs and track employee progress.',
icon: 'School',
path: '/training'
},
{
id: 3,
title: 'Data Dashboard',
description: 'View key performance indicators and analytics.',
icon: 'DataLine',
path: '/data-dashboard'
}
]
}
}
}
] as MockMethod[]