mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
修改
This commit is contained in:
@@ -133,10 +133,11 @@ 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';
|
import { useStore } from "vuex";
|
||||||
export default {
|
export default {
|
||||||
name: "LearningPathMap",
|
name: "LearningPathMap",
|
||||||
setup() {
|
setup() {
|
||||||
|
const store = useStore();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
tableLoading: false, // table加载图标
|
tableLoading: false, // table加载图标
|
||||||
tableDataTotal: 0, // 数据总条数
|
tableDataTotal: 0, // 数据总条数
|
||||||
@@ -173,8 +174,8 @@ export default {
|
|||||||
//请求组织接口
|
//请求组织接口
|
||||||
const getOrgList = async () => {
|
const getOrgList = async () => {
|
||||||
let params = {
|
let params = {
|
||||||
roleList: store.userInfo.roleList,
|
roleList: store.state.userInfo.roleList,
|
||||||
userId: store.userInfo.userId
|
userId: store.state.userInfo.userId
|
||||||
}
|
}
|
||||||
const res = await api.userGetUserOrg({params});
|
const res = await api.userGetUserOrg({params});
|
||||||
if (res) {
|
if (res) {
|
||||||
|
|||||||
Reference in New Issue
Block a user