Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
c78ca4c8
Commit
c78ca4c8
authored
Jul 14, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
卡片优化
parent
1c8d31c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
src/components/app-list/app-card.vue
src/components/app-list/app-card.vue
+9
-6
src/components/organization-list/organization-card.vue
src/components/organization-list/organization-card.vue
+2
-1
src/pages/workbench/yygl/yyglList.vue
src/pages/workbench/yygl/yyglList.vue
+1
-1
No files found.
src/components/app-list/app-card.vue
View file @
c78ca4c8
...
...
@@ -3,7 +3,7 @@
<a
class=
"remove_btn"
@
click.prevent=
"deleteAction"
>
<i
class=
"el-icon-close"
></i>
</a>
<div
class=
"app_card-icon"
>
<div
class=
"app_card-icon"
@
click=
"intoDetail"
>
<el-avatar
shape=
"square"
:size=
"56"
fit=
"cover"
:src=
"data.logo"
/>
</div>
<div
class=
"app_card-info"
>
...
...
@@ -27,15 +27,14 @@
<i
class=
"el-icon-time"
></i>
<span>
上线时间:
</span>
</span>
<span
class=
"text_clip"
v-text=
"data.created && data.created.substring(0, 10)"
></span>
<span
class=
"text_clip"
v-text=
"getTimeText(data.created || '')"
></span>
</p>
</div>
</
template
>
<
script
>
import
helper
from
"
@/services/helper.js
"
;
export
default
{
props
:
{
data
:
{
...
...
@@ -52,6 +51,9 @@ export default {
},
},
methods
:
{
getTimeText
(
time
)
{
return
helper
.
dateStringTransform
(
time
);
},
deploymentAction
()
{
this
.
$emit
(
"
deployment-action
"
,
this
.
data
);
},
...
...
@@ -62,7 +64,7 @@ export default {
this
.
$router
.
push
(
`
${
this
.
detailsUrl
}${
this
.
cardType
==
0
?
this
.
data
.
app_id
+
`?source=
${
this
.
data
.
source
}
`
?
this
.
data
.
app_id
+
`?source=
${
this
.
data
.
source
}
`
:
this
.
data
.
deploy_id
+
`?app_id=
${
this
.
data
.
app_id
}
`
}
`
);
...
...
@@ -97,6 +99,7 @@ export default {
}
.app_card
>
.app_card-icon
{
margin-right
:
18px
;
cursor
:
pointer
;
}
.app_card
>
.app_card-info
{
width
:
calc
(
100%
-
56px
-
20px
);
...
...
src/components/organization-list/organization-card.vue
View file @
c78ca4c8
...
...
@@ -3,7 +3,7 @@
<a
class=
"remove_btn"
@
click.prevent=
"deleteAction"
v-if=
"!hideDelete"
>
<i
class=
"el-icon-close"
></i>
</a>
<div
class=
"organization_card-icon"
>
<div
class=
"organization_card-icon"
@
click=
"intoDetail"
>
<el-avatar
shape=
"square"
:size=
"56"
...
...
@@ -100,6 +100,7 @@ export default {
}
.organization_card
>
.organization_card-icon
{
margin-right
:
18px
;
cursor
:
pointer
;
}
.organization_card
>
.organization_card-info
{
width
:
calc
(
100%
-
56px
-
20px
);
...
...
src/pages/workbench/yygl/yyglList.vue
View file @
c78ca4c8
...
...
@@ -915,7 +915,7 @@ export default {
];
this
.
otherFilter1
=
[
{
name
:
"
在线
状态
"
,
name
:
"
在线
区域
"
,
prop
:
"
online_state
"
,
data
:
[
{
...
...
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