lrf402788946 4 éve
szülő
commit
e3ee6dd4e3

+ 4 - 0
src/store/achieve/achieve_apply_expert.js

@@ -29,6 +29,10 @@ const actions = {
     const res = await this.$axios.$delete(`${api.interface}/${payload}`);
     return res;
   },
+  async getWork({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.interface}/getWork/${payload}`);
+    return res;
+  },
 };
 export default {
   namespaced: true,

+ 7 - 0
src/store/achieve/achieve_expert.js

@@ -43,6 +43,13 @@ const actions = {
     }
     return res;
   },
+  /**
+   * 获取可以生成临时账号的专家
+   */
+  async getExpertList({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.interface}/getExpertList`);
+    return res;
+  },
 };
 export default {
   namespaced: true,