Commit 2274e454 authored by 庞志远's avatar 庞志远

添加院前急救详情

parent b0787e19
...@@ -8,3 +8,11 @@ export function queryIntegrationList(params) { ...@@ -8,3 +8,11 @@ export function queryIntegrationList(params) {
data: params data: params
}) })
} }
export function queryDetail(params) {
return request({
url: '/api/team/pre/queryInfoById',
method: 'POST',
data: params
})
}
This diff is collapsed.
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
min-width="200px" min-width="200px"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-link type="primary">查看详情</el-link> <el-link type="primary" @click="goDetail(scope.row)">查看详情</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -228,6 +228,16 @@ export default { ...@@ -228,6 +228,16 @@ export default {
const logType = this.logTypeList.find(i => i.val === cellValue) const logType = this.logTypeList.find(i => i.val === cellValue)
return logType ? logType.name : '' return logType ? logType.name : ''
}, },
goDetail(row){
this.$router.push({
path:'/business/hospital/detail',
query:{
patientType:row.patientType,
associationId:row.associationId
}
})
console.log(row,8899)
}
} }
} }
</script> </script>
......
...@@ -30,6 +30,16 @@ const staticRoute = [ ...@@ -30,6 +30,16 @@ const staticRoute = [
{ {
path: '/bigscreen', path: '/bigscreen',
component: () => import('../page/bigscreen/index') component: () => import('../page/bigscreen/index')
},
{
path: '/business',
component: Layout,
children: [
{
path: '/business/hospital/detail',
component: () => import('../page/hospital/detail')
}
]
} }
] ]
const routeHandle = (map) => { const routeHandle = (map) => {
...@@ -56,4 +66,4 @@ const routeHandle = (map) => { ...@@ -56,4 +66,4 @@ const routeHandle = (map) => {
export { export {
staticRoute, staticRoute,
routeHandle routeHandle
} }
\ No newline at end of file
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