| | |
| | | <el-button type="primary" @click="selectStudent">查询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-button type="primary" @click="selectAllBoolean ? selectAll() : unselectAll()">{{ selectAllBoolean ? '全选' : '取消全选' }}</el-button> |
| | | <el-button type="danger" @click="selectAllBoolean ? selectAll() : unselectAll()" size="small" style="margin-bottom: 3px">{{ selectAllBoolean ? '全选' : '取消全选' }}</el-button> |
| | | <el-table ref="multipleTable" v-loading="student.listLoading" :data="tableData" border fit highlight-current-row |
| | | style="width: 100%" @selection-change="handleSelection" row-key="id"> |
| | | <el-table-column type="selection" :reserve-selection="true"></el-table-column> |
| | |
| | | }, |
| | | subjectIdList: [], |
| | | form: { |
| | | deptId: '', |
| | | aggregateSource: '100', |
| | | id: null, |
| | | departmentIds: [], |
| | |
| | | }); |
| | | }, |
| | | async mounted() { |
| | | departmentApi.getCurrentDeptId().then(res => { |
| | | if (res.response && res.response[0]) { |
| | | this.form.deptId = res.response[0]; |
| | | } |
| | | }); |
| | | |
| | | let id = this.$route.query.id; |
| | | let _this = this; |