From 767ec47cef366a5ded3010d792adec0da2b0f184 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Mon, 6 Dec 2021 10:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/station/preview/index.vue | 4 ++++ src/setting.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index c3a841d..55ba8d2 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -313,7 +313,11 @@ export default { console.log(host) // href = `${host}bank/#/`; let token = util.local.get(Setting.tokenKey); + //线上 + // href = "http://124.71.12.62/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="; } 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`); diff --git a/src/setting.js b/src/setting.js index 6f28761..ba0bfe4 100644 --- a/src/setting.js +++ b/src/setting.js @@ -31,7 +31,7 @@ if (isHh) { title = "职站"; } else if (isPro) { // 职站生产 - host = "http://www.occupationlab.com/"; + host = "http://www.occupationlab.com:9000/"; defaultSubSystem = "http://www.occupationlab.com/pyTrials/#/"; title = "职站"; } else if (isTest){ @@ -42,6 +42,7 @@ if (isHh) { title = "职站"; } else if (isDev) { // 本地 + // host = "http://www.occupationlab.com:9000/";//线上 host = "http://39.108.250.202:9000/"; // 中台测试服 // host = "http://192.168.31.137:9000/"; // 赓 // host = "http://192.168.31.151:9000/"; // 榕