From a7be2f73b8cf6181a78de67e650a29659dcc86fe Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Mon, 29 Nov 2021 15:40:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E8=80=83=E6=A0=B8=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E9=93=B6=E8=A1=8C=E5=8A=A0=E4=B8=8A=E7=BB=93=E6=9D=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ass/list/index.vue | 7 ++++++- src/pages/station/preview/index.vue | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) 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;