|
|
|
@ -50,7 +50,14 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<el-input size="small" placeholder="请输入学校/学生姓名" prefix-icon="el-icon-search" v-model="keyword" clearable |
|
|
|
|
<label>学校</label> |
|
|
|
|
<el-select v-model="filter.realSchoolId" clearable filterable placeholder="请选择学校" @change="initData"> |
|
|
|
|
<el-option v-for="(item, i) in schools" :key="i" :label="item.schoolName" |
|
|
|
|
:value="item.schoolId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<el-input size="small" placeholder="请输入学生姓名" prefix-icon="el-icon-search" v-model="keyword" clearable |
|
|
|
|
style="width: 300px"></el-input> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
@ -213,6 +220,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
provinces: [], |
|
|
|
|
cities: [], |
|
|
|
|
schools: [], |
|
|
|
|
keyword: this.$route.query.keyword || '', |
|
|
|
|
searchTimer: null, |
|
|
|
|
list: [], |
|
|
|
@ -261,6 +269,7 @@ export default { |
|
|
|
|
mounted () { |
|
|
|
|
this.getData() |
|
|
|
|
this.getProvince() |
|
|
|
|
this.getSchool() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
async getData () { |
|
|
|
@ -343,6 +352,11 @@ export default { |
|
|
|
|
this.cities = list |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 获取学校 |
|
|
|
|
async getSchool () { |
|
|
|
|
const { list } = await this.$get(this.api.querySchoolData) |
|
|
|
|
this.schools = list |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 查看成绩报告 |
|
|
|
|
show (row) { |
|
|
|
|