修复督促团队学习

This commit is contained in:
weipengfei 2023-10-20 18:44:26 +08:00
parent 5d9a08e5e8
commit cb251a9c8e

View File

@ -34,7 +34,8 @@
<view v-if="taskInfo.status==2" class="file_btn" @click="chooseOneFile">
<image src="/static/icons/plus.png"></image>
</view>
<view v-if="taskInfo.status==2" class="file_empty" v-for="k in 2" :key="'empty'+k"></view>
<view v-else class="file_empty"></view>
<view class="file_empty"></view>
</view>
</view>
<view class="card" style="margin-bottom: 160rpx;">
@ -108,7 +109,7 @@
async submit() {
if (this.study_photo.length < 5) return Toast('学习照片不能低于5张');
if (!this.sign_in_table) return Toast('签到表照片不能为空');
// if (this.study_content.trim().length < 50) return Toast('50');
if (this.study_content.trim().length < 50) return Toast('培训内容不得低于50字');
await serviceTask4Commit({
id: this.taskInfo.id,
study_photo: this.study_photo,