feat:修改面授任务管理

This commit is contained in:
lixg
2023-01-05 11:02:08 +08:00
parent 3dbf35d2c1
commit 0bc0e91896
4 changed files with 342 additions and 68 deletions

View File

@@ -621,7 +621,7 @@
: item.type == '2'
? showFace(item.name, item.projectTaskId, item)
: item.type == '4'
? showWork(item.name, item.projectTaskId)
? showWork(item.name, item.projectTaskId, item)
: item.type == '5'
? showTest(item.name, item.projectTaskId, item)
: item.type == '10'
@@ -1102,13 +1102,14 @@
v-model:Fvisible="FaceVisivle"
:projectTaskId="projectTaskId"
:title="showFaceText"
:faceTaskInfo="faceTaskInfo"
:projectTaskInfo="projectTaskInfo"
/>
<!-- 作业管理抽屉 -->
<ProjectHomeWorkManage
v-model:Wvisible="Wvisible"
:projectTaskId="projectTaskId"
:title="showWorkText"
:projectTaskInfo="projectTaskInfo"
/>
<!-- 考试管理抽屉 -->
<ProjectExamManage
@@ -2398,7 +2399,7 @@ export default {
showTestText: "",
//面授传递title
showFaceText: "",
faceTaskInfo: null, //面授任务信息
projectTaskInfo: null, //任务信息
//直播、面授传递title
showWorkText: "",
//直播、活动页面传递参数
@@ -2506,7 +2507,7 @@ export default {
.getProjectDetail(objtl)
.then((res) => {
if (res.status == 200) {
console.log("阶段列表", res.data.data.stageList);
console.log("阶段列表", res);
for (let i = 0; i < res.data.data.stageList.length; i++) {
for (
let k = 0;
@@ -2713,8 +2714,8 @@ export default {
state.FaceVisivle = true;
state.showFaceText = name;
state.projectTaskId = id;
state.faceTaskInfo = item;
console.log("faceTaskInfo", item);
state.projectTaskInfo = item;
console.log("projectTaskInfo", item);
};
const showSubset = () => {
// 随机分组
@@ -2736,10 +2737,11 @@ export default {
state.showkaoqinText = title;
};
//作业管理的抽屉
const showWork = (name, id) => {
const showWork = (name, id, item) => {
state.Wvisible = true;
state.showWorkText = name;
state.projectTaskId = id;
state.projectTaskInfo = item;
};
//考试管理的抽屉
const showTest = (name, id, data) => {