|
@@ -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 = [];
|