20240205
e 3 years ago
parent 14d9c72301
commit 97e1da5ddf
  1. 16
      src/components/case/index.vue
  2. 3
      src/layouts/header/index.vue

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

@ -46,8 +46,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.header{ .header{
width:100%; width:100%;
z-index: 1;
display: flex; display: flex;
align-items: center; align-items: center;
position: relative; position: relative;

Loading…
Cancel
Save