|
|
@ -198,6 +198,8 @@ export default { |
|
|
|
url:'', |
|
|
|
url:'', |
|
|
|
cid:null, |
|
|
|
cid:null, |
|
|
|
systemId:null, |
|
|
|
systemId:null, |
|
|
|
|
|
|
|
assessmentId:'', |
|
|
|
|
|
|
|
classId:'', |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
@ -339,6 +341,8 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
entry(row) { // 进入考核 |
|
|
|
entry(row) { // 进入考核 |
|
|
|
this.item = row |
|
|
|
this.item = row |
|
|
|
|
|
|
|
this.assessmentId =this.item.assessmentId |
|
|
|
|
|
|
|
this.classId = this.item.classId |
|
|
|
if (row.status == 0) { |
|
|
|
if (row.status == 0) { |
|
|
|
return util.warningMsg("该实验尚未开始"); |
|
|
|
return util.warningMsg("该实验尚未开始"); |
|
|
|
} else if (row.status == 2) { |
|
|
|
} else if (row.status == 2) { |
|
|
@ -394,8 +398,9 @@ export default { |
|
|
|
let curriculumId = this.curRow.curriculumId; |
|
|
|
let curriculumId = this.curRow.curriculumId; |
|
|
|
let token = util.local.get(Setting.tokenKey); |
|
|
|
let token = util.local.get(Setting.tokenKey); |
|
|
|
let href = ""; |
|
|
|
let href = ""; |
|
|
|
href = `${host}${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}`; |
|
|
|
let aaa = '' |
|
|
|
console.log(href) |
|
|
|
aaa = host.slice(0,host.length-6) |
|
|
|
|
|
|
|
href = `${aaa}/${this.url}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}`; |
|
|
|
// switch (curriculumId) { |
|
|
|
// switch (curriculumId) { |
|
|
|
// // case 1: |
|
|
|
// // case 1: |
|
|
|
// href = `${host}${this.url}/#/?projectId=${this.projectId}`; |
|
|
|
// href = `${host}${this.url}/#/?projectId=${this.projectId}`; |
|
|
|