|
@@ -56,8 +56,8 @@ const actions = {
|
|
|
return res;
|
|
|
},
|
|
|
// 计划-给指定期安排的教师发送通知
|
|
|
- async sendMsg({ commit }, { ids, planid }) {
|
|
|
- const res = await this.$axios.$post(`${api.sendmsg}/${planid}`, { ids });
|
|
|
+ async sendMsg({ commit }, { planid, ...info }) {
|
|
|
+ const res = await this.$axios.$post(`${api.sendmsg}/${planid}`, info);
|
|
|
return res;
|
|
|
},
|
|
|
// 计划-给指定期安排的教师确认状态
|