|
@@ -8,6 +8,7 @@ const api = {
|
|
|
noClass: '/api/train/student/seek',
|
|
|
bedroom: `/api/train/student/findbedroom`,
|
|
|
removeClass: `/api/train/student/deleteclass`, //ids
|
|
|
+ findscore: `/api/train/student/findscore`,
|
|
|
};
|
|
|
const state = () => ({});
|
|
|
const mutations = {};
|
|
@@ -45,6 +46,10 @@ const actions = {
|
|
|
const res = await this.$axios.$post(`${api.removeClass}`, payload);
|
|
|
return res;
|
|
|
},
|
|
|
+ async findscore({ commit }, { skip = 0, limit, ...info } = {}) {
|
|
|
+ const res = await this.$axios.$get(`${api.findscore}`, { skip, limit, ...info });
|
|
|
+ return res;
|
|
|
+ },
|
|
|
async mergeRequest({ commit, dispatch }, { method, data }) {
|
|
|
let toRequest = () => {
|
|
|
let res = [];
|