全局审计日fix: 使用鸭子类型强制安全解包 SQLAlchemy Row 对象,彻底解决 to_dict 报错志
This commit is contained in:
@ -172,6 +172,19 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: 'OpRecords',
|
||||
component: () => import('@/views/transaction/records.vue'),
|
||||
meta: { title: '借还记录' }
|
||||
},
|
||||
// ★ [新增] 报废管理
|
||||
{
|
||||
path: 'scrap/index',
|
||||
name: 'ScrapList',
|
||||
component: () => import('@/views/operation/scrap/index.vue'), // ✅ 正确路径
|
||||
meta: { title: '报废记录' }
|
||||
},
|
||||
{
|
||||
path: 'scrap/create',
|
||||
name: 'ScrapCreate',
|
||||
component: () => import('@/views/operation/scrap/create.vue'), // ✅ 正确路径
|
||||
meta: { title: '新建报废' }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user