|
|
@ -191,13 +191,14 @@ export default { |
|
|
|
sessionStorage.setItem('assessmentId', assessmentId) |
|
|
|
sessionStorage.setItem('assessmentId', assessmentId) |
|
|
|
sessionStorage.setItem('token', token) |
|
|
|
sessionStorage.setItem('token', token) |
|
|
|
if(process.env.NODE_ENV === "development") { |
|
|
|
if(process.env.NODE_ENV === "development") { |
|
|
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
}else { |
|
|
|
this.intervalJudge = setInterval(() => { |
|
|
|
this.intervalJudge = setInterval(() => { |
|
|
|
const data = { |
|
|
|
const data = { |
|
|
|
id: parseInt(sessionStorage.getItem('assessmentId')), |
|
|
|
id: parseInt(sessionStorage.getItem('assessmentId')), |
|
|
|
token: parseInt(sessionStorage.getItem('token')) |
|
|
|
token: parseInt(sessionStorage.getItem('token')) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.getData() |
|
|
|
checkTest(data).then(data => { |
|
|
|
checkTest(data).then(data => { |
|
|
|
const { data: { data: { status } } } = data |
|
|
|
const { data: { data: { status } } } = data |
|
|
|
if(status !== 1) { |
|
|
|
if(status !== 1) { |
|
|
@ -211,7 +212,7 @@ export default { |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, 3000) |
|
|
|
}, 4000) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
@ -323,7 +324,10 @@ export default { |
|
|
|
"permissions":0, |
|
|
|
"permissions":0, |
|
|
|
} |
|
|
|
} |
|
|
|
getProjectBySystemId(params).then((data)=>{ |
|
|
|
getProjectBySystemId(params).then((data)=>{ |
|
|
|
|
|
|
|
console.log('---topicList') |
|
|
|
|
|
|
|
console.log(data) |
|
|
|
if(data.status == 200){ |
|
|
|
if(data.status == 200){ |
|
|
|
|
|
|
|
console.log(data.data.projects) |
|
|
|
//获取当前时间 |
|
|
|
//获取当前时间 |
|
|
|
this.getBeginTime() |
|
|
|
this.getBeginTime() |
|
|
|
this.topicList = [] |
|
|
|
this.topicList = [] |
|
|
|