完善新增公告和删除公告权限控制
parent
5e8f65d470
commit
3949c6527e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue