refactor(性能测试): 修改测试详情和监控页面的显示图表
This commit is contained in:
parent
221b45f9ab
commit
dc0bd51ab9
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div v-loading="result.loading">
|
||||
<el-tabs @tab-click="clickTabs">
|
||||
<el-tab-pane v-for="(item) in instances" :key="item" :label="item" class="logging-content">
|
||||
<el-tab-pane v-for="(item, index) in instances" :key="item + index" :label="item" class="logging-content">
|
||||
<el-row>
|
||||
<el-col :span="6">
|
||||
<el-collapse v-model="activeNames" class="monitor-detail">
|
||||
|
|
|
@ -217,7 +217,6 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
resetDefault() {
|
||||
this.seriesData = [];
|
||||
|
||||
this.checkList['ActiveThreadsChart'] = ['ALL'];
|
||||
this.checkList['TransactionsChart'] = ['ALL'];
|
||||
|
@ -422,8 +421,8 @@ export default {
|
|||
if (this.init) {
|
||||
return;
|
||||
}
|
||||
if (status === "Completed" || status === "Running") {
|
||||
this.initTableData();
|
||||
if (status === "Running") {
|
||||
this.getTotalChart();
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
|
|
Loading…
Reference in New Issue