diff --git a/src/pages/ass/list/index.vue b/src/pages/ass/list/index.vue index 3a8e581..8fa6d94 100644 --- a/src/pages/ass/list/index.vue +++ b/src/pages/ass/list/index.vue @@ -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}`; diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index 871b0a4..7551ce2 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -310,6 +310,7 @@ export default { } else if (id == 10) { href = `${host}pyAcquisition/#/`; } else if (id == 11) { + console.log(host) // href = `${host}bank/#/`; let token = util.local.get(Setting.tokenKey); href = "http://39.108.250.202/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId;