部分bug修改
This commit is contained in:
parent
b9d306edc5
commit
d81438ddba
|
@ -151,8 +151,7 @@ export default {
|
|||
}),
|
||||
};
|
||||
});
|
||||
this.collegeMajor = this.collegeMajorOptions[0].value;
|
||||
console.log(this.collegeMajorOptions);
|
||||
this.collegeMajor = ['东语学院', '日语'];
|
||||
},
|
||||
// 查询数据
|
||||
async query() {
|
||||
|
@ -162,7 +161,7 @@ export default {
|
|||
|
||||
//如果this.collegeMajor为null则先赋个值
|
||||
if (!this.collegeMajor) {
|
||||
this.collegeMajor = ['东语学院'];
|
||||
this.collegeMajor = ['东语学院', '日语'];
|
||||
}
|
||||
let major = null;
|
||||
let college = null;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<template #extra>
|
||||
<a-select v-model:value="collegeMajor" style="width: 300px" :options="collegeMajorOptions"></a-select>
|
||||
<a-select v-model:value="batch" :options="batchOptions" change-on-select
|
||||
style="margin-left: 10px;width: 100px" />
|
||||
style="margin-left: 10px;width: 120px" />
|
||||
<a-button style="margin-left: 10px;" type="primary" @click="query">查询</a-button>
|
||||
</template>
|
||||
<div>
|
||||
|
@ -88,6 +88,14 @@ export default {
|
|||
+ '</table>';
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
show: true,
|
||||
feature: {
|
||||
magicType: { show: true, type: ['line', 'bar'] },
|
||||
restore: { show: true },
|
||||
saveAsImage: { show: true },
|
||||
},
|
||||
},
|
||||
//网格
|
||||
grid: {
|
||||
left: '3%',
|
||||
|
|
Loading…
Reference in New Issue