提交跳转银行项目拼接参数

UI_2022-02-10
e 3 years ago
parent e3bd2f3e6b
commit 330c98c11a
  1. 3
      src/pages/station/preview/index.vue
  2. 4
      src/setting.js
  3. 2
      src/store/modules/user.js

@ -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) {

@ -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/#/";

@ -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是生成能看到的按钮的数组集合

Loading…
Cancel
Save