Commit 17e4d144 authored by 智勇's avatar 智勇

增加服务描述

parent 3c1c75d4
......@@ -19,7 +19,6 @@
:data="proconfigs"
fit
size="medium"
highlight-current-row
style="width: 100%;">
<el-table-column :label="$t('table.id')" prop="id" align="center" width="55">
......@@ -28,13 +27,19 @@
</template>
</el-table-column>
<el-table-column label="服务名称" width="180px" align="center">
<el-table-column label="服务名称" align="center">
<template slot-scope="scope">
<span class="link-type" @click="handleUpdate(scope.row)">{{ scope.row.project_name }}</span>
</template>
</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">
<span>{{ scope.row.host_name }}</span>
</template>
......@@ -59,7 +64,8 @@
<el-table-column
label="API地址"
align="center">
align="center"
width="80px">
<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)"/>
......@@ -69,6 +75,7 @@
<el-table-column
label="DDL地址"
width="80px"
align="center">
<template slot-scope="scope">
<el-tooltip :content="scope.row.ddl" class="item" effect="dark" placement="top">
......@@ -79,6 +86,7 @@
<el-table-column
label="Wiki"
width="80px"
align="center">
<template slot-scope="scope">
<el-tooltip :content="scope.row.wiki" class="item" effect="dark" placement="top">
......@@ -89,6 +97,7 @@
<el-table-column
label="Git地址"
width="80px"
align="center">
<template slot-scope="scope">
<el-tooltip :content="scope.row.git_path" class="item" effect="dark" placement="top">
......@@ -229,6 +238,7 @@ export default {
return {
total: 0,
listQuery: {
// type: 'ui',
is_active: true,
sort: '+project_name'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment