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