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

bufg fixed

上级 ab4061c4
...@@ -139,6 +139,14 @@ ...@@ -139,6 +139,14 @@
let residentCrumbList = sessionStorage.getItem('residentCrumb'); let residentCrumbList = sessionStorage.getItem('residentCrumb');
this.residentCrumb = JSON.parse(residentCrumbList); this.residentCrumb = JSON.parse(residentCrumbList);
}, },
mounted() {
this.getResidentDetail({
patientId: this.$route.query.patientId,
planId: this.$route.query.planId
}); //获取居民详情
this.getGroupList(); //获取分组列表
},
computed: { computed: {
...mapState('planManage', { ...mapState('planManage', {
residentDetail: state => state.residentDetail, residentDetail: state => state.residentDetail,
...@@ -148,14 +156,6 @@ ...@@ -148,14 +156,6 @@
groupList: state => state.groupList groupList: state => state.groupList
}) })
}, },
mounted() {
this.getResidentDetail({
patientId: this.$route.query.patientId,
planId: this.$route.query.planId
}); //获取居民详情
this.getGroupList(); //获取分组列表
},
methods: { methods: {
...mapActions('planManage', ['getResidentDetail', 'getNodeTimeContent', 'getGroupList']), ...mapActions('planManage', ['getResidentDetail', 'getNodeTimeContent', 'getGroupList']),
changePlan() { changePlan() {
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
planPatientsId: this.residentDetail.fPlanDto.planPatientsId, planPatientsId: this.residentDetail.fPlanDto.planPatientsId,
planId: this.residentDetail.fPlanDto.id, planId: this.residentDetail.fPlanDto.id,
patientId: this.residentDetail.patientId, patientId: this.residentDetail.patientId,
yLabelList: this.residentDetail.labelIdList, yLabelList: this.residentDetail.labelIdList||[],
startDate: this.residentDetail.fPlanDto.timeStr, startDate: this.residentDetail.fPlanDto.timeStr,
planIdOld: this.residentDetail.fPlanDto.id, planIdOld: this.residentDetail.fPlanDto.id,
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册