feat: improve layout shell, navigation composables and add UI assets
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user