编辑讨论获取信息

This commit is contained in:
岳佳鑫
2022-11-07 19:33:21 +08:00
parent 2ed621cdeb
commit 74b52ac5fc
2 changed files with 21 additions and 6 deletions

View File

@@ -852,6 +852,7 @@ export default {
isLiveEdit: 1, //直播编辑
EditRefId: null, //要编辑的外链的id
EditLiveId: null, //要编辑的直播的id
editDiscussId:null,//要编辑的讨论的id
projectNameList: [
{
id: 1,
@@ -1776,6 +1777,11 @@ export default {
const showDrawerAddDiscuss = () => {
state.adddiscussvisible = true;
};
//打开编辑讨论的弹窗
const showEditAddDiscuss = (id)=>{
state.editDiscussId = id
state.adddiscussvisible = true;
}
const showDrawerAddActive = () => {
state.addactivevisible = true;
};
@@ -1899,7 +1905,9 @@ export default {
} else if (type == "投票") {
showDrawerAddVote(id);
} else if (type == "讨论") {
showDrawerAddDiscuss(id);
showEditAddDiscuss(id);
} else if (type == "活动") {
showDrawerAddActive(id);
}
};
return {