完善新增公告和删除公告权限控制

main
wuyize 2022-07-14 11:03:07 +08:00
parent 5e8f65d470
commit 3949c6527e
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@
<div>
<p class="p-title" style="margin-left: 10px;width: 40%;float: left;">公告</p>
<div style="width: 80px;height: 40px;float:right;">
<el-button @click="addggboxbtn()" type="primary">新增</el-button>
<el-button v-if="!project.completed&&projectAccessLevel<3" @click="addggboxbtn()" type="primary"></el-button>
</div>
</div>
<!-- 公告具体内容 -->
@ -178,7 +178,7 @@
<div style="min-width:50%;height:100%;float:left;line-height: 250%;text-align: center;">
<h3>{{ findGgInfoContent.announcementTitle }} </h3></div>
<!-- //level 1 -->
<div v-if="findGgInfoContent.announcementPublisherAccessLevel == 2 || findGgInfoContent.announcementPublisherAccessLevel == 1" @click="showDelbox(findGgInfoContent.announcementId)"
<div v-if="!project.completed&&findGgInfoContent.announcementPublisherAccessLevel>=projectAccessLevel" @click="showDelbox(findGgInfoContent.announcementId)"
style="width:18%;height:100%;float:right;color: #409EFF;line-height: 250%;text-align: right;cursor: pointer;margin-right: 7%;box-sizing: border-box;padding-right: 3px;">
删除
</div>