From 930fbdf47476e1d6677a25589516a294b39c2d72 Mon Sep 17 00:00:00 2001 From: YuNan <3194726156@qq.com> Date: Sun, 16 Mar 2025 15:14:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cet/universityDashboard.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/cet/universityDashboard.vue b/src/views/cet/universityDashboard.vue index 19e6350..b84e5d3 100644 --- a/src/views/cet/universityDashboard.vue +++ b/src/views/cet/universityDashboard.vue @@ -47,7 +47,7 @@ 查询 -
+
{{ totalName }}总人数:{{ total }} 累计通过人数: {{ passNumberBottom }} 累计总通过率: {{ passRateBottom }} @@ -110,6 +110,7 @@ import * as echarts from 'echarts'; import { message } from 'ant-design-vue'; import { DownOutlined, RightOutlined } from '@ant-design/icons-vue'; + import { getThirdUserBindByWechat } from '../system/appconfig/ThirdApp.api'; export default { components: { @@ -720,6 +721,13 @@ // 使用刚指定的配置项和数据显示图表。 myChart.on('click', async (params) => { + const college = params.name.replace(/\n/g, ''); // 去掉所有换行符 + this.selectedLabel = college; + //清空数组 + this.collegeMajor = []; + this.collegeMajor[0] = college; + this.query(); + console.log('123', college); console.log( this.collegeOptions.map((item) => item.value), 'collegeOptions' @@ -809,6 +817,7 @@ }), }; }); + this.collegeMajorOptions.unshift({ value: '全校(不含艺体美外语)', label: '全校(不含艺体美外语)' }); //手动添加一个专升本字段 this.collegeMajorOptions.unshift({ value: '专升本', label: '专升本' }); // 手动添加一个全校字段