This commit is contained in:
liuyuan
2025-06-10 17:50:28 +08:00
parent d8bfb66827
commit 29b2a8b206
15 changed files with 3960 additions and 3412 deletions

View File

@@ -158,6 +158,7 @@
this.$emit('unlockChangeVideo')
},
hideNextVideo() {
console.log(11111111111111)
this.showCountDown = false
this.playEndBlank = false
this.$emit('hideNextVideo')

View File

@@ -78,7 +78,7 @@
<view class="score" v-if="myAnswer.scoreSuccess == 0 && myAnswer.scoreInfo != ''">
<text>正在评分</text>
</view>
<view class="score" v-if="myAnswer.scoreSuccess != 0">
<view class="score" v-if="myAnswer.scoreSuccess > 2">
<text>{{myAnswer.score}}</text>
</view>
</view>

View File

@@ -324,7 +324,7 @@
<!-- <view class="score" v-if="item.scoreSuccess > 0 && item.scoreSuccess ">
正在评分
</view> -->
<view class="score" v-if="item.scoreSuccess >= 1">
<view class="score" v-if="item.scoreSuccess >= 3">
分数{{item.score}}
</view>
</view>
@@ -335,8 +335,8 @@
<template v-if="roleCode.includes('0') && isHave && tijiaoTitleId != 2">
<template v-if="item.reply && item.otherInfo != null">
<text v-if="item.otherInfo[0].scoreSuccess == 0">等待评分</text>
<text class="pIng" v-if="item.otherInfo[0].scoreSuccess < 2 && item.otherInfo[0].scoreSuccess > 0">正在评分</text>
<view class="" v-if="item.otherInfo[0].scoreSuccess >=2">
<text class="pIng" v-if="item.otherInfo[0].scoreSuccess < 3 && item.otherInfo[0].scoreSuccess > 0">正在评分</text>
<view class="" v-if="item.otherInfo[0].scoreSuccess >2">
<text class="score" >{{item.otherInfo[0].score}} </text>
<!-- <text style="color: #999; padding-left: 10rpx; font-size: 26rpx;"></text> -->
</view>
@@ -382,13 +382,13 @@
<template v-else>
<!-- <text class=""
style="padding-left: 10rpx; color: #55aaff; font-size: 26rpx;">已作答</text> -->
<text style="padding-left: 10rpx; color: #55aa7f; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 0 && thisClass.state != '2'">
<text style="padding-left: 10rpx; color: #55aa7f; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 2 && thisClass.state != '2'">
等待评分
</text>
<text style="padding-left: 10rpx; color: #999; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 0 && thisClass.state == '2'">
<text style="padding-left: 10rpx; color: #999; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 2 && thisClass.state == '2'">
已结班无法评分
</text>
<view class="" style="margin-left: 5rpx;" v-if="item.reply.scoreSuccess > 0">
<view class="" style="margin-left: 5rpx;" v-if="item.reply.scoreSuccess > 2">
<text class="score">{{item.reply.score}}</text><text style="color: #999;"></text>
</view>
</template>

View File

@@ -704,6 +704,7 @@ export default {
fontWeight: "bold",
color: "#258feb",
},
classStatus: false, //点击结班改变按钮状态
};
},
onLoad(e) {
@@ -1096,10 +1097,14 @@ export default {
},
// 改变班级状态
changeClassStatu(statusCode) {
debounce(async () => {
let that = this;
that.opClass(statusCode);
}, 300);
if(this.classStatus){
return
}
this.classStatus = true;
debounce(async () => {
let that = this;
that.opClass(statusCode);
}, 300);
},
// 考试周和结班状态下,学员的信息
async getStudentScoreList() {
@@ -1180,6 +1185,7 @@ export default {
title: "操作成功",
icon: "success",
});
setTimeout(() => {
this.getClassInfo();
if (statusCode == "2") {
@@ -1196,9 +1202,11 @@ export default {
})
.catch((e) => {
uni.hideLoading();
//恢复按钮状态
this.classStatus = false;
console.log(e, "数据报错");
uni.showToast({
title: res.errMsg,
title: e.errMsg,
icon: "none",
duration: 3000,
});
@@ -1363,7 +1371,7 @@ export default {
this.thisClass.homeWorkNumber = 0;
if (res.result.classModel.days > 0) {
this.thisClass.homeWorkNumber = Math.ceil(
(res.result.classModel.days - res.result.classModel.examDays) /
(res.result.classModel.days) /
7
);
}

View File

@@ -62,10 +62,10 @@
<text @click="editOrAdd(item)">修改</text>
</view>
<template v-if="item.scoreInfo != '' && listDisplay == '1'">
<view class="score" v-show="item.scoreSuccess >= 2">
<view class="score" v-show="item.scoreSuccess > 2">
分数{{item.score}}
</view>
<view class="score" v-show="item.scoreSuccess < 2 && (classState == '1' || classState == '3')">
<view class="score" v-show="item.scoreSuccess < 3 && (classState == '1' || classState == '3')">
正在评分
</view>
</template>

View File

@@ -488,7 +488,7 @@
</view>
<!-- 应对华为审核去掉app跳转 -->
<view class="appJump">
<view class="soulspace item flexbox" @click="appjumpfun('soulspace')" v-if="$platform != 'ios'">
<view class="soulspace item flexbox" @click="appjumpfun('soulspace')">
<view class="img">
<image src="@/static/xlkj.png"></image>
</view>