lrf402788946 4 anos atrás
pai
commit
9113fe2995
2 arquivos alterados com 6 adições e 1 exclusões
  1. 1 1
      config/menu-config.js
  2. 5 0
      store/tea-plan.js

+ 1 - 1
config/menu-config.js

@@ -261,7 +261,7 @@ export const menu = [
       },
       {
         path: '/plan/teacher/lesson',
-        name: '课表排',
+        name: '课表排',
         module: 'center',
       },
 

+ 5 - 0
store/tea-plan.js

@@ -8,6 +8,7 @@ const api = {
   apply: `/api/train/apply/queryteacher`,
   divide: `/api/train/teaplan/divide`, //query: trainplanid
   findTeacher: `/api/train/teaplan/findteacher`, //planid termid batchid
+  arrange: `/api/train/teaplan/arrange`,
 };
 const state = () => ({});
 const mutations = {};
@@ -47,6 +48,10 @@ const actions = {
     const res = await this.$axios.$get(`${api.findTeacher}`, payload);
     return res;
   },
+  async arrangeTeacher({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.arrange}`, payload);
+    return res;
+  },
   async mergeRequest({ commit, dispatch }, { method, data }) {
     let toRequest = () => {
       let res = [];