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