Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
md-vue-chc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何鹏程
md-vue-chc
Commits
2274e454
Commit
2274e454
authored
Aug 26, 2021
by
庞志远
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加院前急救详情
parent
b0787e19
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
665 additions
and
2 deletions
+665
-2
hospital.js
src/api/hospital.js
+8
-0
detail.vue
src/page/hospital/detail.vue
+635
-0
index.vue
src/page/hospital/index.vue
+11
-1
staticRoute.js
src/router/staticRoute.js
+11
-1
No files found.
src/api/hospital.js
View file @
2274e454
...
...
@@ -8,3 +8,11 @@ export function queryIntegrationList(params) {
data
:
params
})
}
export
function
queryDetail
(
params
)
{
return
request
({
url
:
'/api/team/pre/queryInfoById'
,
method
:
'POST'
,
data
:
params
})
}
src/page/hospital/detail.vue
0 → 100644
View file @
2274e454
This diff is collapsed.
Click to expand it.
src/page/hospital/index.vue
View file @
2274e454
...
...
@@ -99,7 +99,7 @@
min-width=
"200px"
>
<template
slot-scope=
"scope"
>
<el-link
type=
"primary"
>
查看详情
</el-link>
<el-link
type=
"primary"
@
click=
"goDetail(scope.row)"
>
查看详情
</el-link>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -228,6 +228,16 @@ export default {
const
logType
=
this
.
logTypeList
.
find
(
i
=>
i
.
val
===
cellValue
)
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
>
...
...
src/router/staticRoute.js
View file @
2274e454
...
...
@@ -30,6 +30,16 @@ const staticRoute = [
{
path
:
'/bigscreen'
,
component
:
()
=>
import
(
'../page/bigscreen/index'
)
},
{
path
:
'/business'
,
component
:
Layout
,
children
:
[
{
path
:
'/business/hospital/detail'
,
component
:
()
=>
import
(
'../page/hospital/detail'
)
}
]
}
]
const
routeHandle
=
(
map
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment