|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <view :class="reportStatus == 0 ? 'redBtn' : reportStatus == 1 ? 'greenBtn' : 'disNone'">
|
|
|
+ <!-- <view :class="reportStatus == 0 ? 'redBtn' : reportStatus == 1 ? 'greenBtn' : 'disNone'" v-if="reportStatus !== null">
|
|
|
{{ reportStatus == 0 ? '测试未通过' : reportStatus == 1 ? '测试通过' : '' }}
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="top">
|
|
|
|
|
|
<view class="box">
|
|
@@ -63,7 +63,8 @@ export default {
|
|
|
score:'',
|
|
|
totalScore:'',
|
|
|
doTime:'',
|
|
|
- examTime:''
|
|
|
+ examTime:'',
|
|
|
+ reportStatus:null,
|
|
|
};
|
|
|
},
|
|
|
onUnload() {},
|
|
@@ -141,7 +142,7 @@ export default {
|
|
|
this.doTime = option.doTime;
|
|
|
this.reportStatus = option.reportStatus;
|
|
|
this.rightQuestionNum = +option.rightQuestionNum;
|
|
|
- this.doWrongQuestionNum = +option.rightQuestionNum;
|
|
|
+ this.doWrongQuestionNum = +option.doWrongQuestionNum;
|
|
|
this.score = +option.score;
|
|
|
this.totalScore = +option.totalScore;
|
|
|
// this.hideBtns = Boolean(option.hideBtns);
|