From 11cb40c86af0a651724ef7a1c2dcc2f042914627 Mon Sep 17 00:00:00 2001 From: 2256907009 <2256907009@qq.com> Date: Fri, 24 Oct 2025 17:34:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=AE=9E=E4=BE=8B?= =?UTF-8?q?=E8=A7=84=E6=A0=BC=E5=8F=82=E6=95=B0=E5=92=8C=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/acs/images/VmImages.vue | 9 +++-- src/views/acs/nodes/server.vue | 57 ++++++++++++++++++++++++++++++- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/src/views/acs/images/VmImages.vue b/src/views/acs/images/VmImages.vue index 9742c1b..13939d7 100644 --- a/src/views/acs/images/VmImages.vue +++ b/src/views/acs/images/VmImages.vue @@ -195,6 +195,9 @@ + + + { // 编辑镜像 const handleEdit = async (row) => { + console.log("编辑镜像信息:",row) try { let res = await getServerPlan({ server_id: row.server_id }) planlist.value = res.data.data.map(item => { @@ -580,7 +585,7 @@ const handleEdit = async (row) => { }) // 获取分类列表 await fetchCategoryList(row.server_id) - + console.log("编辑镜像信息:",row) editOr.value = true dialogVisible.value = true showNewCategoryInput.value = false // 编辑时默认不显示新分类输入框 diff --git a/src/views/acs/nodes/server.vue b/src/views/acs/nodes/server.vue index dbf527d..c8042c8 100644 --- a/src/views/acs/nodes/server.vue +++ b/src/views/acs/nodes/server.vue @@ -837,6 +837,54 @@ +
+
GPU配置
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
价格与验证
@@ -2205,7 +2253,13 @@ const spec_form = reactive({ min_iops: "", max_iops: "", description: "", - must_real_name: 0 + must_real_name: 0, + gpu_percentage: "", + min_partition_vram: "", + max_partition_vram: "", + optimal_partition_vram: "", + low_mmio_space: "", + high_mmio_space: "" }); function show_spec(data = null) { @@ -2227,6 +2281,7 @@ function show_spec(data = null) { spec_form.snapshot_num = '3'; spec_form.min_iops = '1000'; spec_form.max_iops = '5000'; + spec_form.low_mmio_space = '128'; } } else { // 复制传入的数据