diff --git a/src/views/index.vue b/src/views/index.vue index f88b727..51783ed 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -173,6 +173,7 @@ let bar_option = ref({ itemStyle: { color: '#91cc75' }, + barWidth:'30%', data: [0] }, { @@ -186,6 +187,7 @@ let bar_option = ref({ itemStyle: { color: '#c81623' }, + barWidth:'30%', data: [0], label: { show: true, diff --git a/src/views/quality/index.vue b/src/views/quality/index.vue index 78856bd..8c549fc 100644 --- a/src/views/quality/index.vue +++ b/src/views/quality/index.vue @@ -51,12 +51,12 @@ + :formatter="(val) => { return (totalQuality == 0 ? '0' : (((val / totalQuality) * 100).toFixed(1) || 0)) + '%' }" /> + :formatter="(val) => { return (totalQuality == 0 ? '0' : (((val / totalQuality) * 100).toFixed(1) || 0)) + '%' }" /> @@ -94,11 +94,15 @@ - - {{tLang('common','合格')}} - {{tLang('common','不合格')}} - {{tLang('common','未完成')}} - + + + {{ tLang('common', '合格') }} + {{ tLang('common', '不合格') }} + {{ tLang('common', '未完成') }} + +