| | |
| | | <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> |