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
112a5dca
Commit
112a5dca
authored
Aug 31, 2021
by
庞志远
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改详情Url
parent
22517448
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
13 deletions
+17
-13
detail.vue
src/page/hospital/detail.vue
+13
-4
staticRoute.js
src/router/staticRoute.js
+2
-8
whiteList.js
src/router/whiteList.js
+2
-1
No files found.
src/page/hospital/detail.vue
View file @
112a5dca
<
template
>
<
template
>
<div
class=
"main-page"
>
<div
class=
"main-page
background-gray
"
>
<div
class=
"detail-page-header flex-row-colCenter"
>
<div
class=
"detail-page-header flex-row-colCenter"
>
<span
class=
"back"
@
click=
"goBack"
><i
class=
"el-icon-back"
></i>
返回
</span>
<span
class=
"back"
@
click=
"goBack"
><i
class=
"el-icon-back"
></i>
返回
</span>
<el-divider
direction=
"vertical"
></el-divider>
<el-divider
direction=
"vertical"
></el-divider>
<span
class=
"title"
>
患者详情
</span>
<span
class=
"title"
>
患者详情
</span>
</div>
</div>
<div
class=
"main-page-body"
>
<div
class=
"main-page-body"
>
<div
class=
"mainContent"
>
<div
class=
"mainContent
background-white
"
>
<el-form
class=
"detailForm"
label-width=
"160px"
size=
"mini"
:rules=
"detailFormRules"
>
<el-form
class=
"detailForm"
label-width=
"160px"
size=
"mini"
:rules=
"detailFormRules"
>
<h2>
基本信息
</h2>
<h2>
基本信息
</h2>
<el-row>
<el-row>
...
@@ -647,7 +647,9 @@
...
@@ -647,7 +647,9 @@
if
(
data
&&
data
!==
'null'
){}
else
{
data
=
[]}
if
(
data
&&
data
!==
'null'
){}
else
{
data
=
[]}
},
},
goBack
(){
goBack
(){
this
.
$router
.
go
(
-
1
)
if
(
window
.
history
.
length
>
1
){
window
.
history
.
go
(
-
1
)
}
}
}
}
}
}
}
...
@@ -657,7 +659,7 @@
...
@@ -657,7 +659,7 @@
.detail-page-header
{
.detail-page-header
{
height
:
45px
;
height
:
45px
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
margin-bottom
:
10
px
;
margin-bottom
:
5
px
;
padding-left
:
20px
;
padding-left
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#333333
;
color
:
#333333
;
...
@@ -678,6 +680,13 @@
...
@@ -678,6 +680,13 @@
text-align
:
right
;
text-align
:
right
;
width
:
160px
;
width
:
160px
;
}
}
.background-gray
{
background
:
#f5f5f5
;
padding
:
10px
20px
;
}
.background-white
{
background
:
#ffffff
;
}
.main-page-body
{
.main-page-body
{
.mainContent
{
.mainContent
{
padding
:
20px
;
padding
:
20px
;
...
...
src/router/staticRoute.js
View file @
112a5dca
...
@@ -32,14 +32,8 @@ const staticRoute = [
...
@@ -32,14 +32,8 @@ const staticRoute = [
component
:
()
=>
import
(
'../page/bigscreen/index'
)
component
:
()
=>
import
(
'../page/bigscreen/index'
)
},
},
{
{
path
:
'/business'
,
path
:
'/business/hospital/detail'
,
component
:
Layout
,
component
:
()
=>
import
(
'../page/hospital/detail'
)
children
:
[
{
path
:
'/business/hospital/detail'
,
component
:
()
=>
import
(
'../page/hospital/detail'
)
}
]
}
}
]
]
const
routeHandle
=
(
map
)
=>
{
const
routeHandle
=
(
map
)
=>
{
...
...
src/router/whiteList.js
View file @
112a5dca
...
@@ -4,7 +4,8 @@ const whiteList = [
...
@@ -4,7 +4,8 @@ const whiteList = [
'/error/403'
,
'/error/403'
,
'/error/404'
,
'/error/404'
,
'/error/500'
,
'/error/500'
,
'/bigscreen'
'/bigscreen'
,
'/business/hospital/detail'
// '/register'
// '/register'
]
]
...
...
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