Commit fecb079a authored by gengchunlei's avatar gengchunlei

医生端 v1.2 1、通用随访详情路由 bug修复

parent 24b31fef
......@@ -66,7 +66,7 @@ export default {
if (!token) {
token = sessionStorage.getItem('token')
if (process.env.NODE_ENV !== 'production') {
token = '2107bb74-6f66-4eaa-9c84-ebe1b43c6687'
token = '38e3232d-9970-44bb-bdf4-b6e40d3cb39f'
}
}
if (token) {
......
......@@ -4,8 +4,7 @@
<!-- <GwDetail :info="detailInfo" v-if="showGw"/>-->
<!-- 通用随访详情 -->
<CurrencyFUDetail :id="detailInfo.relationId" :resident-id="residentId" v-if="showCommon"></CurrencyFUDetail>
<!-- 专病随访详情 -->
<!-- <VisitDetail :id="detailInfo.relationId" :resident-id="residentId" :disease-type="diseaseType" v-else-if="showFU"></VisitDetail>-->
<!-- his -->
<!-- <HisDetail :info="detailInfo" v-else-if="showHis"></HisDetail>-->
<!-- 报卡随访详情 -->
......@@ -49,9 +48,6 @@ export default {
relationUuid() {
return this.$route.query.relationUuid
},
diseaseType() {
return this.$route.query.diseaseType
},
residentId() {
return this.$route.query.residentInfoId
}
......
......@@ -123,14 +123,15 @@ export default {
},
toDetail(record) {
if (!record) return
if (record.id == null) {
if (record.relationUuid == null) {
this.$message.info('暂时无法查看 详情信息')
return
}
this.$router.push({
path: '/doctor/followUp/generalFU/detail',
path: '/doctor/followUp/detail',
query: {
relationId: record.id
relationUuid: record.relationUuid,
residentInfoId: this.residentInfoId,
}
})
},
......
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