feat: add migration queue management and improve VM IP display
Build and Deploy Vue3 / build (push) Successful in 1m45s
Build and Deploy Vue3 / deploy (push) Successful in 55s

This commit is contained in:
shiran
2026-08-04 16:26:25 +08:00
parent f10c8fc920
commit 57fc4a3fcb
6 changed files with 474 additions and 42 deletions
@@ -107,6 +107,9 @@
<el-tab-pane label="用户组网" name="networking">
<UserNetworkingManage v-if="tabLoaded['networking']" />
</el-tab-pane>
<el-tab-pane label="迁移队列" name="migration_queue">
<VmMigrationQueue v-if="tabLoaded['migration_queue']" />
</el-tab-pane>
<el-tab-pane label="迁移记录" name="migration">
<VmMigrationRecord v-if="tabLoaded['migration']" />
</el-tab-pane>
@@ -164,6 +167,7 @@ const VncNodeManage = defineAsyncComponent(() => import('./VncNodeManage.vue'))
const SnapshotManage = defineAsyncComponent(() => import('./SnapshotManage.vue'))
const BackupManage = defineAsyncComponent(() => import('./BackupManage.vue'))
const UserNetworkingManage = defineAsyncComponent(() => import('./UserNetworkingManage.vue'))
const VmMigrationQueue = defineAsyncComponent(() => import('./VmMigrationQueue.vue'))
const VmMigrationRecord = defineAsyncComponent(() => import('./VmMigrationRecord.vue'))
// 引入tagsViewStore
@@ -198,6 +202,7 @@ const tabLoaded = reactive({
'snapshot': false,
'backup': false,
'networking': false,
'migration_queue': false,
'migration': false
})
@@ -595,4 +600,8 @@ onMounted(() => {
padding: 0;
}
.custom-tabs :deep(.migration-queue-page) {
padding: 0;
}
</style>