diff --git a/src/views/dashboard/screen/iso/MeetingInformationChart.vue b/src/views/dashboard/screen/iso/MeetingInformationChart.vue index 25e55d7..d412e3f 100644 --- a/src/views/dashboard/screen/iso/MeetingInformationChart.vue +++ b/src/views/dashboard/screen/iso/MeetingInformationChart.vue @@ -274,6 +274,42 @@ export default { xAxis: { data: xData }, + yAxis: [ + { + axisLine: { + show: true, + lineStyle: { + color: '#F2F2F2' + } + }, + axisLabel: { + show: true, + color: '#8E8E95' + }, + splitLine: { + lineStyle: { + color: '#F2F2F2', + type: 'solid' + } + }, + type: 'value', + nameTextStyle: { + color: '#20203D' + } + }, + { + type: 'value', + min: 0, + max: 100, + axisLabel: { + show: false, + formatter: '{value} %', + }, + splitLine: { + show: false + } + } + ], series: [ { name:'计划数量', diff --git a/src/views/dashboard/screen/wp29/ExpertQuantityChart.vue b/src/views/dashboard/screen/wp29/ExpertQuantityChart.vue index 8a44337..5ce1b8f 100644 --- a/src/views/dashboard/screen/wp29/ExpertQuantityChart.vue +++ b/src/views/dashboard/screen/wp29/ExpertQuantityChart.vue @@ -32,9 +32,9 @@ export default { if(res.success) { let result = res.result || { } // TODO 客户要求先写死 - result.count = [14, 20, 15, 11, 10, 12] - result.departName = ['GRBP', 'GRVA', 'GRSP', 'GRSG', 'GRE', 'GRPE'] - result.departNameCn = ['噪声与轮胎工作组', '自动驾驶与网联车辆工作组', '被动安全工作组', '一般安全工作组', '灯光与光信号工作组', '污染与能源工作组'] + result.count = [ 20, 14, 15, 11, 10, 12] + result.departName = ['GRVA', 'GRBP', 'GRSP', 'GRSG', 'GRE', 'GRPE'] + result.departNameCn = ['自动驾驶与网联车辆工作组', '噪声与轮胎工作组', '被动安全工作组', '一般安全工作组', '灯光与光信号工作组', '污染与能源工作组'] result.total = result.count.reduce((pre, val) => pre = pre + val) this.totalAll = result.total this.$nextTick(() => { diff --git a/src/views/dashboard/screen/wp29/MeetingInformationChart.vue b/src/views/dashboard/screen/wp29/MeetingInformationChart.vue index cb02dc3..dc02a3a 100644 --- a/src/views/dashboard/screen/wp29/MeetingInformationChart.vue +++ b/src/views/dashboard/screen/wp29/MeetingInformationChart.vue @@ -335,6 +335,42 @@ export default { }, data: xData }, + yAxis: [ + { + axisLine: { + show: true, + lineStyle: { + color: '#F2F2F2' + } + }, + axisLabel: { + show: true, + color: '#8E8E95' + }, + splitLine: { + lineStyle: { + color: '#F2F2F2', + type: 'solid' + } + }, + type: 'value', + nameTextStyle: { + color: '#20203D' + } + }, + { + type: 'value', + min: 0, + max: 100, + axisLabel: { + show: false, + formatter: '{value} %', + }, + splitLine: { + show: false + } + } + ], series: [ { name:'计划数量', @@ -350,6 +386,8 @@ export default { type: 'line', showSymbol: false, symbol: 'emptyCircle', + min: 0, + max: 100, // symbol: 'path://M 30 10 A 20 20 0 1 0 30 50 A 20 20 0 1 0 30 10 Z M 30 15 A 15 15 0 1 1 30 45 A 15 15 0 1 1 30 15 Z', areaStyle: { opacity: 0.8,