Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qahome-diamond
Commits
17e4d144
Commit
17e4d144
authored
Aug 13, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加服务描述
parent
3c1c75d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
index.vue
src/views/proconfig/index.vue
+14
-4
No files found.
src/views/proconfig/index.vue
View file @
17e4d144
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
:data=
"proconfigs"
:data=
"proconfigs"
fit
fit
size=
"medium"
size=
"medium"
highlight-current-row
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<el-table-column
:label=
"$t('table.id')"
prop=
"id"
align=
"center"
width=
"55"
>
<el-table-column
:label=
"$t('table.id')"
prop=
"id"
align=
"center"
width=
"55"
>
...
@@ -28,13 +27,19 @@
...
@@ -28,13 +27,19 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"服务名称"
width=
"180px"
align=
"center"
>
<el-table-column
label=
"服务名称"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"link-type"
@
click=
"handleUpdate(scope.row)"
>
{{
scope
.
row
.
project_name
}}
</span>
<span
class=
"link-type"
@
click=
"handleUpdate(scope.row)"
>
{{
scope
.
row
.
project_name
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"线上域名"
width=
"180px"
align=
"center"
>
<el-table-column
label=
"服务描述"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
>
{{
scope
.
row
.
des
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"线上域名"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
host_name
}}
</span>
<span>
{{
scope
.
row
.
host_name
}}
</span>
</
template
>
</
template
>
...
@@ -59,7 +64,8 @@
...
@@ -59,7 +64,8 @@
<el-table-column
<el-table-column
label=
"API地址"
label=
"API地址"
align=
"center"
>
align=
"center"
width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
:content=
"scope.row.api"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-tooltip
:content=
"scope.row.api"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-button
v-show=
"scope.row.api"
type=
"primary"
icon=
"el-icon-tickets"
circle
@
click=
"openUrl(scope.row.api)"
/>
<el-button
v-show=
"scope.row.api"
type=
"primary"
icon=
"el-icon-tickets"
circle
@
click=
"openUrl(scope.row.api)"
/>
...
@@ -69,6 +75,7 @@
...
@@ -69,6 +75,7 @@
<el-table-column
<el-table-column
label=
"DDL地址"
label=
"DDL地址"
width=
"80px"
align=
"center"
>
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
:content=
"scope.row.ddl"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-tooltip
:content=
"scope.row.ddl"
class=
"item"
effect=
"dark"
placement=
"top"
>
...
@@ -79,6 +86,7 @@
...
@@ -79,6 +86,7 @@
<el-table-column
<el-table-column
label=
"Wiki"
label=
"Wiki"
width=
"80px"
align=
"center"
>
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
:content=
"scope.row.wiki"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-tooltip
:content=
"scope.row.wiki"
class=
"item"
effect=
"dark"
placement=
"top"
>
...
@@ -89,6 +97,7 @@
...
@@ -89,6 +97,7 @@
<el-table-column
<el-table-column
label=
"Git地址"
label=
"Git地址"
width=
"80px"
align=
"center"
>
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
:content=
"scope.row.git_path"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-tooltip
:content=
"scope.row.git_path"
class=
"item"
effect=
"dark"
placement=
"top"
>
...
@@ -229,6 +238,7 @@ export default {
...
@@ -229,6 +238,7 @@ export default {
return
{
return
{
total
:
0
,
total
:
0
,
listQuery
:
{
listQuery
:
{
// type: 'ui',
is_active
:
true
,
is_active
:
true
,
sort
:
'
+project_name
'
sort
:
'
+project_name
'
},
},
...
...
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