mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-09 11:26:38 +08:00
* feat: add vtable plugin * feat: add vchart hook * feat: add dark mode support in vtable * feat: add visactor icon * feat: add vtable-gantt plugin * fix: fix theme update in vtable-gantt * feat: update visactor version
722 lines
16 KiB
TypeScript
722 lines
16 KiB
TypeScript
export const basicGanttRecords = [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-15',
|
|
progress: 31,
|
|
priority: 'P0',
|
|
children: [
|
|
{
|
|
id: 2,
|
|
title: 'Project Feature Review',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-07-24',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-25',
|
|
end: '2024-07-26',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Project Create',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-27',
|
|
end: '2024-07-26',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Develop feature 1',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-08-01',
|
|
end: '2024-08-15',
|
|
progress: 0,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-01',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 100,
|
|
priority: 'P1',
|
|
children: [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-08-01',
|
|
end: '2024-08-01',
|
|
progress: 90,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-30',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024.07.26',
|
|
end: '2024.07.08',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '07.24.2024',
|
|
end: '08.04.2024',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-16',
|
|
end: '2024-07-18',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-08-09',
|
|
end: '2024-09-11',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0',
|
|
children: [
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1',
|
|
children: [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0',
|
|
children: [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-06',
|
|
end: '2024-07-08',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1',
|
|
children: [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-06',
|
|
end: '2024-07-08',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1',
|
|
children: [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-23',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-30',
|
|
end: '2024-08-14',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0',
|
|
children: [
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-08-04',
|
|
end: '2024-08-04',
|
|
progress: 90,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '07/24/2024',
|
|
end: '08/04/2024',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-27',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1',
|
|
children: [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '07.24.2024',
|
|
end: '08.04.2024',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-08-09',
|
|
end: '2024-09-11',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-26',
|
|
end: '2024-07-28',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0',
|
|
children: [
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024.07.06',
|
|
end: '2024.07.08',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-29',
|
|
end: '2024-07-31',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
]
|
|
}
|
|
];
|
|
|
|
export const linkGanttRecords = [
|
|
{
|
|
id: 1,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-15',
|
|
end: '2024-07-16',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-16',
|
|
end: '2024-07-17',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-18',
|
|
end: '2024-07-19',
|
|
progress: 90,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 4,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024/07/17',
|
|
end: '2024/07/18',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 5,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '07/19/2024',
|
|
end: '07/20/2024',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 6,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 7,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 8,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024.07.06',
|
|
end: '2024.07.08',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 9,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024/07/09',
|
|
end: '2024/07/11',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 10,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '07.24.2024',
|
|
end: '08.04.2024',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
|
|
{
|
|
id: 11,
|
|
title: 'Software Development',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-24',
|
|
end: '2024-08-04',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 12,
|
|
title: 'Scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-06',
|
|
end: '2024-07-08',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 13,
|
|
title: 'Determine project scope',
|
|
developer: 'liufangfang.jane@bytedance.com',
|
|
start: '2024-07-09',
|
|
end: '2024-07-11',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
];
|
|
|
|
export const customGanttRecords = [
|
|
{
|
|
id: 1,
|
|
title: 'Project Task 1',
|
|
developer: 'bear.xiong',
|
|
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/bear.jpg',
|
|
start: '2024-07-24',
|
|
end: '2024-07-26',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Project Task 2',
|
|
developer: 'wolf.lang',
|
|
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/wolf.jpg',
|
|
start: '07/25/2024',
|
|
end: '07/28/2024',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Project Task 3',
|
|
developer: 'rabbit.tu',
|
|
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/rabbit.jpg',
|
|
start: '2024-07-28',
|
|
end: '2024-08-01',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
},
|
|
{
|
|
id: 1,
|
|
title: 'Project Task 4',
|
|
developer: 'cat.mao',
|
|
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/cat.jpg',
|
|
start: '2024-07-31',
|
|
end: '2024-08-03',
|
|
progress: 31,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Project Task 5',
|
|
developer: 'bird.niao',
|
|
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/bird.jpeg',
|
|
start: '2024-08-02',
|
|
end: '2024-08-04',
|
|
progress: 60,
|
|
priority: 'P0'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Project Task 6',
|
|
developer: 'flower.hua',
|
|
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/flower.jpg',
|
|
start: '2024-08-03',
|
|
end: '2024-08-10',
|
|
progress: 100,
|
|
priority: 'P1'
|
|
}
|
|
];
|