dev_2022-04-07 V2.1.1
yujialong 3 years ago
parent 1ba8bfdb98
commit 34fa042e63
  1. 22
      src/components/TestPanel.vue
  2. 9
      src/styles/common.scss
  3. 2
      src/views/Data.vue

@ -45,7 +45,7 @@
<el-container> <el-container>
<el-aside width="30%"> <el-aside width="30%">
<div class="aside-header"> <div class="aside-header">
<div class="p-title color"> <div :class="['p-title color', 'system' + systemId]">
<i class="el-icon-s-order"></i> <i class="el-icon-s-order"></i>
<p>实验目标</p> <p>实验目标</p>
</div> </div>
@ -54,7 +54,7 @@
</div> </div>
</div> </div>
<div class="aside-footer"> <div class="aside-footer">
<div class="p-title color"> <div :class="['p-title color', 'system' + systemId]">
<i class="el-icon-s-management"></i> <i class="el-icon-s-management"></i>
<p>实验任务</p> <p>实验任务</p>
</div> </div>
@ -62,7 +62,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-card shadow="hover"> <el-card shadow="hover">
<el-table :data="taskList" :stripe="true" height="405"> <el-table :data="taskList" :stripe="true">
<el-table-column type="index"></el-table-column> <el-table-column type="index"></el-table-column>
<el-table-column prop="name" label="判分点" align="center"></el-table-column> <el-table-column prop="name" label="判分点" align="center"></el-table-column>
<el-table-column prop="score" label="分值" width="60" align="center"></el-table-column> <el-table-column prop="score" label="分值" width="60" align="center"></el-table-column>
@ -316,6 +316,7 @@ export default {
// //
if (cache && cache.empty && list.find(e => e.projectId === projectId)) { if (cache && cache.empty && list.find(e => e.projectId === projectId)) {
this.projectId = projectId this.projectId = projectId
this.getProDetail()
this.closeLoad() this.closeLoad()
localStorage.removeItem('codeCache') localStorage.removeItem('codeCache')
} else { } else {
@ -415,6 +416,7 @@ export default {
this.isSubmit = false this.isSubmit = false
this.countVal = 0 this.countVal = 0
this.grade = '00' this.grade = '00'
this.pannelTab = 'first'
this.$emit('recoveryCode') // this.$emit('recoveryCode') //
newmain.$emit('isSubmit', this.isSubmit) // newmain.$emit('isSubmit', this.isSubmit) //
}, },
@ -668,7 +670,9 @@ export default {
padding: 5px 20px; padding: 5px 20px;
} }
.el-aside { .el-aside {
margin-bottom: 10px;
color: #333; color: #333;
background-color: #fff;
} }
.el-aside /deep/[class*=" el-icon-"], .el-aside /deep/[class*=" el-icon-"],
[class^="el-icon-"] { [class^="el-icon-"] {
@ -687,6 +691,18 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
height: 40px; height: 40px;
&.system4 {
background-size: 100% 58px;
}
&.system5, &.system7, &.system9 {
background-size: 100% 57px;
}
&.system8, &.system6 {
background-size: 100% 61px;
}
&.system10 {
background-size: 104% 61px;
}
p { p {
padding-left: 10px; padding-left: 10px;
line-height: 40px; line-height: 40px;

@ -52,6 +52,15 @@ body .cus-table.el-table {
padding: 0; padding: 0;
} }
} }
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #007eff !important;
border-color: #007eff !important;
}
.el-checkbox__inner:hover,
.el-checkbox__input.is-focus .el-checkbox__inner {
border-color: #007eff !important;
}
.pagination { .pagination {
margin: 20px 0; margin: 20px 0;

@ -1,7 +1,7 @@
<template> <template>
<div class="wrap" v-loading="loading"> <div class="wrap" v-loading="loading">
<breadcrumb data="返回实验/我的数据"></breadcrumb>
<div class="inner"> <div class="inner">
<breadcrumb data="首页/我的数据"></breadcrumb>
<div class="tool"> <div class="tool">
<el-input style="width: 250px" placeholder="请输入文件名称" v-model="keyword" suffix-icon="el-icon-search" clearable size="small"></el-input> <el-input style="width: 250px" placeholder="请输入文件名称" v-model="keyword" suffix-icon="el-icon-search" clearable size="small"></el-input>
<div class="action"> <div class="action">

Loading…
Cancel
Save