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

计划详情

上级 afd4a0b1
......@@ -9,7 +9,8 @@ export default {
total: null, //总数
},
groupList: [], //分组列表
residentDetail: {}, //居民详情
residentDetail: {}, //居民详情,
planDetail: {}, // 计划详情页
},
mutations: {
......@@ -19,6 +20,9 @@ export default {
GET_GROUP_LIST(state, payload) {
state.groupList = payload.labelDtoList
},
GET_RESIDENT_DETAIL(state, payload) {
state.residentDetail = payload
},
GET_RESIDENT_DETAIL(state, payload) {
state.residentDetail = payload
}
......
......@@ -14,6 +14,13 @@ const planManageApi = [
name: 'getResidentList',
description: '获取居民列表',
},
{
url: '/followup/plans/detail/',
method: 'get',
params: 'params',
name: 'getPlanDetails',
description: '获取计划详情',
},
{
url: '/followup/planPatient/group',
method: 'get',
......
......@@ -37,9 +37,6 @@
<script>
export default {
name: "finish-followup",
components: {
customTextarea
},
props: {
showThisPage: { //是否显示model
type: Boolean,
......
......@@ -111,7 +111,9 @@
visitDetail(row){
this.dialogDetailShow = true;
},
visitRow(row){},
visitRow(row){
this.$router.push({path: '/followup/plan-manage/resident-list', query: {planId:'1'}})
},
changeRow(row){
// this.statusForm = row;
// this.dialogFormVisible = true;
......
......@@ -153,7 +153,9 @@
},
mounted() {
this.getResidentList();
this.getResidentList({
planId: this.$route.query.planId
});
this.getGroupList(); //获取分组列表
},
computed: {
......@@ -168,14 +170,16 @@
this.getResidentList({
pageSize,
...this.searchData,
status: this.status
status: this.status,
planId: this.$route.query.planId
})
},
handleCurrentChangePre(pageNum) {
this.getResidentList({
pageNum,
...this.searchData,
status: this.status
status: this.status,
planId: this.$route.query.planId
})
},
goPatientDetail(patientId,planId) { //居民详情页
......@@ -185,7 +189,8 @@
searchResidentList() { //查询居民列表
this.getResidentList({
...this.searchData,
status: this.status
status: this.status,
planId: this.$route.query.planId
})
},
resetSearchData(formName) {
......@@ -208,7 +213,8 @@
status(val) {
this.getResidentList({
status: val,
...this.searchData
...this.searchData,
planId: this.$route.query.planId
})
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册