feat: endpoint列表、二级列表增加type
This commit is contained in:
@@ -53,6 +53,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>-</template>
|
<template v-else>-</template>
|
||||||
</span>
|
</span>
|
||||||
|
<template v-else-if="item.prop == 'type'">{{scope.row.module.type}}</template>
|
||||||
<div v-else-if="item.prop == 'option'" class="content-right-options">
|
<div v-else-if="item.prop == 'option'" class="content-right-options">
|
||||||
<span :title="$t('overall.query')" @click="query(scope.row)" class="content-right-option" :id="'edp-query-'+scope.row.id"><i class="el-icon-search"></i></span>
|
<span :title="$t('overall.query')" @click="query(scope.row)" class="content-right-option" :id="'edp-query-'+scope.row.id"><i class="el-icon-search"></i></span>
|
||||||
|
|
||||||
@@ -144,6 +145,10 @@
|
|||||||
label: this.$t("project.endpoint.port"),
|
label: this.$t("project.endpoint.port"),
|
||||||
prop: 'port',
|
prop: 'port',
|
||||||
show: true,
|
show: true,
|
||||||
|
},{
|
||||||
|
label: this.$t("overall.type"),
|
||||||
|
prop: 'type',
|
||||||
|
show: false,
|
||||||
},{
|
},{
|
||||||
label: this.$t("project.endpoint.param"),
|
label: this.$t("project.endpoint.param"),
|
||||||
prop: 'param',
|
prop: 'param',
|
||||||
|
|||||||
@@ -128,6 +128,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>-</template>
|
<template v-else>-</template>
|
||||||
</span>
|
</span>
|
||||||
|
<template v-else-if="item.prop == 'type'">{{currentModule.type}}</template>
|
||||||
<div v-else-if="item.prop == 'option'" class="content-right-options">
|
<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>
|
<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>
|
||||||
|
|
||||||
@@ -249,6 +250,10 @@
|
|||||||
label: this.$t("project.endpoint.port"),
|
label: this.$t("project.endpoint.port"),
|
||||||
prop: 'port',
|
prop: 'port',
|
||||||
show: true,
|
show: true,
|
||||||
|
},{
|
||||||
|
label: this.$t("overall.type"),
|
||||||
|
prop: 'type',
|
||||||
|
show: false,
|
||||||
},{
|
},{
|
||||||
label: this.$t("project.endpoint.param"),
|
label: this.$t("project.endpoint.param"),
|
||||||
prop: 'param',
|
prop: 'param',
|
||||||
|
|||||||
Reference in New Issue
Block a user