feat:增加学习路径id以及项目id

This commit is contained in:
李晓鸽
2022-11-04 15:50:19 +08:00
13 changed files with 5397 additions and 4700 deletions

View File

@@ -480,7 +480,10 @@
>
编辑
</span>
<span style="color: #4ea6ff; cursor: pointer">
<span
style="color: #4ea6ff; cursor: pointer"
@click="showDelete()"
>
删除
</span>
</div>
@@ -753,7 +756,7 @@ import * as apiinvist from "../../api/indexInvist";
import * as apivote from "../../api/indexVote";
import * as apistage from "../../api/indexStage";
import draggable from "vuedraggable";
import { storage } from "../../api/storage";
const drawercolumns = [
{
title: "项目名称",
@@ -812,6 +815,7 @@ export default {
},
setup() {
const state = reactive({
projectId: storage.get("projectId") ? storage.get("projectId") : null,
projectNameList: [
{
id: 1,
@@ -992,6 +996,7 @@ export default {
selectRow: [], //选择行
selectAll: 0, //0未选择1全选2部分选择
});
console.log("projectId", state.projectId);
const selectProjectName = (value, index) => {
console.log("value", value, index);
};
@@ -1208,14 +1213,8 @@ export default {
.then((res) => {
if (res.status == 200) {
console.log("22222", res.data.data.stageList);
let arr =
res.data.data.stageList[res.data.data.stageList.length - 1]
.taskList;
console.log(
"res.data.data.stageList[91].taskList",
res.data.data.stageList[92].taskList
);
let leng = res.data.data.stageList.length;
let arr = res.data.data.stageList[leng - 1].taskList;
getTableData(arr);
}
})