mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 16:26:43 +08:00
fix:跳转社招新员工页面
This commit is contained in:
@@ -418,20 +418,20 @@ export default {
|
|||||||
window.open(obj[val]);
|
window.open(obj[val]);
|
||||||
},
|
},
|
||||||
async handleCommand(val) {
|
async handleCommand(val) {
|
||||||
if (val === "five") {
|
|
||||||
// 从后端获取用户信息和报名状态
|
|
||||||
const res = await getWelcomeData();
|
|
||||||
if (res.status === 200 && res.data) {
|
|
||||||
if (res.data?.approvalResults && res.data?.approvalResults != 1) {
|
|
||||||
this.$router.push("/new-employee/study");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (val === "four") {
|
if (val === "four") {
|
||||||
window.open("https://m.qingxuetang.com/x/?appId=qxtcorp306130");
|
window.open("https://m.qingxuetang.com/x/?appId=qxtcorp306130");
|
||||||
// this.$emit('showClass',true)
|
// this.$emit('showClass',true)
|
||||||
} else {
|
} else {
|
||||||
|
if (val === "five") {
|
||||||
|
// 从后端获取用户信息和报名状态
|
||||||
|
const res = await getWelcomeData();
|
||||||
|
if (res.status === 200 && res.data) {
|
||||||
|
if (res.data?.approvalResults && res.data?.approvalResults != 1) {
|
||||||
|
this.$router.push("/new-employee/study");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
let urlPre = window.location.protocol + "//" + window.location.host;
|
let urlPre = window.location.protocol + "//" + window.location.host;
|
||||||
// process.env.VUE_APP_BOE_WEB_URL
|
// process.env.VUE_APP_BOE_WEB_URL
|
||||||
let obj = {
|
let obj = {
|
||||||
|
|||||||
@@ -422,19 +422,20 @@ export default {
|
|||||||
// four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
|
// four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
|
||||||
// five: process.env.VUE_APP_BOE_WEB_URL+'/boe/new-employee/index.html'
|
// five: process.env.VUE_APP_BOE_WEB_URL+'/boe/new-employee/index.html'
|
||||||
// };
|
// };
|
||||||
if (val === "five") {
|
|
||||||
// 从后端获取用户信息和报名状态
|
|
||||||
const res = await getWelcomeData();
|
|
||||||
if (res.status === 200 && res.data) {
|
|
||||||
if (res.data?.approvalResults && res.data?.approvalResults != 1) {
|
|
||||||
this.$router.push("/new-employee/study");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (val === "for") {
|
if (val === "for") {
|
||||||
this.uClassShow = true;
|
this.uClassShow = true;
|
||||||
} else {
|
} else {
|
||||||
|
if (val === "five") {
|
||||||
|
// 从后端获取用户信息和报名状态
|
||||||
|
const res = await getWelcomeData();
|
||||||
|
if (res.status === 200 && res.data) {
|
||||||
|
if (res.data?.approvalResults && res.data?.approvalResults != 1) {
|
||||||
|
this.$router.push("/new-employee/study");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
let urlPre = window.location.protocol + "//" + window.location.host;
|
let urlPre = window.location.protocol + "//" + window.location.host;
|
||||||
// process.env.VUE_APP_BOE_WEB_URL
|
// process.env.VUE_APP_BOE_WEB_URL
|
||||||
let obj = {
|
let obj = {
|
||||||
|
|||||||
Reference in New Issue
Block a user