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 { // 复制传入的数据