Commit 8eb87481 by dlarmor

重构:基础设施 -> 数据源配置功能 权限标识

parent 6359ffe7
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<el-form :inline="true" label-width="68px"> <el-form :inline="true" label-width="68px">
<el-form-item> <el-form-item>
<el-button type="primary" @click="openModal('create')" v-hasPermi="['infra:config:create']"> <el-button
type="primary"
@click="openModal('create')"
v-hasPermi="['infra:data-source-config:create']"
>
<Icon icon="ep:plus" class="mr-5px" /> 新增 <Icon icon="ep:plus" class="mr-5px" /> 新增
</el-button> </el-button>
</el-form-item> </el-form-item>
...@@ -28,7 +32,7 @@ ...@@ -28,7 +32,7 @@
link link
type="primary" type="primary"
@click="openModal('update', scope.row.id)" @click="openModal('update', scope.row.id)"
v-hasPermi="['infra:config:update']" v-hasPermi="['infra:data-source-config:update']"
> >
编辑 编辑
</el-button> </el-button>
...@@ -36,7 +40,7 @@ ...@@ -36,7 +40,7 @@
link link
type="danger" type="danger"
@click="handleDelete(scope.row.id)" @click="handleDelete(scope.row.id)"
v-hasPermi="['infra:config:delete']" v-hasPermi="['infra:data-source-config:delete']"
> >
删除 删除
</el-button> </el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment