lrf402788946 4 년 전
부모
커밋
e3ee6dd4e3
2개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/store/achieve/achieve_apply_expert.js
  2. 7 0
      src/store/achieve/achieve_expert.js

+ 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,