按钮没权限问题修改

This commit is contained in:
wangyan21 2023-11-07 09:31:14 +08:00
parent 307d3169d5
commit 2d5b579129
2 changed files with 10 additions and 10 deletions

View File

@ -75,7 +75,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['system:report:add']"
v-hasPermi="['permit:report:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -86,7 +86,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['system:report:edit']"
v-hasPermi="['permit:report:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -97,7 +97,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['system:report:remove']"
v-hasPermi="['permit:report:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -150,14 +150,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['system:report:edit']"
v-hasPermi="['permit:report:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['system:report:remove']"
v-hasPermi="['permit:report:remove']"
>删除</el-button>
<el-button
size="mini"

View File

@ -82,7 +82,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['system:report:add']"
v-hasPermi="['permit:report:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -93,7 +93,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['system:report:edit']"
v-hasPermi="['permit:report:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -104,7 +104,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['system:report:remove']"
v-hasPermi="['permit:report:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -153,14 +153,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['system:report:edit']"
v-hasPermi="['permit:report:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['system:report:remove']"
v-hasPermi="['permit:report:remove']"
>删除</el-button>
</template>
</el-table-column>