diff --git a/UI/429d8ccd-3c00-40e1-9460-07b5f84a99c8.png b/UI/429d8ccd-3c00-40e1-9460-07b5f84a99c8.png new file mode 100644 index 0000000..421395c Binary files /dev/null and b/UI/429d8ccd-3c00-40e1-9460-07b5f84a99c8.png differ diff --git a/UI/AI助手.png b/UI/AI助手.png new file mode 100644 index 0000000..f1e224e Binary files /dev/null and b/UI/AI助手.png differ diff --git a/UI/background.png b/UI/background.png new file mode 100644 index 0000000..9074cbe Binary files /dev/null and b/UI/background.png differ diff --git a/UI/background_2560x1440.png b/UI/background_2560x1440.png new file mode 100644 index 0000000..d1a1612 Binary files /dev/null and b/UI/background_2560x1440.png differ diff --git a/UI/c781e06b-a874-47a0-9c40-b679dd8f958c.png b/UI/c781e06b-a874-47a0-9c40-b679dd8f958c.png new file mode 100644 index 0000000..933db3a Binary files /dev/null and b/UI/c781e06b-a874-47a0-9c40-b679dd8f958c.png differ diff --git a/UI/login.png b/UI/login.png new file mode 100644 index 0000000..7d9b07b Binary files /dev/null and b/UI/login.png differ diff --git a/UI/main_page.png b/UI/main_page.png new file mode 100644 index 0000000..a78f50a Binary files /dev/null and b/UI/main_page.png differ diff --git a/UI/发起请求.png b/UI/发起请求.png new file mode 100644 index 0000000..4b8f0f3 Binary files /dev/null and b/UI/发起请求.png differ diff --git a/UI/报销.png b/UI/报销.png new file mode 100644 index 0000000..0ff7fbe Binary files /dev/null and b/UI/报销.png differ diff --git a/src/App.vue b/src/App.vue index 08109f2..262293a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,29 +1,46 @@ - + - + - - - + + + @@ -69,9 +89,10 @@ @@ -80,8 +101,9 @@ - + + diff --git a/src/components/layout/TopBar.vue b/src/components/layout/TopBar.vue index dbb9ef4..41f5a95 100644 --- a/src/components/layout/TopBar.vue +++ b/src/components/layout/TopBar.vue @@ -1,5 +1,5 @@ - + Smart Expense Operations {{ currentView.title }} @@ -7,24 +7,128 @@ - + - + - - - 2024-07-06 ~ 2024-07-12 - - - - - 新建出差申请 + + + 1 + + + 张 + + 张晓明 + 财务管理员 + + + - + + + + + {{ activeDateLabel }} + + + + + {{ option.label }} + + + + + + + + 选择时间段 + + + + + 选择看板时间段 + + + + + + + + 开始日期 + + + + 结束日期 + + + + + + 今日 + 本周 + 本月 + + + + + + + + + + + 2024-07 + + + + + 3 + + + 张 + + 张晓明 + 财务管理员 + + + + + + + + 2024-07-06 ~ 2024-07-12 + + + AI 助手 @@ -34,46 +138,151 @@ diff --git a/src/composables/useNavigation.js b/src/composables/useNavigation.js index 1d6148b..74d7528 100644 --- a/src/composables/useNavigation.js +++ b/src/composables/useNavigation.js @@ -11,20 +11,20 @@ export const navItems = [ desc: '面向财务共享中心的审批、风控、SLA与自动化运营看板' }, { - id: 'chat', - label: '审批中心', - navHint: 'AI 助手与单据处理', - icon: icons.message, - title: '单据管理中心', - desc: '管理出差申请、报销单据,AI 辅助发起申请与智能审核。' + id: 'requests', + label: '差旅申请/报销', + navHint: '差旅单据与发起申请', + icon: icons.list, + title: '差旅申请/报销', + desc: '查看员工差旅报销单据、跟踪进度、发起新申请' }, { - id: 'requests', - label: '报销单', - navHint: '待审队列与风险处理', - icon: icons.list, - title: '报销申请队列', - desc: '按风险、补件状态和 AI 建议处理待审单据。' + id: 'chat', + label: 'AI助手', + navHint: '指标、趋势与行动建议', + icon: icons.message, + title: 'AI 财务助手', + desc: '问指标、看趋势、拿建议,辅助你处理当前报销运营工作' }, { id: 'policies', diff --git a/src/composables/useRequests.js b/src/composables/useRequests.js index 7219069..23e2b93 100644 --- a/src/composables/useRequests.js +++ b/src/composables/useRequests.js @@ -23,9 +23,10 @@ export function useRequests() { || (filters.risk === '高风险' && item.status === 'danger') || (filters.risk === '需解释' && item.status === 'warning') || (filters.risk === '低风险' && item.status === 'success') - const matchesRange = activeRange.value === '本月' - || (activeRange.value === '本周' && item.range !== '本月') - || (activeRange.value === '今日' && item.range === '今日') + const matchesRange = activeRange.value === 'custom' + || activeRange.value === '本月' + || (activeRange.value === '本周' && item.range !== '本月') + || (activeRange.value === '今日' && item.range === '今日') return matchesSearch && matchesEntity && matchesCategory && matchesRisk && matchesRange }) })