0417-4
This commit is contained in:
parent
b9fb9bf81c
commit
3da6ffc4ae
@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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',
|
||||
|
@ -458,7 +458,7 @@
|
||||
|
||||
// 表单校验
|
||||
async validateForm() {
|
||||
if (!this.sfzimg) {
|
||||
if (!this.isDisabled && !this.sfzimg) {
|
||||
uni.showToast({
|
||||
title: '请上传身份证照片',
|
||||
icon: 'error'
|
||||
|
Loading…
Reference in New Issue
Block a user