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

View File

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

View File

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