修改讨论传值

This commit is contained in:
zhangyc
2022-11-08 16:12:42 +08:00
parent 5bf68d58c3
commit 880838e8b1

View File

@@ -1716,22 +1716,23 @@ export default {
}; };
const showDrawerAddDiscuss = () => { const showDrawerAddDiscuss = () => {
state.adddiscussvisible = true; state.adddiscussvisible = true;
}; };s
//打开编辑讨论的弹窗 //打开编辑讨论的弹窗
const showEditAddDiscuss = (id)=>{ const showEditAddDiscuss = (id,eleId)=>{
state.editDiscussId = id state.editDiscussId = id
state.projectTaskId = eleId;
state.adddiscussvisible = true; state.adddiscussvisible = true;
} }
const showDrawerAddActive = () => { const showDrawerAddActive = (id,eleId) => {
state.addactivevisible = true; state.addactivevisible = true;
}; };
const showDrawerAddEval = () => { const showDrawerAddEval = (id,eleId) => {
state.addevalvisible = true; state.addevalvisible = true;
}; };
const showDrawerAddInvist = () => { const showDrawerAddInvist = (id,eleId) => {
state.addinvistvisible = true; state.addinvistvisible = true;
}; };
const showDrawerAddVote = () => { const showDrawerAddVote = (id,eleId) => {
state.addvotevisible = true; state.addvotevisible = true;
}; };
const showConfirm = () => { const showConfirm = () => {
@@ -1831,7 +1832,7 @@ export default {
state.EditLiveId = id; state.EditLiveId = id;
}; };
//打开测评的弹窗 //打开测评的弹窗
const showEditEvalDrawer = (id) => { const showEditEvalDrawer = (ideleId) => {
console.log('222222222222222222222',id); console.log('222222222222222222222',id);
state.addevalvisible = true; state.addevalvisible = true;
state.EditRefId = id; state.EditRefId = id;
@@ -1845,17 +1846,17 @@ export default {
showEditRefDrawer(id); showEditRefDrawer(id);
} }
else if (type == "直播") { else if (type == "直播") {
showEditLiveDrawer(id); showEditLiveDrawer(id,eleId);
} else if (type == "测评") { } else if (type == "测评") {
showEditEvalDrawer(id) showEditEvalDrawer(id,eleId)
} else if (type == "评估") { } else if (type == "评估") {
showDrawerAddInvist(id); showDrawerAddInvist(id,eleId);
} else if (type == "投票") { } else if (type == "投票") {
showDrawerAddVote(id); showDrawerAddVote(id,eleIdd);
} else if (type == "讨论") { } else if (type == "讨论") {
showEditAddDiscuss(id); showEditAddDiscuss(id,eleId);
} else if (type == "活动") { } else if (type == "活动") {
showDrawerAddActive(id); showDrawerAddActive(id,eleId);
}else if (type == "作业") { }else if (type == "作业") {
showDrawerAddHomework(id,eleId); showDrawerAddHomework(id,eleId);
}else if (type == "考试") { }else if (type == "考试") {