|
|
|
@ -459,9 +459,13 @@ export default { |
|
|
|
|
aaa = host.slice(0,host.length-6) |
|
|
|
|
if (curriculumId == 11){ |
|
|
|
|
//线上 |
|
|
|
|
// href = `http://www.huorantech.cn/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
//测试与本地 |
|
|
|
|
href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
//测试与本地 http://192.168.31.155:8093 |
|
|
|
|
// href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
if(process.env.NODE_ENV === "development") { |
|
|
|
|
href = `http://192.168.31.155:8093/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
}else { |
|
|
|
|
href = `http://www.huorantech.cn/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; |
|
|
|
|
} |
|
|
|
|