修复督促团队学习
This commit is contained in:
parent
5d9a08e5e8
commit
cb251a9c8e
@ -34,7 +34,8 @@
|
|||||||
<view v-if="taskInfo.status==2" class="file_btn" @click="chooseOneFile">
|
<view v-if="taskInfo.status==2" class="file_btn" @click="chooseOneFile">
|
||||||
<image src="/static/icons/plus.png"></image>
|
<image src="/static/icons/plus.png"></image>
|
||||||
</view>
|
</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>
|
</view>
|
||||||
<view class="card" style="margin-bottom: 160rpx;">
|
<view class="card" style="margin-bottom: 160rpx;">
|
||||||
@ -108,7 +109,7 @@
|
|||||||
async submit() {
|
async submit() {
|
||||||
if (this.study_photo.length < 5) return Toast('学习照片不能低于5张');
|
if (this.study_photo.length < 5) return Toast('学习照片不能低于5张');
|
||||||
if (!this.sign_in_table) return Toast('签到表照片不能为空');
|
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({
|
await serviceTask4Commit({
|
||||||
id: this.taskInfo.id,
|
id: this.taskInfo.id,
|
||||||
study_photo: this.study_photo,
|
study_photo: this.study_photo,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user