修改测试报告下的测试概览内容

This commit is contained in:
shiziyuan9527 2020-03-10 17:13:13 +08:00
parent 468491bffe
commit 79a39e5773

View File

@ -74,32 +74,76 @@
data() { data() {
return { return {
option1: { option1: {
legend: {
top: 20,
data: ['Users', 'Hits/s', 'Error(s)']
},
xAxis: { xAxis: {
type: 'category', type: 'category',
boundaryGap: false, data: ['12:40', '12:50', '13:00', '13:10', '13:20', '13:30', '13:40']
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
}, },
yAxis: { yAxis: [{
type: 'value' name: 'User',
type: 'value',
}, },
series: [{ {
data: [820, 932, 901, 934, 1290, 1330, 1320], name: 'Hits/s',
type: 'line', type: 'value'
areaStyle: {} }
}] ],
series: [
{
name: 'Users',
color: '#0CA74A',
data: [20, 40, 40, 40, 40, 40, 40],
type: 'line',
},
{
name: 'Hits/s',
color: '#65A2FF',
data: [15, 38, 35, 39, 36, 37, 5],
type: 'line',
},
{
name: 'Error(s)',
color: '#E6113C',
data: [0, 0, 0, 0, 0, 0, 0],
type: 'line',
}
]
}, },
option2: { option2: {
legend: {
top: 20,
data: ['Users', 'Response Time']
},
xAxis: { xAxis: {
type: 'category', type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] data: ['12:40', '12:50', '13:00', '13:10', '13:20', '13:30', '13:40']
}, },
yAxis: { yAxis: [{
type: 'value' name: 'User',
}, type: 'value',
series: [{ },
data: [820, 932, 901, 934, 1290, 1330, 1320], {
type: 'line' name: 'Response Time',
}] type: 'value'
}
],
series: [
{
name: 'Users',
color: '#0CA74A',
data: [20, 40, 40, 40, 40, 40, 40],
type: 'line',
},
{
name: 'Response Time',
color: '#99743C',
data: [15, 38, 35, 39, 36, 37, 5],
type: 'line',
}
]
} }
} }
} }
@ -147,20 +191,20 @@
} }
.ms-card-index-3 .ms-card-data-digital { .ms-card-index-3 .ms-card-data-digital {
color: #FFC265; color: #E6113C;
} }
.ms-card-index-3 { .ms-card-index-3 {
border-left-color: #FFC265; border-left-color: #E6113C;
border-left-width: 3px; border-left-width: 3px;
} }
.ms-card-index-4 .ms-card-data-digital { .ms-card-index-4 .ms-card-data-digital {
color: #C265FF; color: #99743C;
} }
.ms-card-index-4 { .ms-card-index-4 {
border-left-color: #C265FF; border-left-color: #99743C;
border-left-width: 3px; border-left-width: 3px;
} }