提交 2d2860bd authored 作者: haodaking's avatar haodaking

chore: 营销资料移除按钮权限

上级 cab21ec9
...@@ -152,7 +152,7 @@ async function handleChangeStatus(row: MaterialProp) { ...@@ -152,7 +152,7 @@ async function handleChangeStatus(row: MaterialProp) {
<template #header-buttons> <template #header-buttons>
<el-space> <el-space>
<router-link to="/material/create"> <router-link to="/material/create">
<el-button type="primary" :icon="Plus" v-permission="'v1-experiment-marketing-material-create'">营销内容创作</el-button> <el-button type="primary" :icon="Plus">营销内容创作</el-button>
</router-link> </router-link>
</el-space> </el-space>
</template> </template>
...@@ -161,8 +161,8 @@ async function handleChangeStatus(row: MaterialProp) { ...@@ -161,8 +161,8 @@ async function handleChangeStatus(row: MaterialProp) {
</template> </template>
<template #table-x="{ row }"> <template #table-x="{ row }">
<el-button type="primary" plain @click="handleView(row)">查看</el-button> <el-button type="primary" plain @click="handleView(row)">查看</el-button>
<el-button type="primary" plain @click="handleEdit(row)" v-permission="'v1-experiment-marketing-material-update'">编辑</el-button> <el-button type="primary" plain @click="handleEdit(row)">编辑</el-button>
<el-button type="primary" plain @click="handleRemove(row)" v-permission="'v1-experiment-marketing-material-delete'">删除</el-button> <el-button type="primary" plain @click="handleRemove(row)">删除</el-button>
</template> </template>
</AppList> </AppList>
<ViewDialog :data="currentRow" v-if="dialogVisible" v-model="dialogVisible"></ViewDialog> <ViewDialog :data="currentRow" v-if="dialogVisible" v-model="dialogVisible"></ViewDialog>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论