提交 a74ad38b authored 作者: lidongxu's avatar lidongxu

feat(plan/effectiveplan): 新增_促销计划_根据角色配置按钮显隐权限

同上
上级 bf5c83be
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<el-button type="success" <el-button type="success"
plain plain
icon="Plus" icon="Plus"
v-hasPermi="['promotion:plan:create']"
@click="handleAdd">新增</el-button> @click="handleAdd">新增</el-button>
<el-button type="primary" <el-button type="primary"
plain plain
...@@ -33,7 +34,8 @@ ...@@ -33,7 +34,8 @@
action="#" action="#"
accept=".xls,.xlsx" accept=".xls,.xlsx"
:http-request="uploadPlanFile" :http-request="uploadPlanFile"
:show-file-list="false"> :show-file-list="false"
v-hasPermi="['promotion:plan:import_create_excel']">
<template #trigger> <template #trigger>
<el-button type="primary"> <el-button type="primary">
{{ isCityManager ? '城市经理' : '职能角色' }} {{ isCityManager ? '城市经理' : '职能角色' }}
...@@ -45,7 +47,8 @@ ...@@ -45,7 +47,8 @@
action="#" action="#"
accept=".xls,.xlsx" accept=".xls,.xlsx"
:http-request="uploadChangeFile" :http-request="uploadChangeFile"
:show-file-list="false"> :show-file-list="false"
v-hasPermi="['promotion:plan:import_change_excel']">
<template #trigger> <template #trigger>
<el-button type="primary">修改计划上传</el-button> <el-button type="primary">修改计划上传</el-button>
</template> </template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论