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

fixed

上级 09f5fcf6
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
label="姓名" label="姓名"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click="goPatientDetail(scope.row.patientId,scope.row.planId)" >{{scope.row.patientName}}</el-button> <el-button type="text" @click="goPatientDetail(scope.row.patientId)" >{{scope.row.patientName}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -226,8 +226,8 @@ ...@@ -226,8 +226,8 @@
planId: this.$route.query.planId planId: this.$route.query.planId
}) })
}, },
goPatientDetail(patientId,planId) { //居民详情页 goPatientDetail(patientId) { //居民详情页
this.$router.push({path: '/followup/plan-manage/resident-detail', query: {patientId: patientId, planId:'1'}}) this.$router.push({path: '/followup/plan-manage/resident-detail', query: {patientId: patientId, planId: this.$route.query.planId}})
}, },
searchResidentList() { //查询居民列表 searchResidentList() { //查询居民列表
...@@ -320,15 +320,11 @@ ...@@ -320,15 +320,11 @@
console.log(selectPatients) console.log(selectPatients)
let patientIds = [] let patientIds = []
let patientNames = [] let patientNames = []
/*selectPatients.forEach((item)=>{
patientIds.push(item.patientId)
patientNames.push(item.nickname)
})*/
selectPatients.forEach((item)=>{ selectPatients.forEach((item)=>{
if(!this.initialPatientIdList.includes(item.patientId)){ if(!this.initialPatientIdList.includes(item.patientId)){
patientIds.push(item.patientId) patientIds.push(item.patientId)
patientNames.push(item.nickname) patientNames.push(item.nickname)
// this.baseInfo.patientIdList.push(item.patientId); // 页面中数据存储所有选择的人,没有去重
} }
}) })
this.addPatientData = { this.addPatientData = {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册