fix:删除页面按钮权限

This commit is contained in:
zhaofei06 2023-12-05 09:48:23 +08:00
parent cf0c94c7fc
commit d059daa79e
3 changed files with 0 additions and 15 deletions

View File

@ -41,7 +41,6 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['device:hardware:add']"
>新增
</el-button>
</el-col>
@ -53,7 +52,6 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['device:hardware:edit']"
>修改
</el-button>
</el-col>
@ -65,7 +63,6 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['device:hardware:remove']"
>删除
</el-button>
</el-col>
@ -101,7 +98,6 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['device:hardware:edit']"
>修改
</el-button>
<el-button
@ -109,7 +105,6 @@
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['device:hardware:remove']"
>删除
</el-button>
</template>

View File

@ -41,7 +41,6 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['device:service:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -52,7 +51,6 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['device:service:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -63,7 +61,6 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['device:service:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -101,14 +98,12 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['device:service:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['device:service:remove']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -41,7 +41,6 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['device:service:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -52,7 +51,6 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['device:service:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -63,7 +61,6 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['device:service:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -108,14 +105,12 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['device:service:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['device:service:remove']"
>删除</el-button>
</template>
</el-table-column>