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: '专升本' }); // 手动添加一个全校字段