feat: 数字员工财务报告体系与定时提醒及看板快照调度

- 新增数字员工财务报告生成、邮件投递与渲染调度器
- 引入员工画像扫描调度与定时提醒任务
- 完善财务看板快照、排行口径与部门人员占比计算
- 优化数字员工工作看板仪表盘与技能目录
- 增强前端总览页图表、工作台摘要与顶部导航栏交互
- 新增差旅申请规划推动提醒与报销创建会话状态管理
- 补充财务报告、看板调度、数字员工工作记录测试覆盖
This commit is contained in:
caoxiaozhu
2026-06-03 09:25:23 +08:00
parent 0c74b4ab4a
commit 15006a05a7
114 changed files with 7356 additions and 650 deletions

View File

@@ -817,13 +817,15 @@ async function startBackendAndWait() {
return cloneBackendStartState()
}
function localSetupPlugin() {
return {
name: 'local-setup-api',
configureServer(server) {
server.watcher.unwatch(envFile)
server.watcher.unwatch(envExampleFile)
server.watcher.unwatch(path.join(rootDir, 'server', 'logs'))
function localSetupPlugin() {
return {
name: 'local-setup-api',
configureServer(server) {
server.watcher.unwatch(envFile)
server.watcher.unwatch(envExampleFile)
server.watcher.unwatch(path.join(rootDir, 'server', 'logs'))
server.watcher.unwatch(path.join(rootDir, 'server', 'storage'))
server.watcher.unwatch(path.join(rootDir, 'test-results'))
server.middlewares.use('/__setup/auth/login', async (req, res) => {
try {
@@ -1030,15 +1032,18 @@ export default defineConfig({
? {
// Docker bind mounts can miss fs events for Vue SFCs, which leaves Vite serving stale templates.
usePolling: true,
interval: 250
interval: 1000
}
: {}),
ignored: [
envFile,
envExampleFile,
path.join(rootDir, 'server', 'logs', '**')
]
},
path.join(rootDir, 'server', 'logs', '**'),
path.join(rootDir, 'server', 'storage', '**'),
path.join(rootDir, 'test-results', '**'),
path.join(rootDir, '.codex-remote-attachments', '**')
]
},
proxy: {
'/api': {
target: `http://127.0.0.1:${process.env.SERVER_PORT || 8000}`,