|
@@ -15,6 +15,7 @@ const api = {
|
|
|
computedIsFine: `/api/train/student/finestudent`,
|
|
|
export: `/api/train/student/export`,
|
|
|
printCert: `/api/train/student/printcert`,
|
|
|
+ schoolStudent: `/api/train/student/school`,
|
|
|
};
|
|
|
const state = () => ({});
|
|
|
const mutations = {};
|
|
@@ -82,6 +83,11 @@ const actions = {
|
|
|
const res = await this.$axios.$post(`${api.printCert}`, { ids: payload });
|
|
|
return res;
|
|
|
},
|
|
|
+ // 学校上传学生情况
|
|
|
+ async schoolStudent({ commit }, payload) {
|
|
|
+ const res = await this.$axios.$get(`${api.schoolStudent}`, payload);
|
|
|
+ return res;
|
|
|
+ },
|
|
|
async mergeRequest({ commit, dispatch }, { method, data }) {
|
|
|
let toRequest = () => {
|
|
|
let res = [];
|