mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 17:55:39 +08:00
--demand 添加权限
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<!-- <div class="split"></div> -->
|
||||
<div class="noticeTitle">
|
||||
<!-- <div class="notitle"><span class="titlespan">公告</span></div> -->
|
||||
<div class="switch">
|
||||
<div v-button-per="permissions" class="switch">
|
||||
<a-switch
|
||||
v-model:checked="noticeChecked"
|
||||
@click="noticeFlag"
|
||||
@@ -25,7 +25,7 @@
|
||||
style="margin-top: -10px; height: 220px;border:1px solid #fff; resize: none;background-color: #fff;color:#666;"
|
||||
/>
|
||||
<!-- <pre>{{noticeContent1}}</pre> -->
|
||||
<div class="btn-content">
|
||||
<div class="btn-content" v-button-per="permissions">
|
||||
<a-button type="primary" @click="handleEdit">编辑</a-button>
|
||||
</div>
|
||||
</template>
|
||||
@@ -49,7 +49,7 @@
|
||||
placeholder="公告信息最多输入150个字"
|
||||
style="margin-top: -10px; height: 160px;"
|
||||
/>
|
||||
<div class="btn-content">
|
||||
<div class="btn-content" v-button-per="permissions">
|
||||
<a-button class="cancel" @click="handleCancel">取消</a-button>
|
||||
<a-button type="primary" @click="pubNotice" class="sure">
|
||||
发布
|
||||
@@ -69,6 +69,10 @@ import emitter from "../../utils/bus";
|
||||
export default {
|
||||
name: "NoticePub",
|
||||
props: {
|
||||
permissions:{
|
||||
type:String,
|
||||
default:''
|
||||
},
|
||||
projectId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
|
||||
Reference in New Issue
Block a user