feat: 配置权限

This commit is contained in:
zhanghao 2025-10-24 09:28:21 +08:00
parent 1a8ecd746e
commit 907d75ffc1
2 changed files with 511 additions and 510 deletions

File diff suppressed because it is too large Load Diff

View File

@ -182,6 +182,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleSetting(row)" @click="handleSetting(row)"
v-hasPermi="['system:project:add','system:project:edit']"
>配置 >配置
</el-button> </el-button>
<el-button <el-button
@ -189,6 +190,7 @@
type="text" type="text"
v-if="row.status == 1" v-if="row.status == 1"
@click="handleExecute(row)" @click="handleExecute(row)"
v-hasPermi="['system:project:add','system:project:edit']"
>执行 >执行
</el-button> </el-button>
<el-button <el-button
@ -196,6 +198,7 @@
v-if="row.status == 0" v-if="row.status == 0"
link link
type="primary" type="primary"
v-hasPermi="['system:project:add','system:project:edit']"
@click="handleOpenDashboard(row)" @click="handleOpenDashboard(row)"
>可视化 >可视化
</el-button> </el-button>