Commit 7b3e505c authored by 刘怀志's avatar 刘怀志

64115 录入诊断的标题显示错误 应该叫录入诊断吧 不能叫详情

parent 1cdc94c9
......@@ -330,6 +330,16 @@ export const constantRoutes = [
title: '挂号详情', icon: 'component'
}
},
// 录入诊断路由
{
path: 'registration-edit/:id/:type',
component: () => import('@/views/service-management/registration-queue/registration-detail'),
name: 'RegistrationEdit',
props: true,
meta: {
title: '录入诊断', icon: 'component'
}
},
// 挂号新增路由
{
path: 'registration-add',
......
......@@ -534,12 +534,12 @@ export default {
this.$modal.confirm('当前宠物已经存在是否覆盖数据')
.then(_ => {
this.$router.push({
name: 'RegistrationDetail', params: { id: row.id, type }
name: 'RegistrationEdit', params: { id: row.id, type }
})
})
} else {
this.$router.push({
name: 'RegistrationDetail', params: { id: row.id, type }
name: 'RegistrationEdit', params: { id: row.id, type }
})
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment