fix(测试跟踪): 首页柱状图宽度不一致
This commit is contained in:
parent
997ab48b8a
commit
b5ce86fe05
|
@ -139,19 +139,21 @@ export default {
|
||||||
orient: 'vertical',
|
orient: 'vertical',
|
||||||
right: '80',
|
right: '80',
|
||||||
},
|
},
|
||||||
series: [{
|
series: [
|
||||||
name: this.$t('test_track.home.function_case_count'),
|
{
|
||||||
data: yAxis1,
|
name: this.$t('test_track.home.function_case_count'),
|
||||||
type: 'bar',
|
data: yAxis1,
|
||||||
barWidth: 50,
|
type: 'bar',
|
||||||
itemStyle: {
|
barWidth: 50,
|
||||||
color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER
|
itemStyle: {
|
||||||
}
|
color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER
|
||||||
},
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: this.$t('test_track.home.relevance_case_count'),
|
name: this.$t('test_track.home.relevance_case_count'),
|
||||||
data: yAxis2,
|
data: yAxis2,
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
|
barWidth: 50,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER_SHALLOW
|
color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER_SHALLOW
|
||||||
}
|
}
|
||||||
|
@ -165,9 +167,9 @@ export default {
|
||||||
switch (page) {
|
switch (page) {
|
||||||
case "case":
|
case "case":
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name:'testCase',
|
name: 'testCase',
|
||||||
params:{
|
params: {
|
||||||
dataType:dataType,dataSelectRange:selectType, projectId: this.projectId
|
dataType: dataType, dataSelectRange: selectType, projectId: this.projectId
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue