暂存
This commit is contained in:
@@ -662,8 +662,8 @@
|
|||||||
// paperData = await this.getlocaltestInfo('paperEndTime')
|
// paperData = await this.getlocaltestInfo('paperEndTime')
|
||||||
var historyPaper = await this.getingPaper()
|
var historyPaper = await this.getingPaper()
|
||||||
this.ingPaper = historyPaper
|
this.ingPaper = historyPaper
|
||||||
console.log('对比----------------', historyPaper.classId, this.classId);
|
// console.log('对比----------------', historyPaper.classId, this.classId);
|
||||||
if (historyPaper && historyPaper.classId == this.classId) {
|
if (historyPaper&& historyPaper != null && historyPaper.classId == this.classId) {
|
||||||
paperEndTime = this.hourUp(historyPaper.startTime, 1) // 结束的时间戳
|
paperEndTime = this.hourUp(historyPaper.startTime, 1) // 结束的时间戳
|
||||||
this.examId = historyPaper.id
|
this.examId = historyPaper.id
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
<span class="zmVip"></span><text>国学VIP</text>
|
<span class="zmVip"></span><text>国学VIP</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="thisClass.state == '2'"
|
<!-- <view v-if="thisClass.state == '2'"
|
||||||
class=" zhiliang flex_box flex_between align-items_box"
|
class=" zhiliang flex_box flex_between align-items_box"
|
||||||
style="margin-top: 20rpx;">
|
style="margin-top: 20rpx;">
|
||||||
<view class="">
|
<view class="">
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<text>不合格:</text>
|
<text>不合格:</text>
|
||||||
<text>20 人</text>
|
<text>20 人</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="newBox">
|
<view class="newBox">
|
||||||
<view :class="['item',
|
<view :class="['item',
|
||||||
@@ -500,6 +500,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
seePaper(val) {
|
||||||
|
// console.log('点击了');
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/miniClass/paperBack?id=${val}`
|
||||||
|
})
|
||||||
|
},
|
||||||
chooseStudent(data){
|
chooseStudent(data){
|
||||||
console.log('xuesheng',data);
|
console.log('xuesheng',data);
|
||||||
this.thisStudentScore = data
|
this.thisStudentScore = data
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
<view class="" >
|
<view class="" >
|
||||||
<view class="classMateBox" v-show="students.length> 0 ">
|
<view class="classMateBox" v-show="students.length> 0 ">
|
||||||
<view class="" style=" overflow: hidden;">
|
<view class="" style=" overflow: hidden;">
|
||||||
<uni-section class="mb-10 nobg xueyuanTitle" title="班内学员" type="line" sub-title="">共
|
<uni-section class="mb-10 nobg xueyuanTitle" title="班内学员" type="line" >共
|
||||||
{{students.length}} 名学员</uni-section>
|
{{students.length}} 名学员</uni-section>
|
||||||
</view>
|
</view>
|
||||||
<view class=" tips">
|
<!-- <view class=" tips">
|
||||||
<view v-if="thisClass.state == '2'" class=" zhiliang flex_box flex_between align-items_box" style="margin-top: 20rpx;">
|
<view v-if="thisClass.state == '2'" class=" zhiliang flex_box flex_between align-items_box" style="margin-top: 20rpx;">
|
||||||
<view class="">
|
<view class="">
|
||||||
<text>A证:</text>
|
<text>A证:</text>
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<text>20 人</text>
|
<text>20 人</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<!-- item.student.vip == '1' ? 'superVip' : '',
|
<!-- item.student.vip == '1' ? 'superVip' : '',
|
||||||
item.student.vip == '2' ? 'wumenVip' : '',
|
item.student.vip == '2' ? 'wumenVip' : '',
|
||||||
item.student.vip == '3' ? 'zmVip' : '', -->
|
item.student.vip == '3' ? 'zmVip' : '', -->
|
||||||
|
|||||||
@@ -151,9 +151,7 @@
|
|||||||
// this.examId = e.id
|
// this.examId = e.id
|
||||||
if (this.testPaper.length <= 0) {
|
if (this.testPaper.length <= 0) {
|
||||||
this.getTestPage()
|
this.getTestPage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// this.questIndexList = await this.getNowList('add')
|
// this.questIndexList = await this.getNowList('add')
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
@@ -165,7 +163,7 @@
|
|||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
if (!this.isOvertime) { // 如果中途退出
|
if (!this.isOvertime) { // 如果中途退出
|
||||||
this.giveZero()
|
// this.giveZero()
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user