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

fixed

上级 44c07cb8
......@@ -154,7 +154,8 @@ export default {
getResidentDetail(context, payload) {
getResidentDetail(
payload.planId,
payload.patientId
payload.patientId,
payload.fuPlanPatientId
).then(({data}) => {
context.commit('GET_RESIDENT_DETAIL', data);
});
......
......@@ -108,10 +108,10 @@ export const getFollowStartTimeList = (planId) => {
description: '获取随访开始时间列表(居民相关)',
})
};
export const getResidentDetail = (planId,patientId) => {
export const getResidentDetail = (planId,patientId,fuPlanPatientId ) => {
return fetch({
headers,
url: getFollowUpSC(`/followup/planPatient/${planId}/detail/${patientId}`),
url: getFollowUpSC(`/followup/planPatient/${planId}/detail/${patientId}?planPatientsId=${fuPlanPatientId}`),
method: 'get',
description: '获取居民详情',
})
......
......@@ -144,7 +144,7 @@
this.getResidentDetail({
patientId: this.$route.query.patientId,
planId: this.$route.query.planId,
planPatientsId: this.$route.query.planPatientsId
fuPlanPatientId: this.$route.query.fuPlanPatientId
}); //获取居民详情
this.getGroupList(); //获取分组列表
},
......
......@@ -77,7 +77,7 @@
label="姓名"
align="center">
<template slot-scope="scope">
<el-button type="text" @click="goPatientDetail(scope.row.patientId, scope.row.planPatientsId)" >{{scope.row.patientName}}</el-button>
<el-button type="text" @click="goPatientDetail(scope.row.patientId, scope.row.fuPlanPatientId)" >{{scope.row.patientName}}</el-button>
</template>
</el-table-column>
<el-table-column
......@@ -255,7 +255,7 @@
planId: this.$route.query.planId
})
},
goPatientDetail(patientId, planPatientsId) { //居民详情页
goPatientDetail(patientId, fuPlanPatientId) { //居民详情页
let residentCrumbs = [];
if(this.residentCrumb.length === 3) {
residentCrumbs = [
......@@ -304,7 +304,7 @@
this.setResidentCrumb(residentCrumbs);
this.$router.push({path: '/followup/plan-manage/resident-detail', query: {patientId: patientId,
planId: this.$route.query.planId,
planPatientsId: planPatientsId}})
fuPlanPatientId: fuPlanPatientId}})
},
searchResidentList() { //查询居民列表
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册