refactor(性能测试): 图表 tooltip 显示控制
This commit is contained in:
parent
222b957ea2
commit
fd532cc0d6
|
@ -15,6 +15,7 @@
|
||||||
v-for="name in checkOptions['ActiveThreadsChart']"
|
v-for="name in checkOptions['ActiveThreadsChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
v-for="name in checkOptions['TransactionsChart']"
|
v-for="name in checkOptions['TransactionsChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -37,6 +39,7 @@
|
||||||
v-for="name in checkOptions['ResponseTimeChart']"
|
v-for="name in checkOptions['ResponseTimeChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -49,6 +52,7 @@
|
||||||
v-for="name in checkOptions['ResponseTimePercentilesChart']"
|
v-for="name in checkOptions['ResponseTimePercentilesChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -60,6 +64,7 @@
|
||||||
v-for="name in checkOptions['ResponseCodeChart']"
|
v-for="name in checkOptions['ResponseCodeChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -71,6 +76,7 @@
|
||||||
v-for="name in checkOptions['LatencyChart']"
|
v-for="name in checkOptions['LatencyChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -83,6 +89,7 @@
|
||||||
v-for="name in checkOptions['BytesThroughputChart']"
|
v-for="name in checkOptions['BytesThroughputChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -94,6 +101,7 @@
|
||||||
v-for="name in checkOptions['ErrorsChart']"
|
v-for="name in checkOptions['ErrorsChart']"
|
||||||
:key="name"
|
:key="name"
|
||||||
:content="name"
|
:content="name"
|
||||||
|
:disabled="name.length < minLength"
|
||||||
placement="top">
|
placement="top">
|
||||||
<el-checkbox :label="name"/>
|
<el-checkbox :label="name"/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -130,6 +138,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeNames: 'users',
|
activeNames: 'users',
|
||||||
|
minLength: 35,
|
||||||
loadOption: {},
|
loadOption: {},
|
||||||
resOption: {},
|
resOption: {},
|
||||||
totalOption: {},
|
totalOption: {},
|
||||||
|
|
Loading…
Reference in New Issue