浏览代码

修改考勤

lex-xin 5 年之前
父节点
当前提交
744b079a3e

文件差异内容过多而无法显示
+ 0 - 0
dist/css/Attendance.945891a4.css


文件差异内容过多而无法显示
+ 0 - 0
dist/css/Attendance.fc77ca10.css


文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/js/Attendance.8281cd3d.js


文件差异内容过多而无法显示
+ 0 - 0
dist/js/Attendance.8c23c6f6.js


文件差异内容过多而无法显示
+ 0 - 0
dist/js/app.d2aec986.js


+ 7 - 1
src/views/teacher/Attendance.vue

@@ -82,8 +82,14 @@ export default {
         }
         }
     },
     },
     mounted() {
     mounted() {
-        this.__init()
+        let params = this.$route.query
+        if(params.Authorization) {
+            localStorage.setItem('Authorization', decodeURI(params.Authorization))
+            localStorage.setItem('userInfo', decodeURI(params.Authorization))
+        }
         window.document.title = '历史考勤统计'
         window.document.title = '历史考勤统计'
+
+        this.__init()
     },
     },
     methods: {
     methods: {
         __init() {
         __init() {

部分文件因为文件数量过多而无法显示