|
|
|
@ -245,7 +245,6 @@ export default { |
|
|
|
|
let stopTime = this.getQueryVariable('stopTime') |
|
|
|
|
let timestamp = +stopTime; |
|
|
|
|
if (timestamp != null){ |
|
|
|
|
sessionStorage.setItem('timestamp', timestamp) |
|
|
|
|
}else{ |
|
|
|
|
sessionStorage.setItem('timestamp', null) |
|
|
|
|
} |
|
|
|
@ -253,16 +252,12 @@ export default { |
|
|
|
|
sessionStorage.setItem('token', token) |
|
|
|
|
sessionStorage.setItem('cid', cid) |
|
|
|
|
sessionStorage.setItem('systemId', systemId) |
|
|
|
|
} |
|
|
|
|
if (projectId){ |
|
|
|
|
sessionStorage.setItem('timestamp', timestamp) |
|
|
|
|
sessionStorage.setItem('projectId', projectId) |
|
|
|
|
sessionStorage.setItem('assessmentId', assessmentId) |
|
|
|
|
sessionStorage.setItem('classId', classId) |
|
|
|
|
this.assessmentId = assessmentId |
|
|
|
|
this.classId = classId |
|
|
|
|
}else{ |
|
|
|
|
// this.assessmentId = '' |
|
|
|
|
// this.classId = '' |
|
|
|
|
} |
|
|
|
|
let tokens = sessionStorage.getItem('token') |
|
|
|
|
if(tokens || token){ |
|
|
|
|