feat:endpoint二级页面添加Project、module过滤&asset列表添加endpoint停用统计

This commit is contained in:
wangwenrui
2020-11-30 15:28:17 +08:00
parent 25276590b6
commit e18da8390d
3 changed files with 17 additions and 3 deletions

View File

@@ -277,6 +277,20 @@
label:'endpointState',
disabled:false,
readonly:true,
},{
id:34,
name:this.$t('project.project.project'),
// name: this.$t('asset.asset'),
type:'input',
label:'projectName',
disabled:false,
},{
id:35,
name:this.$t('project.module.module'),
// name: this.$t('asset.asset'),
type:'input',
label:'moduleName',
disabled:false,
}],
},
endpointSearchLabel: { //搜索参数

View File

@@ -548,7 +548,7 @@ const en = {
},
active:"Alive",// "存活",
total:"Total",// "总数",
down: "Down"
down: "Down",
},
config: {
config: 'Settings',//"设置"

View File

@@ -102,9 +102,9 @@
<template v-if="item.prop=='Module'">
<el-tooltip placement="right" effect="light">
<div slot="content">
{{$t('asset.down')}} / {{$t('asset.total')}}
{{$t('asset.down')}} / {{$t('asset.suspended')}} / {{$t('asset.total')}}
</div>
<span class="link" @click="showEndpoint(scope.row)" style="padding: 2px 8px">{{scope.row.endpointDownNum}}/{{scope.row.endpointNum}}</span>
<span class="link" @click="showEndpoint(scope.row)" style="padding: 2px 8px">{{scope.row.endpointDownNum}}/{{scope.row.endpointSuspendedNum}}/{{scope.row.endpointNum}}</span>
</el-tooltip>
</template>
<template v-if="item.prop=='Alert'">