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
372b7cb6
Commit
372b7cb6
authored
Aug 12, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改展示
parent
5d47a024
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
13 deletions
+45
-13
index.vue
src/views/proconfig/index.vue
+45
-13
No files found.
src/views/proconfig/index.vue
View file @
372b7cb6
...
@@ -33,21 +33,23 @@
...
@@ -33,21 +33,23 @@
</el-form>
</el-form>
</
template
>
</
template
>
</el-table-column>
-->
</el-table-column>
-->
<el-table-column
:label=
"$t('table.id')"
fixed
prop=
"id"
align=
"center"
width=
"55"
>
<el-table-column
:label=
"$t('table.id')"
prop=
"id"
align=
"center"
width=
"55"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
fixed
label=
"服务名称"
width=
"180px"
sortable=
"custom"
align=
"center"
>
<el-table-column
label=
"服务名称"
width=
"180px"
sortable=
"custom"
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="服务描述" width="180px" align="center">
<template slot-scope="scope">
<template slot-scope="scope">
<span>{{ scope.row.des }}</span>
<span>{{ scope.row.des }}</span>
</template>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column
label=
"线上域名"
width=
"180px"
align=
"center"
>
<el-table-column
label=
"线上域名"
width=
"180px"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
host_name
}}
</span>
<span>
{{
scope
.
row
.
host_name
}}
</span>
...
@@ -71,31 +73,61 @@
...
@@ -71,31 +73,61 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
el-table-column
label=
"Git地址"
width=
"3
10px"
align=
"center"
>
<
!-- <el-table-column label="API" width="2
10px" align="center">
<template slot-scope="scope">
<template slot-scope="scope">
<span
>
{{
scope
.
row
.
git_path
}}
</span>
<span
class="link-type" @click="openUrl(scope.row.api)">{{ scope.row.api
}}</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"
API"
width=
"25
0px"
align=
"center"
>
<el-table-column label="
数据库DDL" width="21
0px" align="center">
<template slot-scope="scope">
<template slot-scope="scope">
<span
class=
"link-type"
@
click=
"openUrl(scope.row.
api)"
>
{{
scope
.
row
.
api
}}
</span>
<span class="link-type" @click="openUrl(scope.row.
ddl)">{{ scope.row.ddl
}}</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"
数据库DDL"
width=
"25
0px"
align=
"center"
>
<el-table-column label="
Wiki" width="21
0px" align="center">
<template slot-scope="scope">
<template slot-scope="scope">
<span
class=
"link-type"
@
click=
"openUrl(scope.row.ddl)"
>
{{
scope
.
row
.
ddl
}}
</span>
<span class="link-type" @click="openUrl(scope.row.wiki)">{{ scope.row.wiki }}</span>
</template>
</el-table-column> -->
<el-table-column
label=
"API地址"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<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-tooltip>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Wiki"
width=
"250px"
align=
"center"
>
<el-table-column
label=
"DDL地址"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"link-type"
@
click=
"openUrl(scope.row.wiki)"
>
{{
scope
.
row
.
wiki
}}
</span>
<el-tooltip
:content=
"scope.row.ddl"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-button
v-show=
"scope.row.ddl"
type=
"success"
icon=
"el-icon-time"
circle
@
click=
"openUrl(scope.row.ddl)"
/>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
label=
"Wiki"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
:content=
"scope.row.wiki"
class=
"item"
effect=
"dark"
placement=
"top"
>
<el-button
v-show=
"scope.row.wiki"
type=
"success"
icon=
"el-icon-time"
circle
@
click=
"openUrl(scope.row.wiki)"
/>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
label=
"Git地址"
width=
"210px"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
git_path
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('table.actions')"
fixed=
"right"
align=
"center"
width=
"18
0"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('table.actions')"
align=
"center"
width=
"15
0"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleUpdate(scope.row)"
>
{{
$t
(
'
table.edit
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleUpdate(scope.row)"
>
{{
$t
(
'
table.edit
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status!='deleted'"
size=
"mini"
type=
"danger"
@
click=
"handleDelete(scope.row)"
>
{{
$t
(
'
table.delete
'
)
}}
<el-button
v-if=
"scope.row.status!='deleted'"
size=
"mini"
type=
"danger"
@
click=
"handleDelete(scope.row)"
>
{{
$t
(
'
table.delete
'
)
}}
...
...
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