lrf 10 tháng trước cách đây
mục cha
commit
1cd8007e6d
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      store/school.js

+ 6 - 0
store/school.js

@@ -7,6 +7,7 @@ const api = {
   interface: `/api/train/school`,
   interface: `/api/train/school`,
   nameListNotice: `/api/train/job`,
   nameListNotice: `/api/train/job`,
   findSchool: `/api/train/school/findSchool`,
   findSchool: `/api/train/school/findSchool`,
+  findByCodes: `/api/train/school/findByCodes`,
 };
 };
 const state = () => ({});
 const state = () => ({});
 const mutations = {};
 const mutations = {};
@@ -46,6 +47,11 @@ const actions = {
     return res;
     return res;
   },
   },
 
 
+  async findByCodes({ commit }, { code }) {
+    const res = await this.$axios.$post(`${api.findByCodes}`, { code });
+    return res;
+  },
+
   async mergeRequest({ commit, dispatch }, { method, data }) {
   async mergeRequest({ commit, dispatch }, { method, data }) {
     let toRequest = () => {
     let toRequest = () => {
       let res = [];
       let res = [];