Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
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
ed929c27
authored
Aug 28, 2025
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计算资源无数据修改
parent
2d8ba33f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/views/computingResource/resourceList.vue
+4
-2
No files found.
src/views/computingResource/resourceList.vue
View file @
ed929c27
...
...
@@ -56,7 +56,7 @@
:label=
"productType.name"
:name=
"productType.id"
>
<div
v-if=
"showVersion === 1"
class=
"version-1"
>
<el-table
:data=
"tableData"
:max-height=
"490"
style=
"width: 100%"
>
<el-table
v-if=
"tableData.length !== 0"
:data=
"tableData"
:max-height=
"490"
style=
"width: 100%"
>
<el-table-column
prop=
"name"
label=
"型号"
width=
"190px"
sortable
/>
<el-table-column
v-for=
"(item, index) in tableData[0]?.properties.length!==0?tableData[0]?.properties.slice(0,6):tableData[0]?.properties"
...
...
@@ -77,10 +77,11 @@
</
template
>
</el-table-column>
</el-table>
<el-empty
v-if=
"tableData.length === 0"
description=
"暂无资源"
/>
</div>
<!--卡片形式-->
<div
v-if=
"showVersion === 2"
class=
"version-2"
>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
v-if=
"tableData.length !== 0"
>
<el-col
v-for=
"(item,index) in tableData"
:key=
"index"
:span=
"6"
>
<div
class=
"product-card"
>
<div
class=
"top-info"
>
...
...
@@ -116,6 +117,7 @@
</div>
</el-col>
</el-row>
<el-empty
v-if=
"tableData.length === 0"
description=
"暂无资源"
/>
</div>
<pagination
...
...
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