@@ -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,
@@ -43,6 +43,13 @@ const actions = {
}
+ /**
+ * 获取可以生成临时账号的专家
+ */
+ async getExpertList({ commit }, payload) {
+ const res = await this.$axios.$get(`${api.interface}/getExpertList`);