Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5d3142e4
authored
Aug 05, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态规格(未完成)
parent
ccbdbc30
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
src/api/compute/resourcespu/index.ts
+3
-0
src/views/compute/resourcespu/form/index.vue
+0
-0
src/views/compute/resourcespu/index.vue
+0
-0
No files found.
src/api/compute/resourcespu/index.ts
View file @
5d3142e4
...
...
@@ -26,6 +26,9 @@ export interface ResourceSpu {
sliderPicUrls
?:
string
;
// 商品轮播图地址,以逗号分隔,最多15张
sales
?:
number
;
// 商品销量
status
?:
number
;
// 状态(0 下架,1 上架,2 回收)
specConfigIds
?:
number
[];
// 规格配置项 ID 列表(关联 compute_resource_config.id)
specMap
?:
Record
<
string
,
string
>
;
// 规格展示 Map(key=configCategory, value=configOption)
specConfigIdsByCategory
:
Record
<
string
,
number
[]
>
;
// 前端辅助字段:按 configCategory 分组的多选绑定(提交时扁平化为 specConfigIds)
}
// 算力资源SPU表(基础配置信息) API
...
...
src/views/compute/resourcespu/form/index.vue
View file @
5d3142e4
This diff is collapsed.
Click to expand it.
src/views/compute/resourcespu/index.vue
View file @
5d3142e4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment