|
@@ -15,6 +15,7 @@
|
|
|
filterable
|
|
|
clearable
|
|
|
placeholder="请选择分部"
|
|
|
+ @change="changeBranch"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in selects.branchs"
|
|
@@ -109,28 +110,32 @@
|
|
|
<statistic-item>
|
|
|
<span>课程考情异常剩余/总数</span>
|
|
|
<span>
|
|
|
- {{
|
|
|
- statInfo.teacherExceptionAttendanceSurplus
|
|
|
- ? statInfo.teacherExceptionAttendanceSurplus
|
|
|
- : "0"
|
|
|
- }}
|
|
|
- /
|
|
|
- {{
|
|
|
- statInfo.teacherExceptionAttendance
|
|
|
- ? statInfo.teacherExceptionAttendance
|
|
|
- : "0"
|
|
|
- }}
|
|
|
+ {{
|
|
|
+ statInfo.teacherExceptionAttendanceSurplus
|
|
|
+ ? statInfo.teacherExceptionAttendanceSurplus
|
|
|
+ : "0"
|
|
|
+ }}
|
|
|
+ /
|
|
|
+ {{
|
|
|
+ statInfo.teacherExceptionAttendance
|
|
|
+ ? statInfo.teacherExceptionAttendance
|
|
|
+ : "0"
|
|
|
+ }}
|
|
|
</span>
|
|
|
</statistic-item>
|
|
|
<statistic-item>
|
|
|
<span>课程异常剩余/总数</span>
|
|
|
- <span> {{
|
|
|
- statInfo.teacherNotAClassSurplus
|
|
|
- ? statInfo.teacherNotAClassSurplus
|
|
|
- : "0"
|
|
|
- }}
|
|
|
- /
|
|
|
- {{ statInfo.teacherNotAClass ? statInfo.teacherNotAClass : "0" }}</span>
|
|
|
+ <span>
|
|
|
+ {{
|
|
|
+ statInfo.teacherNotAClassSurplus
|
|
|
+ ? statInfo.teacherNotAClassSurplus
|
|
|
+ : "0"
|
|
|
+ }}
|
|
|
+ /
|
|
|
+ {{
|
|
|
+ statInfo.teacherNotAClass ? statInfo.teacherNotAClass : "0"
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
</statistic-item>
|
|
|
</statistic>
|
|
|
<el-table
|
|
@@ -332,6 +337,13 @@ export default {
|
|
|
this.rules.page = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
+ async changeBranch(val) {
|
|
|
+ this.searchForm.educationUserId = null;
|
|
|
+ try {
|
|
|
+ const res = await getAllEducationUsers({ organIds: val });
|
|
|
+ this.educationList = res.data;
|
|
|
+ } catch (e) {}
|
|
|
+ },
|
|
|
async getList() {
|
|
|
let { timer, ...rest } = this.searchForm;
|
|
|
let params = {
|