This commit is contained in:
Lx 2025-04-17 20:23:36 +08:00
parent b9fb9bf81c
commit 3da6ffc4ae
3 changed files with 16 additions and 3 deletions

View File

@ -13,7 +13,8 @@
<view :class="{'messageTitle':item.readStatus,'noReadTitle':!item.readStatus}">系统通知</view> <view :class="{'messageTitle':item.readStatus,'noReadTitle':!item.readStatus}">系统通知</view>
<view class="messageContent_content">{{item.templateContent}}</view> <view class="messageContent_content">{{item.templateContent}}</view>
<view class="messageContent_content" style="text-align: right"> <view class="messageContent_content" style="text-align: right">
{{formatTime(item.createTime)}}</view> {{formatTime(item.createTime)}}
</view>
</view> </view>
</view> </view>
<view style="text-align: center" v-if="messageList.length==0"> <view style="text-align: center" v-if="messageList.length==0">
@ -195,6 +196,7 @@
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%;
.itemContent { .itemContent {
flex: 1; // scroll-view flex: 1; // scroll-view
@ -202,6 +204,8 @@
flex-direction: column; flex-direction: column;
padding: 0 20rpx; padding: 0 20rpx;
box-sizing: border-box; box-sizing: border-box;
width: 100%;
overflow: hidden;
} }
} }

View File

@ -20,7 +20,7 @@
<text class="text_3">{{ item.courseName }}</text> <text class="text_3">{{ item.courseName }}</text>
</view> </view>
<view class="text-group_2 flex-col justify-between"> <view class="text-group_2 flex-col justify-between">
<text class="text_4" v-if="item.examScore">{{ item.examScore }}</text> <text class="text_4" v-if="item.examScore != null">{{ item.examScore }}</text>
<text class="text_4" v-else>{{ '--' }}</text> <text class="text_4" v-else>{{ '--' }}</text>
<text class="text_5" <text class="text_5"
v-if="item.ifPassStatus === '9'">{{ getStatusText(item.ifPassStatus) }}</text> v-if="item.ifPassStatus === '9'">{{ getStatusText(item.ifPassStatus) }}</text>
@ -119,6 +119,10 @@
this.getExamList() this.getExamList()
}) })
}, },
onShow() {
this.getExamList()
this.getCourseList()
},
onReady() { onReady() {
// //
this.calculateScrollHeight(); this.calculateScrollHeight();
@ -324,6 +328,11 @@
text: '成绩录入', text: '成绩录入',
type: 'input' type: 'input'
} }
} else if (!item.ifPass && !item.ifEvaluate) {
return {
text: '开始评价',
type: 'evaluate'
}
} else if (!item.ifPass) { } else if (!item.ifPass) {
return { return {
text: '2', text: '2',

View File

@ -458,7 +458,7 @@
// //
async validateForm() { async validateForm() {
if (!this.sfzimg) { if (!this.isDisabled && !this.sfzimg) {
uni.showToast({ uni.showToast({
title: '请上传身份证照片', title: '请上传身份证照片',
icon: 'error' icon: 'error'