reloaded vor 5 Jahren
Ursprung
Commit
954fca8be5
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5 0
      store/student.js

+ 5 - 0
store/student.js

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