|
|
|
@ -200,6 +200,7 @@ export default { |
|
|
|
|
systemId:null, |
|
|
|
|
assessmentId:'', |
|
|
|
|
classId:'', |
|
|
|
|
stopTime:'', |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
@ -356,6 +357,10 @@ export default { |
|
|
|
|
this.url = res.url |
|
|
|
|
this.cid = res.info.cid |
|
|
|
|
this.systemId = res.info.systemId |
|
|
|
|
var date = res.assessmentInfo.stopTime; |
|
|
|
|
date = date.substring(0,19); |
|
|
|
|
date = date.replace(/-/g,'/'); |
|
|
|
|
this.stopTime = new Date(date).getTime(); |
|
|
|
|
this.goSubSystem(); |
|
|
|
|
}).catch(res => { |
|
|
|
|
}); |
|
|
|
@ -400,7 +405,7 @@ export default { |
|
|
|
|
let href = ""; |
|
|
|
|
let aaa = '' |
|
|
|
|
aaa = host.slice(0,host.length-6) |
|
|
|
|
href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}`; |
|
|
|
|
href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
// switch (curriculumId) { |
|
|
|
|
// // case 1: |
|
|
|
|
// href = `${host}${this.url}/#/?projectId=${this.projectId}`; |
|
|
|
|