Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Bk Bcs Saas
Commits
5e13851a
Unverified
Commit
5e13851a
authored
3 years ago
by
vhwweng
Browse files
Options
Download
Plain Diff
Merge branch 'master' of
https://github.com/Tencent/bk-bcs-saas
into dev_hwweng
parents
31ba784a
bf4b92c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bcs-app/frontend/src/views/helm/index.css
+5
-0
bcs-app/frontend/src/views/helm/index.css
bcs-app/frontend/src/views/helm/index.vue
+12
-14
bcs-app/frontend/src/views/helm/index.vue
with
17 additions
and
14 deletions
+17
-14
bcs-app/frontend/src/views/helm/index.css
+
5
-
0
View file @
5e13851a
...
...
@@ -509,6 +509,11 @@
padding
:
0
20px
;
overflow-x
:
auto
;
}
.col-cluster
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
2px
;
}
/* 自适应 */
@media
screen
and
(
max-width
:
1600px
)
{
...
...
This diff is collapsed.
Click to expand it.
bcs-app/frontend/src/views/helm/index.vue
+
12
-
14
View file @
5e13851a
...
...
@@ -65,7 +65,7 @@
<bk-checkbox
name=
"check-strategy"
v-model=
"row.isChecked"
@
change=
"checkApp(row)"
/>
</
template
>
</bk-table-column>
<bk-table-column
:label=
"$t('Release名称')"
>
<bk-table-column
:label=
"$t('Release名称')"
min-width=
"160"
>
<
template
slot-scope=
"{ row }"
>
<div>
<span
v-if=
"row.transitioning_on"
class=
"f14 fb app-name"
>
...
...
@@ -100,25 +100,23 @@
</div>
</template>
</bk-table-column>
<bk-table-column
:label=
"$t('Chart')"
prop=
"source"
>
<bk-table-column
:label=
"$t('Chart')"
prop=
"source"
min-width=
"160"
>
<
template
slot-scope=
"{ row }"
>
{{
`${row.chart_name
}
:${row.current_version
}
`
}}
<
/template
>
<
/bk-table-column
>
<
bk
-
table
-
column
:
label
=
"
$t('集群')
"
prop
=
"
status
"
min
-
width
=
"
10
0
"
>
<
bk
-
table
-
column
:
label
=
"
$t('集群')
"
prop
=
"
status
"
:
show
-
overflow
-
tooltip
=
"
false
"
min
-
width
=
"
25
0
"
>
<
template
slot
-
scope
=
"
{ row
}
"
>
<
div
style
=
"
min-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
"
>
<
div
class
=
"
col-cluster
"
>
{{
$t
(
'
所属集群
'
)
}}
:
<
bcs
-
popover
:
content
=
"
row.cluster_id || '--'
"
placement
=
"
top
"
>
<
span
>
{{
row
.
cluster_name
?
row
.
cluster_name
:
'
--
'
}}
<
/span
>
<
/bcs-popover
>
<
template
>
<
template
v
-
if
=
"
row.cluster_env === 'stag'
"
>
<
bk
-
tag
type
=
"
filled
"
theme
=
"
warning
"
class
=
"
biz-small-tag m0 mt5
"
>
{{
$t
(
'
测试
'
)
}}
<
/bk-tag
>
<
/template
>
<
template
v
-
else
-
if
=
"
row.cluster_env === 'prod'
"
>
<
bk
-
tag
type
=
"
filled
"
theme
=
"
success
"
class
=
"
biz-small-tag m0 mt5
"
>
{{
$t
(
'
正式
'
)
}}
<
/bk-tag
>
<
/template
>
<
template
v
-
if
=
"
row.cluster_env === 'stag'
"
>
<
bk
-
tag
type
=
"
filled
"
theme
=
"
warning
"
class
=
"
biz-small-tag m0
"
>
{{
$t
(
'
测试
'
)
}}
<
/bk-tag
>
<
/template
>
<
template
v
-
else
-
if
=
"
row.cluster_env === 'prod'
"
>
<
bk
-
tag
type
=
"
filled
"
theme
=
"
success
"
class
=
"
biz-small-tag m0
"
>
{{
$t
(
'
正式
'
)
}}
<
/bk-tag
>
<
/template
>
<
/div
>
<
p
style
=
"
min-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
"
>
...
...
@@ -126,13 +124,13 @@
<
/p
>
<
/template
>
<
/bk-table-column
>
<
bk
-
table
-
column
:
label
=
"
$t('操作记录')
"
prop
=
"
create_time
"
>
<
bk
-
table
-
column
:
label
=
"
$t('操作记录')
"
prop
=
"
create_time
"
width
=
"
260
"
>
<
template
slot
-
scope
=
"
{ row
}
"
>
<
p
class
=
"
updator
"
>
{{
$t
(
'
操作者
'
)
}}
:
{{
row
.
updator
}}
<
/p
>
<
p
class
=
"
updated
"
>
{{
$t
(
'
更新时间
'
)
}}
:
{{
row
.
updated
}}
<
/p
>
<
/template
>
<
/bk-table-column
>
<
bk
-
table
-
column
:
label
=
"
$t('操作')
"
>
<
bk
-
table
-
column
:
label
=
"
$t('操作')
"
width
=
"
230
"
>
<
template
slot
-
scope
=
"
{ row
}
"
>
<
bk
-
button
class
=
"
ml5
"
text
@
click
=
"
showAppInfoSlider(row)
"
>
{{
$t
(
'
查看状态
'
)
}}
<
/bk-button
>
<
bk
-
button
class
=
"
ml5
"
text
@
click
=
"
showAppDetail(row)
"
>
{{
$t
(
'
更新
'
)
}}
<
/bk-button
>
...
...
@@ -1328,7 +1326,7 @@
this.pagination.current = page
this.getAppList()
}
,
/**
* 自定义checkbox表格头
*/
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help