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

fixed

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