Commit 112a5dca authored by 庞志远's avatar 庞志远

修改详情Url

parent 22517448
<template>
<div class="main-page">
<div class="main-page background-gray">
<div class="detail-page-header flex-row-colCenter">
<span class="back" @click="goBack"><i class="el-icon-back"></i>返回</span>
<el-divider direction="vertical"></el-divider>
<span class="title">患者详情</span>
</div>
<div class="main-page-body">
<div class="mainContent">
<div class="mainContent background-white">
<el-form class="detailForm" label-width="160px" size="mini" :rules="detailFormRules">
<h2>基本信息</h2>
<el-row>
......@@ -647,7 +647,9 @@
if(data && data!=='null'){}else {data=[]}
},
goBack(){
this.$router.go(-1)
if(window.history.length>1){
window.history.go(-1)
}
}
}
}
......@@ -657,7 +659,7 @@
.detail-page-header{
height: 45px;
background: #FFFFFF;
margin-bottom: 10px;
margin-bottom: 5px;
padding-left: 20px;
font-size: 14px;
color: #333333;
......@@ -678,6 +680,13 @@
text-align: right;
width: 160px;
}
.background-gray{
background: #f5f5f5;
padding: 10px 20px;
}
.background-white{
background: #ffffff;
}
.main-page-body{
.mainContent {
padding: 20px;
......
......@@ -32,14 +32,8 @@ const staticRoute = [
component: () => import('../page/bigscreen/index')
},
{
path: '/business',
component: Layout,
children: [
{
path: '/business/hospital/detail',
component: () => import('../page/hospital/detail')
}
]
path: '/business/hospital/detail',
component: () => import('../page/hospital/detail')
}
]
const routeHandle = (map) => {
......
......@@ -4,7 +4,8 @@ const whiteList = [
'/error/403',
'/error/404',
'/error/500',
'/bigscreen'
'/bigscreen',
'/business/hospital/detail'
// '/register'
]
......
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