From d098e2e3a16837ad0a61c1a2df93b27c7d16bfd2 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期五, 06 九月 2024 17:10:29 +0800 Subject: [PATCH] 批量导入 --- src/views/hazardousChemicals/systemManage/department/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/hazardousChemicals/systemManage/department/index.vue b/src/views/hazardousChemicals/systemManage/department/index.vue index 320cb2a..8568e91 100644 --- a/src/views/hazardousChemicals/systemManage/department/index.vue +++ b/src/views/hazardousChemicals/systemManage/department/index.vue @@ -23,11 +23,12 @@ <span>{{scope.row.status ==0 ? '正常' : '停用'}}</span> </template> </el-table-column> - <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250" > + <el-table-column label="操作" align="center" width="250" > + <template #default="scope"> - <el-button type="success" plain @click="openDialog('add',scope.row)">添加</el-button> - <el-button type="primary" plain @click="openDialog('edit',scope.row)">编辑</el-button> - <el-button type="danger" plain @click="handleDelete(scope.row.id)">删除</el-button> + <el-button type="success" link @click="openDialog('add',scope.row)">添加</el-button> + <el-button type="primary" link @click="openDialog('edit',scope.row)">编辑</el-button> + <el-button type="danger" link @click="handleDelete(scope.row.id)">删除</el-button> </template> </el-table-column> </el-table> -- Gitblit v1.9.2