feat: 风险可见性控制与差旅详情页交互优化

- 新增风险可见性工具函数与风险日趋势图表组件
- 优化差旅请求详情页费用模型与视图交互
- 完善顶部导航栏样式与应用壳路由逻辑
- 补充风险可见性、风险看板与差旅详情测试覆盖
This commit is contained in:
caoxiaozhu
2026-06-03 22:15:45 +08:00
parent 75d5c178e1
commit 87da5df91b
17 changed files with 809 additions and 168 deletions

View File

@@ -21,6 +21,7 @@ import { useRequests } from '../composables/useRequests.js'
import { useChat } from '../composables/useChat.js'
import { useToast } from '../composables/useToast.js'
import { documents } from '../data/requests.js'
import { createCurrentYearDateRange } from '../utils/dateRangeDefaults.js'
export default {
name: 'App',
@@ -71,7 +72,7 @@ export default {
const { toastText, toast } = useToast()
const docSearch = ref('')
const customRange = ref({ start: '2024-07-06', end: '2024-07-12' })
const customRange = ref(createCurrentYearDateRange())
const travelPrompts = ['帮我提交出差申请', '预订机票', '预订酒店', '预订火车票', '查询差旅政策']
const topBarView = computed(() => {