lrf402788946 4 년 전
부모
커밋
cbf1019ccd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 }) {