|
@@ -13,6 +13,7 @@ const api = {
|
|
|
deleteAll: '/api/train/student/deletestus',
|
|
|
batUpdateBedroom: `/api/train/student/updatabedroom`,
|
|
|
computedIsFine: `/api/train/student/finestudent`,
|
|
|
+ export: `/api/train/student/export`,
|
|
|
};
|
|
|
const state = () => ({});
|
|
|
const mutations = {};
|
|
@@ -70,6 +71,11 @@ const actions = {
|
|
|
const res = await this.$axios.$get(`${api.computedIsFine}/${payload}`);
|
|
|
return res;
|
|
|
},
|
|
|
+ // 导出条件下的学生
|
|
|
+ async toExport({ commit }, payload) {
|
|
|
+ const res = await this.$axios.$post(`${api.export}`, payload);
|
|
|
+ return res;
|
|
|
+ },
|
|
|
async mergeRequest({ commit, dispatch }, { method, data }) {
|
|
|
let toRequest = () => {
|
|
|
let res = [];
|