|
@@ -1,16 +1,19 @@
|
|
|
<template>
|
|
|
<div id="attendance">
|
|
|
- <attendanceInfo :classId="classId"></attendanceInfo>
|
|
|
+ <detail-frame title="考勤安排" :returns="toreturn">
|
|
|
+ <attendanceInfo :classId="classId"></attendanceInfo>
|
|
|
+ </detail-frame>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import attendanceInfo from '@frame/parts/attendance';
|
|
|
+import detailFrame from '@frame/layout/admin/detail-frame';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
export default {
|
|
|
name: 'attendance',
|
|
|
props: {},
|
|
|
- components: { attendanceInfo },
|
|
|
+ components: { attendanceInfo, detailFrame },
|
|
|
data: () => ({
|
|
|
classId: {},
|
|
|
}),
|
|
@@ -26,6 +29,9 @@ export default {
|
|
|
async initId() {
|
|
|
this.classId = this.id;
|
|
|
},
|
|
|
+ toreturn() {
|
|
|
+ window.history.go(-1);
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|