lrf402788946 4 years ago
parent
commit
c30951a781
2 changed files with 2 additions and 3 deletions
  1. 2 2
      store/tea-plan.js
  2. 0 1
      utils/axios-wrapper.js

+ 2 - 2
store/tea-plan.js

@@ -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;
   },
   // 计划-给指定期安排的教师确认状态

+ 0 - 1
utils/axios-wrapper.js

@@ -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不能为空');