环节统计报表查询
diff --git a/leave-school-vue/src/views/statistical/handling/index.vue b/leave-school-vue/src/views/statistical/handling/index.vue
index a3ff438..bcd7d34 100644
--- a/leave-school-vue/src/views/statistical/handling/index.vue
+++ b/leave-school-vue/src/views/statistical/handling/index.vue
@@ -35,7 +35,7 @@
</el-select>
</el-col>
<el-col :span="4">
- <el-select clearable class="filter-item" v-model="listQuery.zy" placeholder="专业">
+ <el-select clearable @change="initBjList" class="filter-item" v-model="listQuery.zy" placeholder="专业">
<el-option v-for="item in zyList" :key="item.id" :label="item.zymc" :value="item.id">
</el-option>
</el-select>
@@ -47,7 +47,7 @@
</el-select>
</el-col>
<el-col :span="4">
- <el-select clearable @change="initZyList" class="filter-item" v-model="listQuery.nj" placeholder="学生类别">
+ <el-select clearable @change="initZyList" class="filter-item" v-model="listQuery.xslb" placeholder="学生类别">
<el-option v-for="item in xslbList" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
@@ -66,7 +66,7 @@
</el-table-column>
<el-table-column label="姓名" align="center">
<template slot-scope="scope">
- <a href="#" @click="showTrace(scope.row)">{{scope.row.xm}}</a>
+ <a href="javascript:void(0);" @click="showTrace(scope.row)">{{scope.row.xm}}</a>
</template>
</el-table-column>
<el-table-column label="院系" align="center">
@@ -186,7 +186,7 @@
</template>
<script>
-import { getAllList as getClassList } from '@/api/class-api'
+import { getBjListByZy } from '@/api/class-api'
import { getList } from '@/api/handling-api'
import { getDicList } from '@/api/dictionary-api'
import { getAllList as getAllDeptList } from '@/api/department-api'
@@ -254,7 +254,7 @@
})
},
initBjList() {
- getClassList().then(response => {
+ getBjListByZy({ zy: this.listQuery.zy }).then(response => {
this.bjList = response.items
})
},
@@ -304,7 +304,7 @@
}
</script>
<style scoped>
-.app-container a:visited {
+.app-container a {
color: #00a4f4;
text-decoration: none;
}