|
|
|
@ -32,11 +32,9 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<el-button |
|
|
|
|
style="backgroundColor: #202020;color: #d0d0d0;font-size:14px;" |
|
|
|
|
v-show="projectPermissions == 0" |
|
|
|
|
@click="reload" |
|
|
|
|
>重新开始</el-button> |
|
|
|
|
<el-button style="background: #202020;color: #d0d0d0;font-size:14px;" v-show="projectPermissions == 0" @click="reload" :disabled="popContainer && assessmentId"> |
|
|
|
|
重新开始 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button class="submit-btn" style="margin-right:7px" @click="Submit()" :disabled="popContainer">提交</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -263,8 +261,8 @@ export default { |
|
|
|
|
this.assessmentId = assessmentId |
|
|
|
|
this.classId = classId |
|
|
|
|
}else{ |
|
|
|
|
this.assessmentId = '' |
|
|
|
|
this.classId = '' |
|
|
|
|
// this.assessmentId = '' |
|
|
|
|
// this.classId = '' |
|
|
|
|
} |
|
|
|
|
let tokens = sessionStorage.getItem('token') |
|
|
|
|
if(tokens || token){ |
|
|
|
@ -390,10 +388,6 @@ export default { |
|
|
|
|
let stopTime = sessionStorage.getItem('timestamp') |
|
|
|
|
let timestamp = +stopTime; |
|
|
|
|
this.countVal = timestamp; |
|
|
|
|
// this.day = "00"; |
|
|
|
|
// this.seconds = "00"; |
|
|
|
|
// this.minutes = "00"; |
|
|
|
|
// this.hour = "00"; |
|
|
|
|
this.sss = 1; |
|
|
|
|
this.hintOpen = data.data.projectManage.hintOpen; |
|
|
|
|
this.countDown(timestamp); |
|
|
|
|