This commit is contained in:
helen 2024-12-25 15:36:57 +08:00
parent 7608ca3ea4
commit a168f7a0e4
2 changed files with 45 additions and 39 deletions

View File

@ -84,6 +84,7 @@
<el-table-column label="操作时间" align="center" prop="updateTime" width="180px" /> <el-table-column label="操作时间" align="center" prop="updateTime" width="180px" />
<el-table-column label="操作" align="center" width="150px" fixed="right" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" width="150px" fixed="right" class-name="small-padding fixed-width">
<template #default="scope"> <template #default="scope">
<div v-if="scope.row.userZombie == true">
<el-button <el-button
v-if="scope.row.status == 0 || scope.row.status == 1" v-if="scope.row.status == 0 || scope.row.status == 1"
v-hasPermi="['system:article:edit']" v-hasPermi="['system:article:edit']"
@ -106,6 +107,8 @@
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
>删除</el-button >删除</el-button
> >
</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -98,6 +98,7 @@
<el-table-column label="操作时间" align="center" prop="updateTime" width="200px" /> <el-table-column label="操作时间" align="center" prop="updateTime" width="200px" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150px"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150px">
<template #default="scope"> <template #default="scope">
<div v-if="scope.row.userZombie == true">
<el-button <el-button
v-if="scope.row.status == 0 || scope.row.status == 1" v-if="scope.row.status == 0 || scope.row.status == 1"
v-hasPermi="['manage:notebook:edit']" v-hasPermi="['manage:notebook:edit']"
@ -123,6 +124,8 @@
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
>删除</el-button >删除</el-button
> >
</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>