@@ -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);
// 计划-给指定期安排的教师确认状态
@@ -52,7 +52,6 @@ export default class AxiosWrapper {
}
async $request(uri, data, query, options) {
- console.log(query);
// 过滤key:''的情况
query = _.pickBy(query, val => val !== '');
if (!uri) console.error('uri不能为空');