style(性能测试): 调整报告中监控图表样式

This commit is contained in:
BugKing 2021-04-27 13:54:44 +08:00 committed by 刘瑞斌
parent 28f19871e8
commit 0371dcbab5
1 changed files with 5 additions and 7 deletions

View File

@ -3,21 +3,19 @@
<el-tabs type="border-card" :stretch="true"> <el-tabs type="border-card" :stretch="true">
<el-tab-pane v-for="(item,index) in instances" :key="index" :label="item" class="logging-content"> <el-tab-pane v-for="(item,index) in instances" :key="index" :label="item" class="logging-content">
<el-row> <el-row>
<el-col :span="8"> <el-col :span="12">
<ms-chart ref="chart1" class="chart-config" :options="getCpuOption(item)" :autoresize="true"></ms-chart> <ms-chart ref="chart1" class="chart-config" :options="getCpuOption(item)" :autoresize="true"></ms-chart>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="12">
<ms-chart ref="chart2" class="chart-config" :options="getMemoryOption(item)" :autoresize="true"></ms-chart> <ms-chart ref="chart2" class="chart-config" :options="getMemoryOption(item)" :autoresize="true"></ms-chart>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="12">
<ms-chart ref="chart3" class="chart-config" :options="getDiskOption(item)" :autoresize="true"></ms-chart> <ms-chart ref="chart3" class="chart-config" :options="getDiskOption(item)" :autoresize="true"></ms-chart>
</el-col> </el-col>
</el-row> <el-col :span="12">
<el-row>
<el-col :span="8">
<ms-chart ref="chart3" class="chart-config" :options="getNetOutOption(item)" :autoresize="true"></ms-chart> <ms-chart ref="chart3" class="chart-config" :options="getNetOutOption(item)" :autoresize="true"></ms-chart>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="12">
<ms-chart ref="chart4" class="chart-config" :options="getNetInOption(item)" :autoresize="true"></ms-chart> <ms-chart ref="chart4" class="chart-config" :options="getNetInOption(item)" :autoresize="true"></ms-chart>
</el-col> </el-col>
</el-row> </el-row>