From 330c98c11a83a37455d238c13283ecb945fbd3bc Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Thu, 4 Nov 2021 09:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=B7=B3=E8=BD=AC=E9=93=B6?= =?UTF-8?q?=E8=A1=8C=E9=A1=B9=E7=9B=AE=E6=8B=BC=E6=8E=A5=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/station/preview/index.vue | 3 +-- src/setting.js | 4 ++-- src/store/modules/user.js | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index 5f9401b..b15f97f 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -310,8 +310,7 @@ export default { } else if (id == 11) { // href = `${host}bank/#/`; let token = util.local.get(Setting.tokenKey); - // href = "http://192.168.31.254:8093/#/counter/list/?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId; - href = "http://39.108.250.202/bank/#/counter/list/?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId; + href = "http://39.108.250.202/banksystem/#/index/list?"+'token='+token+'&cid='+this.courseId+'&systemId='+this.assessmentList[0].systemId; } 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) { diff --git a/src/setting.js b/src/setting.js index 1a575f4..ea23d99 100644 --- a/src/setting.js +++ b/src/setting.js @@ -42,9 +42,9 @@ if (isHh) { title = "职站"; } else if (isDev) { // 本地 - host = "http://39.108.250.202:9000/"; // 中台测试服 + // host = "http://39.108.250.202:9000/"; // 中台测试服 // host = "http://192.168.31.137:9000/"; // 赓 - // host = "http://192.168.31.151:9000/"; // 榕 + host = "http://192.168.31.151:9000/"; // 榕 // host = "http://192.168.31.125:9000/"; // 坤 systemPath = "http://192.168.31.154/"; defaultSubSystem = "http://39.108.250.202/pyTrials/#/"; diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 1e2bd5a..33d6157 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -51,10 +51,8 @@ export default { login({ state, commit }, userInfo) { return new Promise((resolve, reject) => { post(api.logins, userInfo).then(res => { - if (res.status == 200) { let { data } = res; - console.log(data); // 生成路由权限 // 每个系统都是用这套角色权限代码的,后端也是基本一样,除了个别字段可能会不一样 // 总体来说就两个步骤: 1是生成能够访问的路由的数组集合,2是生成能看到的按钮的数组集合