mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-26 06:19:04 +00:00
refactor(权限管理): 统一详情权限标识从query改为detail
- 删除租户和客户管理相关模块代码 - 更新多个视图文件的权限标识 - 修改全局响应类型添加success字段 - 优化基础模型字段索引配置
This commit is contained in:
@@ -31,8 +31,21 @@
|
||||
</el-form-item>
|
||||
<!-- 查询、重置、展开/收起按钮 -->
|
||||
<el-form-item class="search-buttons">
|
||||
<el-button type="primary" icon="search" @click="handleQuery">查询</el-button>
|
||||
<el-button icon="refresh" @click="handleResetQuery">重置</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['module_application:job:query']"
|
||||
type="primary"
|
||||
icon="search"
|
||||
@click="handleQuery"
|
||||
>
|
||||
查询
|
||||
</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['module_application:job:query']"
|
||||
icon="refresh"
|
||||
@click="handleResetQuery"
|
||||
>
|
||||
重置
|
||||
</el-button>
|
||||
<!-- 展开/收起 -->
|
||||
<template v-if="isExpandable">
|
||||
<el-link class="ml-3" type="primary" underline="never" @click="isExpand = !isExpand">
|
||||
@@ -177,7 +190,7 @@
|
||||
<el-table-column fixed="right" label="操作" align="center" min-width="150">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-hasPerm="['module_application:job:query']"
|
||||
v-hasPerm="['module_application:job:detail']"
|
||||
type="info"
|
||||
size="small"
|
||||
link
|
||||
|
||||
@@ -249,6 +249,7 @@
|
||||
立即执行
|
||||
</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['module_application:job:detail']"
|
||||
type="info"
|
||||
size="small"
|
||||
link
|
||||
|
||||
Reference in New Issue
Block a user