Commit fecb079a authored by gengchunlei's avatar gengchunlei

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

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