mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
feat:合并
This commit is contained in:
@@ -408,7 +408,7 @@
|
||||
import { reactive, toRefs, onMounted } from "vue";
|
||||
import OwnerShip from "../../components/drawers/Ownership";
|
||||
import PowerList from "../../components/drawers/PowerList";
|
||||
|
||||
import axios from "axios";
|
||||
export default {
|
||||
name: "learningPath",
|
||||
components: { OwnerShip, PowerList },
|
||||
@@ -656,8 +656,32 @@ export default {
|
||||
];
|
||||
return columns;
|
||||
};
|
||||
//获取学习路径列表
|
||||
const getLearnPath = () => {
|
||||
let obj = {
|
||||
beginTime: 0,
|
||||
endTime: 0,
|
||||
name: "",
|
||||
pageNo: 0,
|
||||
pageSize: 0,
|
||||
status: 0,
|
||||
};
|
||||
axios
|
||||
.post("https://111.231.196.214:30001/admin/router/list", obj, {
|
||||
headers: {
|
||||
"Content-Type": "application/json;charset=UTF-8",
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
console.log("获取成功", res);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("获取失败", err);
|
||||
});
|
||||
};
|
||||
onMounted(() => {
|
||||
// console.log("执行");
|
||||
getLearnPath();
|
||||
});
|
||||
const selectProjectName = (value, index) => {
|
||||
console.log("value", value, index);
|
||||
|
||||
Reference in New Issue
Block a user