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

计划详情

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