|
@@ -12,6 +12,7 @@ const api = {
|
|
confirm: `/api/train/lesson/check`, //锁死课表
|
|
confirm: `/api/train/lesson/check`, //锁死课表
|
|
newArrange: `/api/train/lesson/newarrange`,
|
|
newArrange: `/api/train/lesson/newarrange`,
|
|
teaIndex: '/api/train/teaIndex',
|
|
teaIndex: '/api/train/teaIndex',
|
|
|
|
+ timeCollate: '/api/train/lesson/timeCollate', // 课表校对时间
|
|
};
|
|
};
|
|
const state = () => ({});
|
|
const state = () => ({});
|
|
const mutations = {};
|
|
const mutations = {};
|
|
@@ -85,6 +86,12 @@ const actions = {
|
|
const res = await this.$axios.$get(api.teaIndex, payload);
|
|
const res = await this.$axios.$get(api.teaIndex, payload);
|
|
return res;
|
|
return res;
|
|
},
|
|
},
|
|
|
|
+ // 课表时间校对
|
|
|
|
+ async timeCollate({ commit }, payload) {
|
|
|
|
+ const res = await this.$axios.$get(api.timeCollate, payload);
|
|
|
|
+ return res;
|
|
|
|
+ },
|
|
|
|
+
|
|
async mergeRequest({ commit, dispatch }, { method, data }) {
|
|
async mergeRequest({ commit, dispatch }, { method, data }) {
|
|
let toRequest = () => {
|
|
let toRequest = () => {
|
|
let res = [];
|
|
let res = [];
|