优化首页效果
This commit is contained in:
parent
02024f1e24
commit
930fbdf474
|
@ -47,7 +47,7 @@
|
|||
|
||||
<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>
|
||||
<div class="stats-container" v-if="total && total > 0">
|
||||
<div class="stats-container">
|
||||
<span style="padding-left: 240px">{{ totalName }}总人数:{{ total }}</span>
|
||||
<span>累计通过人数: {{ passNumberBottom }}</span>
|
||||
<span>累计总通过率: {{ passRateBottom }}</span>
|
||||
|
@ -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: '专升本' });
|
||||
// 手动添加一个全校字段
|
||||
|
|
Loading…
Reference in New Issue