From 5b58beef5af0bfe61fd277779052edbb71d9200c Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 8 Dec 2021 16:54:24 +0800 Subject: [PATCH] test_update --- src/pages/ass/list/index.vue | 10 +++++++--- src/pages/record/show/index.vue | 10 ++++++++-- src/pages/station/preview/index.vue | 10 +++++++--- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/src/pages/ass/list/index.vue b/src/pages/ass/list/index.vue index 06f3653..baa526f 100644 --- a/src/pages/ass/list/index.vue +++ b/src/pages/ass/list/index.vue @@ -459,9 +459,13 @@ export default { aaa = host.slice(0,host.length-6) if (curriculumId == 11){ //线上 - // href = `http://www.huorantech.cn/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; - //测试与本地 - 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}`; + //测试与本地 http://192.168.31.155:8093 + // 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}`; + if(process.env.NODE_ENV === "development") { + href = `http://192.168.31.155:8093/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; + }else { + href = `http://www.huorantech.cn/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; + } }else{ 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}`; } diff --git a/src/pages/record/show/index.vue b/src/pages/record/show/index.vue index 18fec63..24a3a36 100644 --- a/src/pages/record/show/index.vue +++ b/src/pages/record/show/index.vue @@ -57,7 +57,7 @@

实验项目名称

- +
@@ -232,6 +232,7 @@ export default { \ No newline at end of file diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index 887ca26..e3dac80 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -316,9 +316,13 @@ export default { //线上 // href = "http://www.huorantech.cn/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId+"&projectId=&assessmentId=&classId=&stopTime="; //测试 - href = "http://39.108.250.202/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId+"&projectId=&assessmentId=&classId=&stopTime="; - //本地 - // href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId+"&projectId=&assessmentId=&classId=&stopTime="; + + //本地 http://192.168.31.155:8093/#/index/list + if(process.env.NODE_ENV === 'development'){ + href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId+"&projectId=&assessmentId=&classId=&stopTime=&test=true"; + }else { + href = "http://39.108.250.202/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId+"&projectId=&assessmentId=&classId=&stopTime="; + } } else if (id == 21) { window.open(`http://121.37.29.24:80/yyyflogin?userId=${this.userId}&userName=${userName}&userType=${roleId}&reqType=1&reqId=3989a0ad671849b99dcbdcc208782333&caseId=9681f86902314b10bc752909121f9ab9&authorization=87DIVy348Oxzj3ha&classId=1876&courserId=7ff5d4715b114b7398b6f26c20fac460`); } else if (id == 22) {