| | |
| | | <!-- |
| | | * @Author: Liuyi candymxq888@outlook.com |
| | | * @Date: 2024-08-06 14:47:41 |
| | | * @LastEditors: hqs elkers@163.com |
| | | * @LastEditTime: 2024-08-14 10:38:16 |
| | | * @LastEditors: web candymxq888@outlook.com |
| | | * @LastEditTime: 2025-07-15 10:07:32 |
| | | * @FilePath: \water-qinghe-web\src\views\facilit\facilityList\facilityType.vue |
| | | * @Description: 设备类型 |
| | | --> |
| | |
| | | |
| | | /** 删除按钮操作 */ |
| | | function handleDelete(row) { |
| | | proxy.$modal.confirm('是否确认删除名称为"' + row.contact + '"的数据项?').then(function () { |
| | | proxy.$modal.confirm('是否确认删除名称为"' + row.facilityTypeName + '"的数据项?').then(function () { |
| | | return facilityTypeApi().remove(row.id); |
| | | }).then(() => { |
| | | getList(); |
| | |
| | | <el-button link type="primary" icon="Edit" v-has="['update',route]" |
| | | @click="handleUpdate(scope.row)">修改 |
| | | </el-button> |
| | | <el-button link type="primary" icon="Delete" v-has="['delete',route]" |
| | | <!-- <el-button link type="primary" icon="Delete" v-has="['delete',route]" |
| | | @click="handleDelete(scope.row)">删除 |
| | | </el-button> |
| | | </el-button> --> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |