BUG 31136

This commit is contained in:
aixianling
2022-10-26 14:06:50 +08:00
parent 402c580564
commit 2225d680f5

View File

@@ -64,8 +64,12 @@ export default {
}
},
handleScore(item) {
const {id, templateId: tid} = item
uni.navigateTo({url: `/apps/AppAskForm/AppForm?id=${id}&tid=${tid}&from=AppAssessmentScoreTask` + (!item.fillable ? '&result=1' : '')})
if (this.detail.status == 1) {
const {id, templateId: tid} = item
uni.navigateTo({url: `/apps/AppAskForm/AppForm?id=${id}&tid=${tid}&from=AppAssessmentScoreTask` + (!item.fillable ? '&result=1' : '')})
} else {
this.$u.toast("任务未开始或已结束,无法填报!")
}
}
},
onShow() {