lrf402788946 4 år sedan
förälder
incheckning
cbf1019ccd
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      store/tea-plan.js

+ 2 - 2
store/tea-plan.js

@@ -61,8 +61,8 @@ const actions = {
     return res;
   },
   // 计划-给指定期安排的教师确认状态
-  async confirmPlan({ commit }, { ids, planid }) {
-    const res = await this.$axios.$post(`${api.confirm}/${planid}`, { ids });
+  async confirmPlan({ commit }, { planid, ...info }) {
+    const res = await this.$axios.$post(`${api.confirm}/${planid}`, info);
     return res;
   },
   async mergeRequest({ commit, dispatch }, { method, data }) {