lrf402788946 5 years ago
parent
commit
9885b6233b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      store/student.js

+ 5 - 0
store/student.js

@@ -12,6 +12,7 @@ const api = {
   findList: `/api/train/student/findbystuids`,
   deleteAll: '/api/train/student/deletestus',
   batUpdateBedroom: `/api/train/student/updatabedroom`,
+  computedIsFine: `/api/train/student/finestudent`,
 };
 const state = () => ({});
 const mutations = {};
@@ -65,6 +66,10 @@ const actions = {
     const res = await this.$axios.$post(`${api.batUpdateBedroom}`, payload);
     return res;
   },
+  async computedIsFine({ commit }, payload) {
+    const res = await this.$axios.$delete(`${api.computedIsFine}/${payload}`);
+    return res;
+  },
   async mergeRequest({ commit, dispatch }, { method, data }) {
     let toRequest = () => {
       let res = [];