feat: endpoint列表、二级列表增加type

This commit is contained in:
chenjinsong
2020-05-12 11:54:35 +08:00
parent 2a2a88f89b
commit 692dc7bae7
2 changed files with 10 additions and 0 deletions

View File

@@ -128,6 +128,7 @@
</template>
<template v-else>-</template>
</span>
<template v-else-if="item.prop == 'type'">{{currentModule.type}}</template>
<div v-else-if="item.prop == 'option'" class="content-right-options">
<span :title="$t('overall.query')" @click="showEndpoint(scope.row)" class="content-right-option" :id="'edp-query-'+scope.row.id"><i class="el-icon-search"></i></span>
&nbsp;
@@ -249,6 +250,10 @@
label: this.$t("project.endpoint.port"),
prop: 'port',
show: true,
},{
label: this.$t("overall.type"),
prop: 'type',
show: false,
},{
label: this.$t("project.endpoint.param"),
prop: 'param',