优化首页效果

This commit is contained in:
YuNan 2025-03-16 15:14:46 +08:00
parent 02024f1e24
commit 930fbdf474
1 changed files with 10 additions and 1 deletions

View File

@ -47,7 +47,7 @@
<a-select v-model:value="entrydate" style="margin-left: 10px; width: 100px" :options="entrydateOptions" /> <a-select v-model:value="entrydate" style="margin-left: 10px; width: 100px" :options="entrydateOptions" />
<a-button style="margin-left: 10px" type="primary" @click="query">查询</a-button> <a-button style="margin-left: 10px" type="primary" @click="query">查询</a-button>
<div class="stats-container" v-if="total && total > 0"> <div class="stats-container">
<span style="padding-left: 240px">{{ totalName }}总人数{{ total }}</span> <span style="padding-left: 240px">{{ totalName }}总人数{{ total }}</span>
<span>累计通过人数: {{ passNumberBottom }}</span> <span>累计通过人数: {{ passNumberBottom }}</span>
<span>累计总通过率: {{ passRateBottom }}</span> <span>累计总通过率: {{ passRateBottom }}</span>
@ -110,6 +110,7 @@
import * as echarts from 'echarts'; import * as echarts from 'echarts';
import { message } from 'ant-design-vue'; import { message } from 'ant-design-vue';
import { DownOutlined, RightOutlined } from '@ant-design/icons-vue'; import { DownOutlined, RightOutlined } from '@ant-design/icons-vue';
import { getThirdUserBindByWechat } from '../system/appconfig/ThirdApp.api';
export default { export default {
components: { components: {
@ -720,6 +721,13 @@
// 使 // 使
myChart.on('click', async (params) => { 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( console.log(
this.collegeOptions.map((item) => item.value), this.collegeOptions.map((item) => item.value),
'collegeOptions' 'collegeOptions'
@ -809,6 +817,7 @@
}), }),
}; };
}); });
this.collegeMajorOptions.unshift({ value: '全校(不含艺体美外语)', label: '全校(不含艺体美外语)' });
// //
this.collegeMajorOptions.unshift({ value: '专升本', label: '专升本' }); this.collegeMajorOptions.unshift({ value: '专升本', label: '专升本' });
// //