Commit 974df99e authored by 陈明豪's avatar 陈明豪

bug修改

parent cb79d296
...@@ -339,12 +339,15 @@ export const constantRoutes = [ ...@@ -339,12 +339,15 @@ export const constantRoutes = [
name: 'Check-detail', name: 'Check-detail',
meta: { title: '检查详情', icon: 'component' } meta: { title: '检查详情', icon: 'component' }
}, },
// 病历详情
{ {
path: 'medical-detail', path: 'medical-detail/:id',
component: () => import('@/views/medical-record-management/medical-edit'),
name: 'MedicalDetailForData',
props: true, props: true,
component: () => import('@/views/medical-record-management/medical-edit.vue'), meta: {
name: 'Medical-detail', title: '病历详情', icon: 'component'
meta: { title: '病历详情', icon: 'component' } }
} }
] ]
}, },
......
...@@ -1001,9 +1001,12 @@ export default { ...@@ -1001,9 +1001,12 @@ export default {
return now.getMonth() return now.getMonth()
}, },
handleRecordDetail(row) { handleRecordDetail(row) {
// this.$router.push({
// name: 'MedicalDetailForData',
// params: { id: row.id }
// })
this.$router.push({ this.$router.push({
path: '/data-statistics/medical-detail', name: 'MedicalDetailForData', params: { id: row.id }
params: { id: row.id }
}) })
}, },
serviceDetail(row) { serviceDetail(row) {
......
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