diff --git a/src/components/drawers/project/ProjectEvalManage.vue b/src/components/drawers/project/ProjectEvalManage.vue new file mode 100644 index 00000000..5c946c7d --- /dev/null +++ b/src/components/drawers/project/ProjectEvalManage.vue @@ -0,0 +1,578 @@ + + + + + 【测评】{{ title }} + + + + 起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00 + + + 姓名: + + + + 任务状态: + + + + + + + + 搜索 + + + + 重置 + + + + + + + 催促测评 + + + + 导出数据 + + + + + + + + + + + + + 取消 + 确定 + + + + + + + + diff --git a/src/components/drawers/project/ProjectExamManage.vue b/src/components/drawers/project/ProjectExamManage.vue new file mode 100644 index 00000000..1297df98 --- /dev/null +++ b/src/components/drawers/project/ProjectExamManage.vue @@ -0,0 +1,587 @@ + + + + + 【考试】{{ title }} + + + + 起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00 + + + 姓名: + + + + 任务状态: + + + + + + + + 搜索 + + + + 重置 + + + + + + + 催促考试 + + + + 导出数据 + + + + + + + + + + + + + 取消 + 确定 + + + + + + + + diff --git a/src/components/drawers/project/ProjectFaceTaskManage.vue b/src/components/drawers/project/ProjectFaceTaskManage.vue new file mode 100644 index 00000000..bd0f0943 --- /dev/null +++ b/src/components/drawers/project/ProjectFaceTaskManage.vue @@ -0,0 +1,696 @@ + + + + + 【面授】{{ title }} + + + + 起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00 + + + 姓名: + + + + 任务状态: + + + + + + + + 搜索 + + + + 重置 + + + + + + + 催促学习 + + + 批量标注完成 + + + 批量录入成绩 + + + + 导出数据 + + + 导出作业 + + + + + + + 已选择 + {{ selectedRowKeys.length }} + 项 + 列表选项总计: + {{ tableDataTotal }}条 + + 清空 + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + + + + + + + + diff --git a/src/components/drawers/project/ProjectHomeWorkManage.vue b/src/components/drawers/project/ProjectHomeWorkManage.vue new file mode 100644 index 00000000..c973d0e9 --- /dev/null +++ b/src/components/drawers/project/ProjectHomeWorkManage.vue @@ -0,0 +1,672 @@ + + + + + 【作业】{{ title }} + + + + 起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00 + + + 姓名: + + + + 任务状态: + + + + + + + + 搜索 + + + + 重置 + + + + + + + 导出数据 + + + 导出作业 + + + 录入成绩 + + + + + + + + + + + + + 取消 + 确定 + + + + + + + + + + + + + + + + diff --git a/src/components/drawers/project/ProjectOnlineManage.vue b/src/components/drawers/project/ProjectOnlineManage.vue new file mode 100644 index 00000000..50950945 --- /dev/null +++ b/src/components/drawers/project/ProjectOnlineManage.vue @@ -0,0 +1,519 @@ + + + + + + 【{{ + itemsType === 1 + ? "在线" + : itemsType === 3 + ? "案例" + : itemsType === 6 + ? "直播" + : itemsType === 7 + ? "外链" + : itemsType === 8 + ? "讨论" + : itemsType === 9 + ? "活动" + : itemsType === 11 + ? "评估" + : "-" + }}】{{ title }} + + + + + 起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00 + + + + 姓名: + + + + 任务状态: + + + + + + + + + 搜索 + + + + 重置 + + + + + + + 催促学习 + + + + 导出数据 + + + + + + + + + + + + + 取消 + 确定 + + + + + + + + diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 5e185194..be348c9c 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -606,26 +606,32 @@ @click=" item.type == '1' || item.type == '3' || + item.type == '6' || item.type == '7' || item.type == '8' || item.type == '9' || - item.type == '11' || - item.type == '12' - ? showTime( + item.type == '11' + ? showOnline( item.name, item.projectTaskId, item.type ) - : item.type == '5' || item.type == '10' - ? showTest( + : item.type == '2' + ? showFace( item.name, item.projectTaskId, item.type ) - : item.type == '2' || item.type == '6' - ? showFace(item.name, item.projectTaskId) : item.type == '4' ? showWork(item.name, item.projectTaskId) + : item.type == '5' + ? showTest(item.name, item.projectTaskId) + : item.type == '10' + ? showEval(item.name, item.projectTaskId) + : item.type == '12' + ? showWork(item.name, item.projectTaskId) + : item.type == '13' + ? showWork(item.name, item.projectTaskId) : null " > @@ -1083,12 +1089,39 @@ :title="showTimeText" :itemsType="itemstype" /> + + + - + + + + + + + @@ -1129,19 +1162,7 @@ - - - - + @@ -1694,13 +1715,15 @@ import { reactive, toRefs, onMounted, watch, computed } from "vue"; import { useRoute } from "vue-router"; import { useRouter } from "vue-router"; import TimeManage from "../../components/drawers/TimeManage"; -import FaceManage from "../../components/drawers/FaceManage"; +import ProjectFaceTaskManage from "../../components/drawers/project/ProjectFaceTaskManage"; +import ProjectOnlineManage from "../../components/drawers/project/ProjectOnlineManage"; +import ProjectHomeWorkManage from "../../components/drawers/project/ProjectHomeWorkManage"; +import ProjectExamManage from "../../components/drawers/project/ProjectExamManage"; +import ProjectEvalManage from "../../components/drawers/project/ProjectEvalManage"; import SubsetManage from "../../components/drawers/SubsetManage"; import MemberList from "../../components/drawers/MemberList"; import ActiveAttendance from "../../components/drawers/ActiveAttendance"; -import WorkManage from "../../components/drawers/WorkManage"; import FaceStu from "../../components/drawers/FaceStu"; -import TestManage from "../../components/drawers/TestManage"; import ProjCheckShip from "../../components/drawers/ProjCheckPower"; import ImportStu from "../../components/drawers/ImportStu"; import SeeStu from "../../components/drawers/SeeStu"; @@ -1741,13 +1764,15 @@ export default { ProjectLevel, TrainClass, TimeManage, - FaceManage, + ProjectFaceTaskManage, + ProjectOnlineManage, + ProjectHomeWorkManage, + ProjectExamManage, + ProjectEvalManage, SubsetManage, MemberList, FaceStu, ActiveAttendance, - WorkManage, - TestManage, // StuAdd, ProjCheckShip, ImportStu, @@ -1879,6 +1904,7 @@ export default { ], valuestu4: "学员", visible: false, //时间管理 + onlineVisible: false, //在线管理 FaceVisivle: false, //面授管理 subsetVisivle: false, //随机小组 Lvisible: false, //组员名单 @@ -1886,6 +1912,7 @@ export default { AAvisible: false, //活动考勤 Wvisible: false, //作业管理 TMvisible: false, //考试管理 + Evalvisible: false, //测评管理 Stuvisible: false, //添加学员 Importvisible: false, //导入学员 Seevisible: false, //查看学员 @@ -2662,17 +2689,16 @@ export default { const showFaceIn = () => { state.TaskFaceImpStuvisible = true; }; - //新增 - const showTime = (name, id, type) => { + //在线、案例、外链、讨论、评估、直播、活动管理页面 + const showOnline = (name, id, type) => { console.log("点击管理并传了id"); - state.visible = true; + state.onlineVisible = true; state.showTimeText = name; state.projectTaskId = id; state.itemstype = Number(type); }; - //新增 + //面授管理的抽屉 const showFace = (name, id) => { - //面授管理的抽屉 // console.log("点击管理"); state.FaceVisivle = true; state.showFaceText = name; @@ -2703,12 +2729,18 @@ export default { state.showWorkText = name; state.projectTaskId = id; }; - //考试、测评管理的抽屉 - const showTest = (name, id, type) => { + //考试管理的抽屉 + const showTest = (name, id) => { state.TMvisible = true; state.showTestText = name; state.projectTaskId = id; - state.itemstype = Number(type); + }; + //测评抽屉 + const showEval = (name, id) => { + console.log('点击测评') + state.Evalvisible = true; + state.showTestText = name; + state.projectTaskId = id; }; const showStuAdd = () => { state.Stuvisible = true; @@ -4066,7 +4098,7 @@ export default { showDeleteOne, closeDeleteOne, - showTime, + showOnline, showFace, showSubset, showMemberList, @@ -4074,6 +4106,7 @@ export default { showAA, showWork, showTest, + showEval, showStuAdd, showImportStu, showSeeStu,