| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-button type="text" @click="edit('edit',row)">修改</el-button> |
| | | <el-button type="text" @click="edit('edit',row)">编辑</el-button> |
| | | <el-button type="text" @click="del(row)">删除</el-button> |
| | | </div> |
| | | </template> |
| | |
| | | </div> |
| | | <!--设备清单新增编辑--> |
| | | <el-dialog |
| | | :title="operation==='add'?'新增':'修改'" |
| | | :close-on-click-modal="false" |
| | | :title="operation==='add'?'新增':'编辑'" |
| | | :visible.sync="dialogVisible" |
| | | width="50%" |
| | | top="15vh" |
| | |
| | | :visible.sync="DeviceTypeDialogVisible" |
| | | width="50%" |
| | | top="15vh" |
| | | |
| | | :close-on-click-modal="false" |
| | | class="DeviceTypeDialogVisible" |
| | | @close="handleCloseDeviceType" |
| | | > |
| | |
| | | title="设备组" |
| | | :visible.sync="DeviceGroupDialogVisible" |
| | | width="70%" |
| | | :close-on-click-modal="false" |
| | | top="15vh" |
| | | class="DeviceTypeDialogVisible" |
| | | @close="handleCloseDeviceGroup" |