lrf402788946 4 년 전
부모
커밋
0e2962dd64
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      store/student.js

+ 5 - 0
store/student.js

@@ -11,6 +11,7 @@ const api = {
   findscore: `/api/train/student/findscore`,
   findList: `/api/train/student/findbystuids`,
   deleteAll: '/api/train/student/deletestus',
+  batUpdateBedroom: `/api/train/student/updatabedroom`,
 };
 const state = () => ({});
 const mutations = {};
@@ -60,6 +61,10 @@ const actions = {
     const res = await this.$axios.$post(`${api.deleteAll}`, payload);
     return res;
   },
+  async updateBedroom({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.batUpdateBedroom}`, payload);
+    return res;
+  },
   async mergeRequest({ commit, dispatch }, { method, data }) {
     let toRequest = () => {
       let res = [];