diff --git a/src/layout/components/TopNav/Index.vue b/src/layout/components/TopNav/Index.vue index e260a65b..8d64ba88 100644 --- a/src/layout/components/TopNav/Index.vue +++ b/src/layout/components/TopNav/Index.vue @@ -156,12 +156,21 @@ export default { this.signInShow=false; }, handleCommand(val) { + // let obj = { + // one: process.env.VUE_APP_BOE_WEB_URL+'/web/teacherLesson', + // two: process.env.VUE_APP_BOE_WEB_URL+'/grow180/login', + // three: this.webBaseUrl + '/study/index', + // four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130', + // five: process.env.VUE_APP_BOE_WEB_URL+'/boe/new-employee/index.html' + // }; + let urlPre=window.location.protocol+'//'+window.location.host; + // process.env.VUE_APP_BOE_WEB_URL let obj = { - one: process.env.VUE_APP_BOE_WEB_URL+'/web/teacherLesson', - two: process.env.VUE_APP_BOE_WEB_URL+'/grow180/login', - three: this.webBaseUrl + '/study/index', + one: urlPre+'/web/teacherLesson', + two: urlPre+'/grow180/login', + three: this.webBaseUrl + '/study/index?study=1', four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130', - five: process.env.VUE_APP_BOE_WEB_URL+'/boe/new-employee/index.html' + five: urlPre+'/boe/new-employee/index.html' }; window.open(obj[val]); }, diff --git a/src/utils/caseShow.js b/src/utils/caseShow.js index 6c378221..ae1f771d 100644 --- a/src/utils/caseShow.js +++ b/src/utils/caseShow.js @@ -1,5 +1,6 @@ /**页面设置的一些常量*/ const caseUser={ + '12345601': '测试', '00004409': '李玉冰', '101215': '徐涛', '00005011': '邱炜玮',