|
|
|
@ -829,7 +829,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
...mapState("user", [ |
|
|
|
|
"userId", 'logView' |
|
|
|
|
"userId", 'account', 'logView' |
|
|
|
|
]), |
|
|
|
|
}, |
|
|
|
|
components: { |
|
|
|
@ -1695,7 +1695,7 @@ export default { |
|
|
|
|
// 进入子系统 |
|
|
|
|
toSub () { |
|
|
|
|
const { form } = this |
|
|
|
|
const { systemId, projectId, cid, stageId, startTime, endTime, mallId } = this.curStage |
|
|
|
|
const { systemId, systemName, projectId, cid, stageId, startTime, endTime, mallId } = this.curStage |
|
|
|
|
const competitionId = form.id |
|
|
|
|
const teamId = form.competitionRegistration.teamId |
|
|
|
|
let token = Util.local.get(Setting.tokenKey); |
|
|
|
@ -1705,6 +1705,9 @@ export default { |
|
|
|
|
} else if (systemId == 12) { |
|
|
|
|
// 众筹系统 |
|
|
|
|
window.open(`http://${Setting.zcPath}?systemId=${systemId}&courseId=${cid}&projectId=${projectId}&token=${token}&userId=${this.userId}&classId=1&competitionId=${competitionId}&stageId=${stageId}&teamId=${teamId}&startTime=${startTime}&endTime=${endTime}&mallId=${mallId}${Setting.isTest ? '&beta=1' : ''}`); |
|
|
|
|
} else if (systemId == 19) { |
|
|
|
|
// 沙盘 |
|
|
|
|
location.href = `${Setting.sandPath}/#/?curriculumName=${systemName}&token=${token}&cid=${cid}&mallId=${mallId}&systemId=${systemId}&projectId=${projectId}&assessmentId=&classId=&startTime=&stopTime=${endTime}&competitionId=${competitionId}&stageId=${stageId}&teamId=${teamId}&userId=${this.userId}&account=${this.account}&referrer=${encodeURIComponent(location.href)}` |
|
|
|
|
} else { |
|
|
|
|
// python系统 |
|
|
|
|
this.toPython(this.curProject) |
|
|
|
|