CN-648 Dahsboard - npm - overview底部表格开发
This commit is contained in:
@@ -240,9 +240,6 @@ export default {
|
|||||||
storeFrom () {
|
storeFrom () {
|
||||||
return this.$store.getters.from
|
return this.$store.getters.from
|
||||||
},
|
},
|
||||||
breadcrumbColumnValueListAll () {
|
|
||||||
return this.$store.getters.getBreadcrumbColumnValueList
|
|
||||||
},
|
|
||||||
route () {
|
route () {
|
||||||
return this.$route.path
|
return this.$route.path
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.prop === 'tab'" >
|
<template v-else-if="item.prop === 'tab'" >
|
||||||
<div class="data-click" @click="handleTabValue(item.label,scope.row['tab'])">{{scope.row['tab']}}</div>
|
<div class="data-click" v-if='drillDown' @click="handleTabValue(item.label,scope.row['tab'])">{{scope.row['tab']}}</div>
|
||||||
|
<div v-else >{{scope.row['tab']}}</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
{{scope.row[item.prop]}}
|
{{scope.row[item.prop]}}
|
||||||
@@ -66,7 +67,7 @@
|
|||||||
|
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<div class="tab-search" >
|
<div class="tab-search" >
|
||||||
<div class="search-select" >
|
<div class="search-select" v-if="drillDown">
|
||||||
<span>{{$t('network.metric')}}:</span>
|
<span>{{$t('network.metric')}}:</span>
|
||||||
<el-select v-model="metric"
|
<el-select v-model="metric"
|
||||||
class="option__select select-column"
|
class="option__select select-column"
|
||||||
@@ -193,7 +194,8 @@ export default {
|
|||||||
through: 'throughBitsRate'
|
through: 'throughBitsRate'
|
||||||
},
|
},
|
||||||
metricUnit: 'bytes',
|
metricUnit: 'bytes',
|
||||||
loading: false
|
loading: false,
|
||||||
|
drillDown:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
@@ -841,6 +843,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
if(this.chart.params && this.chart.params.drillDown){
|
||||||
|
this.drillDown = this.chart.params.drillDown
|
||||||
|
}
|
||||||
|
|
||||||
this.list = this.$_.cloneDeep(networkOverviewTabList)
|
this.list = this.$_.cloneDeep(networkOverviewTabList)
|
||||||
if (this.$store.getters.getNetworkOverviewTabList.length > 0) {
|
if (this.$store.getters.getNetworkOverviewTabList.length > 0) {
|
||||||
this.list = this.$store.getters.getNetworkOverviewTabList
|
this.list = this.$store.getters.getNetworkOverviewTabList
|
||||||
|
|||||||
Reference in New Issue
Block a user