This commit is contained in:
jiangyinzhi
2024-11-14 11:27:16 +08:00
parent da36f860ca
commit 455c8b58da
19 changed files with 182 additions and 43 deletions
+7 -3
View File
@@ -129,6 +129,7 @@ export default {
showSubmit: false,
taskId: '',
customerId: '',
doDebounce: null,
}
},
mounted() {
@@ -136,6 +137,9 @@ export default {
this.taskId = JSON.parse(sessionStorage.getItem('tidCid')).taskId
this.customerId = JSON.parse(sessionStorage.getItem('tidCid')).customerId
this.getHistory()
this.doDebounce = debounce(function () {
this.save()
}, 5000, true)
},
methods: {
// 查询打卡记录
@@ -240,9 +244,9 @@ export default {
})
return list
},
handleClick:debounce(function () {
this.save()
}, 5000, true),
handleClick(){
this.doDebounce()
},
// 保存
save() {
if (this.$refs.uploaderRef.checkImgisUpload(this.text1)) {