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="{'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;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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',
|
||||||
|
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user