瀏覽代碼

Merge branch 'master' of http://git.cc-lotus.info/new_train/frame

guhongwei 4 年之前
父節點
當前提交
039061b583
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 5 0
      config/menu-config.js
  2. 5 0
      store/teacher.js

+ 5 - 0
config/menu-config.js

@@ -259,6 +259,11 @@ export const menu = [
         name: '学生名单导出',
         name: '学生名单导出',
         module: 'center',
         module: 'center',
       },
       },
+      {
+        path: '/plan/teacher/lesson',
+        name: '课表按排',
+        module: 'center',
+      },
 
 
       // {
       // {
       //   path: '/plan/classes/index',
       //   path: '/plan/classes/index',

+ 5 - 0
store/teacher.js

@@ -8,6 +8,7 @@ const api = {
   status: `/api/train/teacher/status`,
   status: `/api/train/teacher/status`,
   scoreimport: `/api/train/teacher/teaimport`, //filepath
   scoreimport: `/api/train/teacher/teaimport`, //filepath
   teacherLesson: `/api/train/teacher/fetchteachers`,
   teacherLesson: `/api/train/teacher/fetchteachers`,
+  checkArrange: `/api/train/teacher/checkarrange`,
 };
 };
 const state = () => ({});
 const state = () => ({});
 const mutations = {};
 const mutations = {};
@@ -46,6 +47,10 @@ const actions = {
     const res = await this.$axios.$post(`${api.scoreimport}`, { filepath: payload });
     const res = await this.$axios.$post(`${api.scoreimport}`, { filepath: payload });
     return res;
     return res;
   },
   },
+  async checkArrange({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.checkArrange}`, payload);
+    return res;
+  },
   async mergeRequest({ commit, dispatch }, { method, data }) {
   async mergeRequest({ commit, dispatch }, { method, data }) {
     let toRequest = () => {
     let toRequest = () => {
       let res = [];
       let res = [];