mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46: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 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)
|
export const userInfo = (obj) => https.post('/user/info', obj)
|
||||||
// 课程列表接口
|
// 课程列表接口
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ import downLoad from "../../utils/downLoad";
|
|||||||
import Cookies from "vue-cookies";
|
import Cookies from "vue-cookies";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
import store from '@/store';
|
||||||
export default {
|
export default {
|
||||||
name: "LearningPathMap",
|
name: "LearningPathMap",
|
||||||
setup() {
|
setup() {
|
||||||
@@ -171,7 +172,11 @@ export default {
|
|||||||
}
|
}
|
||||||
//请求组织接口
|
//请求组织接口
|
||||||
const getOrgList = async () => {
|
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) {
|
if (res) {
|
||||||
state.option = res.data?.result;
|
state.option = res.data?.result;
|
||||||
state.orgId = state.option[0]?.organizationId;
|
state.orgId = state.option[0]?.organizationId;
|
||||||
|
|||||||
Reference in New Issue
Block a user