NEZ-666 fix: project topo 点击module 展开内容标题 显示 module name
This commit is contained in:
@@ -457,7 +457,7 @@ const cn = {
|
|||||||
module: '模块'
|
module: '模块'
|
||||||
},
|
},
|
||||||
endpoint: {
|
endpoint: {
|
||||||
endpoint: 'Endpoints'
|
endpoint: 'Endpoint'
|
||||||
},
|
},
|
||||||
dataCenter: {
|
dataCenter: {
|
||||||
dataCenter: '数据中心',
|
dataCenter: '数据中心',
|
||||||
|
|||||||
@@ -458,16 +458,16 @@ const en = {
|
|||||||
total: 'Total'
|
total: 'Total'
|
||||||
},
|
},
|
||||||
project: {
|
project: {
|
||||||
project: 'Projects',
|
project: 'Project',
|
||||||
name: 'Name',
|
name: 'Name',
|
||||||
module: 'Module',
|
module: 'Module',
|
||||||
endpoint: 'Endpoint'
|
endpoint: 'Endpoint'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
module: 'Modules'
|
module: 'Module'
|
||||||
},
|
},
|
||||||
endpoint: {
|
endpoint: {
|
||||||
endpoint: 'Endpoints'
|
endpoint: 'Endpoint'
|
||||||
},
|
},
|
||||||
dataCenter: {
|
dataCenter: {
|
||||||
dataCenter: 'Data center',
|
dataCenter: 'Data center',
|
||||||
@@ -475,7 +475,7 @@ const en = {
|
|||||||
promServer: 'Prom server'
|
promServer: 'Prom server'
|
||||||
},
|
},
|
||||||
alert: {
|
alert: {
|
||||||
alertMessage: 'Alert messages',
|
alertMessage: 'Module name / Alert Message',
|
||||||
level: 'Priority',
|
level: 'Priority',
|
||||||
alertRule: 'Alert rule',
|
alertRule: 'Alert rule',
|
||||||
ruleNum: 'Rule num',
|
ruleNum: 'Rule num',
|
||||||
@@ -562,7 +562,7 @@ const en = {
|
|||||||
copySuccess: 'Copy success'
|
copySuccess: 'Copy success'
|
||||||
},
|
},
|
||||||
asset: {
|
asset: {
|
||||||
asset: 'Asset',
|
asset: 'Module name / Asset ',
|
||||||
assets: 'Asset', // '资产'
|
assets: 'Asset', // '资产'
|
||||||
editAsset: 'Edit asset', // '编辑资产'
|
editAsset: 'Edit asset', // '编辑资产'
|
||||||
createAsset: 'New asset', // '编辑资产'
|
createAsset: 'New asset', // '编辑资产'
|
||||||
@@ -1268,6 +1268,7 @@ const en = {
|
|||||||
createEndpoint: 'New endpoint', // "新增Endpoint"
|
createEndpoint: 'New endpoint', // "新增Endpoint"
|
||||||
editEndpoint: 'Edit endpoint', // "编辑Endpoint"
|
editEndpoint: 'Edit endpoint', // "编辑Endpoint"
|
||||||
endpoint: 'Endpoint ', // "Endpoint"
|
endpoint: 'Endpoint ', // "Endpoint"
|
||||||
|
endpoints: 'Module name / Endpoint',
|
||||||
endpointId: 'Endpoint ID', // "Endpoint ID"
|
endpointId: 'Endpoint ID', // "Endpoint ID"
|
||||||
list: 'List',
|
list: 'List',
|
||||||
host: 'Host', // "Host"
|
host: 'Host', // "Host"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="mc" @click.self="clickOutside">
|
<div class="mc" @click.self="clickOutside">
|
||||||
<div class="right-box right-box-project-alert">
|
<div class="right-box right-box-project-alert">
|
||||||
<div class="right-box-title">{{$t('project.endpoint.endpoint')}}</div>
|
<div class="right-box-title">{{$t('project.endpoint.endpoints')}}</div>
|
||||||
<nz-data-list
|
<nz-data-list
|
||||||
ref="dataList"
|
ref="dataList"
|
||||||
:api="url"
|
:api="url"
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="Parameter" name="Parameter">
|
<el-tab-pane :label="$t('project.endpoint.param')" name="Parameter">
|
||||||
<div id="module-box-params" ref="labelBoxScrollbar" style="height: 100%; overflow: auto;">
|
<div id="module-box-params" ref="labelBoxScrollbar" style="height: 100%; overflow: auto;">
|
||||||
<div v-for="(item, index) in editEndpoint.paramObj" :key="index" class="param-box-row">
|
<div v-for="(item, index) in editEndpoint.paramObj" :key="index" class="param-box-row">
|
||||||
<el-form-item :prop="'paramObj.' + index + '.key'" class="param-box-row-key">
|
<el-form-item :prop="'paramObj.' + index + '.key'" class="param-box-row-key">
|
||||||
|
|||||||
Reference in New Issue
Block a user