提交 0f936883 编写于 作者: yi.li's avatar yi.li

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
...@@ -79,9 +79,7 @@ export default { ...@@ -79,9 +79,7 @@ export default {
}); });
}, },
getPlanDetail(context, payload) { getPlanDetail(context, payload) {
getPlanDetail({}, { getPlanDetail(payload).then(({data}) => {
urlSuffix:payload
}).then(({data}) => {
context.commit('GET_PLAN_DETAIL', data); context.commit('GET_PLAN_DETAIL', data);
}); });
}, },
......
...@@ -49,12 +49,11 @@ export const getPlanList = (params) => { ...@@ -49,12 +49,11 @@ export const getPlanList = (params) => {
description: '获取计划列表', description: '获取计划列表',
}) })
}; };
export const getPlanDetail = (params) => { export const getPlanDetail = (planId) => {
return fetch({ return fetch({
headers, headers,
url: getFollowUpSC(`/followup/plans/detail`), url: getFollowUpSC(`/followup/plans/${planId}`),
method: 'get', method: 'get',
params: params,
description: '获取计划详情', description: '获取计划详情',
}) })
}; };
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册