feat:合并

This commit is contained in:
李晓鸽
2022-10-24 16:13:11 +08:00
parent 54f7e478f1
commit 7ed5222366
4 changed files with 422 additions and 212 deletions

View File

@@ -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);