增加通道编辑以及通道重置功能

This commit is contained in:
648540858
2024-07-15 17:39:47 +08:00
parent 92c6a10083
commit d9c0d0637c
8 changed files with 119 additions and 40 deletions

View File

@@ -161,7 +161,7 @@
</el-pagination>
</el-main>
</el-container>
<channel-edit v-if="editId" :id="editId"></channel-edit>
<channel-edit v-if="editId" :id="editId" :closeEdit="closeEdit"></channel-edit>
<!--设备列表-->
</div>
@@ -549,7 +549,13 @@ export default {
// 编辑
handleEdit(row) {
this.editId = row.id
},
// 结束编辑
closeEdit: function (){
this.editId = null
this.getDeviceChannelList()
}
}
};
</script>