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