mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
fix
This commit is contained in:
@@ -8,7 +8,7 @@ export const boeuExamPageList = (obj) => http.post('/boeu/exam/pageList', obj)
|
||||
//概览页面案例列表请求接口
|
||||
export const boeuCasePageList = (obj) => http.post('/boeu/case/pageList', obj)
|
||||
// 请求组织接口
|
||||
export const userGetUserOrg = (obj) => https.post('/user/getUserOrg', obj)
|
||||
export const userGetUserOrg = (obj) => http.post('/org/getUserOrg', obj)
|
||||
// 请求所属组织接口
|
||||
export const userInfo = (obj) => https.post('/user/info', obj)
|
||||
// 课程列表接口
|
||||
|
||||
@@ -133,6 +133,7 @@ import downLoad from "../../utils/downLoad";
|
||||
import Cookies from "vue-cookies";
|
||||
import axios from "axios";
|
||||
import dayjs from "dayjs";
|
||||
import store from '@/store';
|
||||
export default {
|
||||
name: "LearningPathMap",
|
||||
setup() {
|
||||
@@ -171,7 +172,11 @@ export default {
|
||||
}
|
||||
//请求组织接口
|
||||
const getOrgList = async () => {
|
||||
const res = await api.userGetUserOrg({});
|
||||
let params = {
|
||||
roleList: store.userInfo.roleList,
|
||||
userId: store.userInfo.userId
|
||||
}
|
||||
const res = await api.userGetUserOrg({params});
|
||||
if (res) {
|
||||
state.option = res.data?.result;
|
||||
state.orgId = state.option[0]?.organizationId;
|
||||
|
||||
Reference in New Issue
Block a user