fix:Asset Info 图表 Feature -> Attribute

This commit is contained in:
wangwenrui
2020-07-17 18:15:47 +08:00
parent eaf6ecc304
commit 3ee0050ce5
4 changed files with 6 additions and 6 deletions

View File

@@ -67,7 +67,7 @@
</div> </div>
</div> </div>
<!-- endpoint-detailassetmodel的assetInfo的feature--> <!-- endpoint-detailassetmodel的assetInfo的feature-->
<div class="content-item" v-if="(data.from == 'endpoint' || data.from == 'asset' || data.from == 'model') && data.type == 'assetInfo' && item.type == 'feature'"> <div class="content-item" v-if="(data.from == 'endpoint' || data.from == 'asset' || data.from == 'model') && data.type == 'assetInfo' && item.type == 'attribute'">
<div class="content-item-key item-tip" :id="`key-${index}-${i}`"> <div class="content-item-key item-tip" :id="`key-${index}-${i}`">
<span class="content-text">{{key}}</span> <span class="content-text">{{key}}</span>
<div class="item-tip-hide item-tip-key el-popover" :class="itemTip(`key-${index}`, key, i, ready)">{{key}}</div> <div class="item-tip-hide item-tip-key el-popover" :class="itemTip(`key-${index}`, key, i, ready)">{{key}}</div>

View File

@@ -1298,10 +1298,10 @@
type: 'basic', type: 'basic',
data: response.data.Basic data: response.data.Basic
}); });
response.data.Feature && detail.push({ response.data.Attribute && detail.push({
title: vm.$t('asset.createAssetTab.featureTitle'), title: vm.$t('asset.createAssetTab.featureTitle'),
type: 'feature', type: 'attribute',
data: response.data.Feature data: response.data.Attribute
}); });
}(); }();
} }

View File

@@ -458,7 +458,7 @@ const cn = {
reLoginPwdIntroduce: "请指定密码提示以便RELOGIN登录过程可自动运行", reLoginPwdIntroduce: "请指定密码提示以便RELOGIN登录过程可自动运行",
exporter: "Exporter", exporter: "Exporter",
basicTitle:'基础信息', basicTitle:'基础信息',
featureTitle:'特征' featureTitle:'属性'
}, },
editAssetTab: { editAssetTab: {
title: "新增资产", title: "新增资产",

View File

@@ -472,7 +472,7 @@ const en = {
sshKeyWasConfig:'SSH-KEY configured',//'SSH-KEY已配置' sshKeyWasConfig:'SSH-KEY configured',//'SSH-KEY已配置'
exporter:'Exporter', exporter:'Exporter',
basicTitle:'Basic info', basicTitle:'Basic info',
featureTitle:'Feature', featureTitle:'Attribute',
}, },
editAssetTab:{ editAssetTab:{
title:'New asset',//'新增资产' title:'New asset',//'新增资产'