|
@@ -55,7 +55,7 @@
|
|
|
start-placeholder="开始日期"
|
|
|
end-placeholder="结束日期"
|
|
|
:picker-options="{
|
|
|
- firstDayOfWeek: 1,
|
|
|
+ firstDayOfWeek: 1
|
|
|
}"
|
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -99,7 +99,7 @@
|
|
|
>
|
|
|
</statistic-item>
|
|
|
<statistic-item>
|
|
|
- <span>课程考情异常剩余/总数</span>
|
|
|
+ <span>课程考勤异常剩余/总数</span>
|
|
|
<span>
|
|
|
{{
|
|
|
statInfo.teacherExceptionAttendanceSurplus
|
|
@@ -267,7 +267,7 @@ import pagination from "@/components/Pagination/index";
|
|
|
import {
|
|
|
getIndexErrData,
|
|
|
getErrDataSummarizing,
|
|
|
- getAllEducationUsers,
|
|
|
+ getAllEducationUsers
|
|
|
} from "../api";
|
|
|
import dayjs from "dayjs";
|
|
|
import { getTimes } from "@/utils";
|
|
@@ -281,7 +281,7 @@ export default {
|
|
|
searchForm: {
|
|
|
organIds: "",
|
|
|
timer: [],
|
|
|
- educationUserId: "",
|
|
|
+ educationUserId: ""
|
|
|
},
|
|
|
tableList: [],
|
|
|
handleVisible: false,
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
limit: 10, // 限制显示条数
|
|
|
page: 1, // 当前页
|
|
|
total: 0, // 总条数
|
|
|
- page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
+ page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
|
},
|
|
|
statInfo: {
|
|
|
inspectionItemPlan: 0,
|
|
@@ -302,9 +302,9 @@ export default {
|
|
|
teacherNotAClass: 0,
|
|
|
teacherNotAClassSurplus: 0,
|
|
|
studentVisit: 0,
|
|
|
- studentVisitSurplus: 0,
|
|
|
+ studentVisitSurplus: 0
|
|
|
},
|
|
|
- educationList: [],
|
|
|
+ educationList: []
|
|
|
};
|
|
|
},
|
|
|
async mounted() {
|
|
@@ -342,7 +342,7 @@ export default {
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit,
|
|
|
...getTimes(timer, ["startDate", "endDate"]),
|
|
|
- searchType: this.searchType,
|
|
|
+ searchType: this.searchType
|
|
|
};
|
|
|
try {
|
|
|
const res = await getIndexErrData(params);
|
|
@@ -375,14 +375,18 @@ export default {
|
|
|
// }
|
|
|
// },
|
|
|
gotoHander(row) {
|
|
|
- let startTime = dayjs(row.month).startOf("month").format("YYYY-MM-DD");
|
|
|
- let endTime = dayjs(row.month).endOf("month").format("YYYY-MM-DD");
|
|
|
+ let startTime = dayjs(row.month)
|
|
|
+ .startOf("month")
|
|
|
+ .format("YYYY-MM-DD");
|
|
|
+ let endTime = dayjs(row.month)
|
|
|
+ .endOf("month")
|
|
|
+ .format("YYYY-MM-DD");
|
|
|
if (row.item == "VISIT") {
|
|
|
// 学员回访
|
|
|
// 跳到回访页面 搜索条件 教务老师 时间范围
|
|
|
this.$router.push({
|
|
|
path: "/studentManager/returnVisitList",
|
|
|
- query: { teacher: row.userName, timer: [startTime, endTime] },
|
|
|
+ query: { teacher: row.userName, timer: [startTime, endTime] }
|
|
|
});
|
|
|
} else {
|
|
|
// 下校巡查
|
|
@@ -395,8 +399,8 @@ export default {
|
|
|
name: row.userName,
|
|
|
organId: row.organId,
|
|
|
itemId: row.id,
|
|
|
- times: row.times,
|
|
|
- },
|
|
|
+ times: row.times
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
},
|
|
@@ -407,7 +411,7 @@ export default {
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit,
|
|
|
...getTimes(timer, ["startDate", "endDate"]),
|
|
|
- searchType: this.searchType,
|
|
|
+ searchType: this.searchType
|
|
|
};
|
|
|
Export(
|
|
|
this,
|
|
@@ -415,13 +419,12 @@ export default {
|
|
|
url: "/api-web/export/exportIndexHistoryErrData",
|
|
|
fileName: "首页历史异常统计.xls",
|
|
|
method: "post",
|
|
|
- params: qs.stringify({ ...params }),
|
|
|
+ params: qs.stringify({ ...params })
|
|
|
},
|
|
|
"您确定导出首页历史异常统计?"
|
|
|
);
|
|
|
- },
|
|
|
- },
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang="scss" scoped>
|
|
|
-</style>
|
|
|
+<style lang="scss" scoped></style>
|