完善页面内容开发
This commit is contained in:
@@ -20,6 +20,9 @@ export interface ProjectVersion {
|
||||
description: string // 版本描述
|
||||
createdAt: string // 创建时间
|
||||
createdBy: string // 创建人
|
||||
isCurrent?: boolean // 是否是当前运行版本
|
||||
// 版本关联的文件列表
|
||||
files?: { name: string; size: number; path?: string }[]
|
||||
// 版本快照数据
|
||||
snapshot: {
|
||||
name: string
|
||||
@@ -151,11 +154,52 @@ export const mockProjects: PlatformProject[] = [
|
||||
currentVersion: '1.0.0',
|
||||
versions: [
|
||||
{
|
||||
id: 'v1',
|
||||
id: 'v1.2.0',
|
||||
version: '1.2.0',
|
||||
description: '新增了客服系统和会话管理模块',
|
||||
createdAt: '2024-03-15T10:00:00Z',
|
||||
createdBy: '管理员',
|
||||
isCurrent: true,
|
||||
files: [
|
||||
{ name: 'dist.zip', size: 5242880, path: '/opt/1panel/www/sites/codeport/index' }
|
||||
],
|
||||
snapshot: {
|
||||
name: 'CodePort 码头',
|
||||
shortName: 'CodePort',
|
||||
logo: '码',
|
||||
color: '#1890ff',
|
||||
description: '人才外包平台管理后台',
|
||||
baseUrl: 'http://localhost:5174',
|
||||
menus: codePortMenus
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'v1.1.0',
|
||||
version: '1.1.0',
|
||||
description: '优化了用户管理和项目列表',
|
||||
createdAt: '2024-02-01T10:00:00Z',
|
||||
createdBy: '管理员',
|
||||
isCurrent: false,
|
||||
files: [
|
||||
{ name: 'dist.zip', size: 4718592, path: '/opt/1panel/www/sites/codeport/index' }
|
||||
],
|
||||
snapshot: {
|
||||
name: 'CodePort 码头',
|
||||
shortName: 'CodePort',
|
||||
logo: '码',
|
||||
color: '#1890ff',
|
||||
description: '人才外包平台管理后台',
|
||||
baseUrl: 'http://localhost:5174',
|
||||
menus: codePortMenus
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'v1.0.0',
|
||||
version: '1.0.0',
|
||||
description: '初始版本',
|
||||
createdAt: '2024-01-01T00:00:00Z',
|
||||
createdBy: '管理员',
|
||||
isCurrent: false,
|
||||
snapshot: {
|
||||
name: 'CodePort 码头',
|
||||
shortName: 'CodePort',
|
||||
|
||||
Reference in New Issue
Block a user