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
a4112cbc
authored
Jul 12, 2024
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相关提交
parent
be297361
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
11 deletions
+20
-11
src/layout/components/Sidebar-custom/index.vue
+1
-1
src/layout/user-layout.vue
+3
-3
src/views/computingResource/shoppingCart.vue
+14
-6
src/views/console/naturalResources.vue
+0
-0
src/views/index-copy.vue
+2
-1
No files found.
src/layout/components/Sidebar-custom/index.vue
View file @
a4112cbc
...
@@ -60,7 +60,7 @@ const activeMenu = computed(() => {
...
@@ -60,7 +60,7 @@ const activeMenu = computed(() => {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.title
{
.title
{
font-weight
:
bold
;
font-weight
:
bold
er
!important
;
font-size
:
18px
;
font-size
:
18px
;
color
:
#303233
;
color
:
#303233
;
padding
:
20px
;
padding
:
20px
;
...
...
src/layout/user-layout.vue
View file @
a4112cbc
...
@@ -202,13 +202,13 @@ function logout() {
...
@@ -202,13 +202,13 @@ function logout() {
.el-sub-menu,
.el-menu-item
{
.el-sub-menu,
.el-menu-item
{
&.is-active
{
&.is-active
{
font-weight
:
bold
;
font-weight
:
bold
er
;
font-size
:
18px
!important
;
font-size
:
18px
!important
;
}
}
}
}
.el-sub-menu__title
,
.el-menu-item
{
.el-sub-menu__title
,
.el-menu-item
{
font-weight
:
500
;
font-weight
:
bolder
;
font-size
:
18px
!important
;
font-size
:
18px
!important
;
color
:
#4e5051
;
color
:
#4e5051
;
}
}
...
@@ -229,7 +229,7 @@ function logout() {
...
@@ -229,7 +229,7 @@ function logout() {
}
}
.user-name
,
.console
{
.user-name
,
.console
{
font-weight
:
400
;
font-weight
:
bolder
;
font-size
:
18px
;
font-size
:
18px
;
color
:
#303233
;
color
:
#303233
;
}
}
...
...
src/views/computingResource/shoppingCart.vue
View file @
a4112cbc
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
<div
class=
"page-main"
>
<div
class=
"page-main"
>
<div
class=
"detail-info"
>
<div
class=
"detail-info"
>
<el-table
:data=
"tableData"
v-if=
"tableData.length !== 0"
row-key=
"id"
@
selection-change=
"tableSelectionChange"
>
<el-table
:data=
"tableData"
v-if=
"tableData.length !== 0"
row-key=
"id"
@
selection-change=
"tableSelectionChange"
align=
"center"
>
<el-table-column
type=
"selection"
reserve-selection
/>
<el-table-column
type=
"selection"
reserve-selection
/>
<el-table-column
label=
"资源型号"
prop=
"model"
/>
<el-table-column
label=
"资源型号"
prop=
"model"
/>
<el-table-column
label=
"配置详情"
width=
"
15
0px"
>
<el-table-column
label=
"配置详情"
width=
"
21
0px"
>
<template
#
default=
"
{row}">
<template
#
default=
"
{row}">
<p>
CPU:
{{
row
.
cpu
}}
</p>
<p>
CPU:
{{
row
.
cpu
}}
</p>
<p>
GPU:
{{
row
.
gpu
}}
</p>
<p>
GPU:
{{
row
.
gpu
}}
</p>
...
@@ -33,14 +33,22 @@
...
@@ -33,14 +33,22 @@
<!-- {{ param[scope.$index][index]['valueName'] }}-->
<!-- {{ param[scope.$index][index]['valueName'] }}-->
<!-- </template>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- </el-table-column>-->
<el-table-column
v-for=
"(i, index) in headers"
:key=
"index"
:label=
"i.name"
:prop=
"i.name"
<!-- <el-table-column v-for="(i, index) in headers" :key="index" :label="i.name" :prop="i.name"-->
:width=
"i?.name?.length >= 8 ? '150px':''"
>
<!-- :width="i?.name?.length >= 8 ? '150px':''">-->
<!-- <template v-slot="scope">-->
<!-- {{ getCellValue(scope.row.param, i.name) || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"配置参数"
width=
"300px"
>
<
template
v-slot=
"scope"
>
<
template
v-slot=
"scope"
>
{{
getCellValue
(
scope
.
row
.
param
,
i
.
name
)
||
'-'
}}
<div
v-for=
"(item, index) in JSON.parse(scope.row.param)"
:key=
"index"
>
{{
item
.
name
}}
:
{{
item
.
valueName
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"申请数量"
prop=
"useNum"
width=
"95px"
>
<el-table-column
label=
"申请数量"
prop=
"useNum"
>
<
template
#
default=
"{row}"
>
<
template
#
default=
"{row}"
>
<el-input-number
<el-input-number
v-model=
"row.useNum"
v-model=
"row.useNum"
...
...
src/views/console/naturalResources.vue
View file @
a4112cbc
This diff is collapsed.
Click to expand it.
src/views/index-copy.vue
View file @
a4112cbc
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<div
class=
"particulars"
v-if=
"index !== 2"
>
<div
class=
"particulars"
v-if=
"index !== 2"
>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
>
<el-col
class=
"resource-col"
:span=
"8"
v-for=
"x in i.assemblyData"
:key=
"i"
<el-col
class=
"resource-col"
:span=
"8"
v-for=
"x in i.assemblyData"
:key=
"i"
@
click=
"i.id === 1? $router.push(
x.router
):openAssembly(x)"
@
click=
"i.id === 1? $router.push(
'/computingResource/resourceList?type=' + x.category
):openAssembly(x)"
>
>
<!-- style="background: url("@/assets/images/indexImg/resource1.png") no-repeat center center / 100%;"-->
<!-- style="background: url("@/assets/images/indexImg/resource1.png") no-repeat center center / 100%;"-->
<div
class=
"resource-box"
:style=
"
{background: `url(${index === 0 ?baseUrl+x.image:baseUrl+x.homeImage}) no-repeat center center / 100%`}">
<div
class=
"resource-box"
:style=
"
{background: `url(${index === 0 ?baseUrl+x.image:baseUrl+x.homeImage}) no-repeat center center / 100%`}">
...
@@ -211,6 +211,7 @@ function getAassemblyList() {
...
@@ -211,6 +211,7 @@ function getAassemblyList() {
function
getResource
()
{
function
getResource
()
{
informationResourceList
().
then
(
res
=>
{
informationResourceList
().
then
(
res
=>
{
list
.
value
[
0
].
assemblyData
=
res
.
data
.
length
>
3
?
res
.
data
.
slice
(
0
,
3
)
:
res
.
data
list
.
value
[
0
].
assemblyData
=
res
.
data
.
length
>
3
?
res
.
data
.
slice
(
0
,
3
)
:
res
.
data
console
.
log
(
list
.
value
[
0
].
assemblyData
,
'list.value[0].assemblyData'
)
})
})
}
}
...
...
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