考试记录
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
<img :src="statusImgList[item.myRecord.assessmentType]" alt="" />
|
<img :src="statusImgList[item.myRecord.assessmentType]" alt="" />
|
||||||
<div :class="`score-type`+item.myRecord.assessmentType">{{ item.myRecord.score }}</div>
|
<div :class="`score-type`+item.myRecord.assessmentType">{{ item.myRecord.score }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="test-type" :class="`test-type`+item.examinationType">{{ $dict.getLabel("qjExaminationType", item.examinationType) }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom" @click="toTestForm(item.id)" v-if="item.status == 1">重新考试</div>
|
<div class="bottom" @click="toTestForm(item.id)" v-if="item.status == 1">重新考试</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -45,9 +46,9 @@ export default {
|
|||||||
frontColor: "#000000",
|
frontColor: "#000000",
|
||||||
backgroundColor: "#F4F6FA",
|
backgroundColor: "#F4F6FA",
|
||||||
})
|
})
|
||||||
},
|
this.$dict.load('qjExaminationType').then(() => {
|
||||||
onShow() {
|
|
||||||
this.getList()
|
this.getList()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
@@ -140,6 +141,24 @@ export default {
|
|||||||
color: #E23C3C;
|
color: #E23C3C;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.test-type {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
font-family: PingFangSC-Regular;
|
||||||
|
font-size: 24px;
|
||||||
|
color: #FFF;
|
||||||
|
line-height: 38px;
|
||||||
|
padding: 0 10px;
|
||||||
|
border-top-right-radius: 16px;
|
||||||
|
border-bottom-left-radius: 16px;
|
||||||
|
}
|
||||||
|
.test-type0 {
|
||||||
|
background-color: #8F5AFF;
|
||||||
|
}
|
||||||
|
.test-type1 {
|
||||||
|
background-color: #FF772D;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.bottom {
|
.bottom {
|
||||||
line-height: 88px;
|
line-height: 88px;
|
||||||
|
|||||||
Reference in New Issue
Block a user