提交 81717c82 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

添加参数

上级 080b51e5
......@@ -143,7 +143,8 @@
mounted() {
this.getResidentDetail({
patientId: this.$route.query.patientId,
planId: this.$route.query.planId
planId: this.$route.query.planId,
planPatientsId: this.$route.query.planPatientsId
}); //获取居民详情
this.getGroupList(); //获取分组列表
},
......
......@@ -77,7 +77,7 @@
label="姓名"
align="center">
<template slot-scope="scope">
<el-button type="text" @click="goPatientDetail(scope.row.patientId)" >{{scope.row.patientName}}</el-button>
<el-button type="text" @click="goPatientDetail(scope.row.patientId, scope.row.planPatientsId)" >{{scope.row.patientName}}</el-button>
</template>
</el-table-column>
<el-table-column
......@@ -255,8 +255,8 @@
planId: this.$route.query.planId
})
},
goPatientDetail(patientId) { //居民详情页
let residentCrumbs = []
goPatientDetail(patientId, planPatientsId) { //居民详情页
let residentCrumbs = [];
if(this.residentCrumb.length === 3) {
residentCrumbs = [
{
......@@ -302,7 +302,9 @@
}
this.setResidentCrumb(residentCrumbs);
this.$router.push({path: '/followup/plan-manage/resident-detail', query: {patientId: patientId, planId: this.$route.query.planId}})
this.$router.push({path: '/followup/plan-manage/resident-detail', query: {patientId: patientId,
planId: this.$route.query.planId,
planPatientsId: planPatientsId}})
},
searchResidentList() { //查询居民列表
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册