From 3d5574df5ccae41e48b9990a1977277e2851f9ca Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 23 Oct 2023 10:05:53 +0800 Subject: [PATCH] . --- pages/clock/clock.vue | 1 + pages/clock/index.vue | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/clock/clock.vue b/pages/clock/clock.vue index a293b52..68d53b5 100644 --- a/pages/clock/clock.vue +++ b/pages/clock/clock.vue @@ -600,6 +600,7 @@ // 补卡 buSign(day) { console.log('正在补卡', this.taskInfo) + return false if (!this.taskInfo.id) { uni.showToast({ title: '当天未发布打卡任务,不可补卡哦', diff --git a/pages/clock/index.vue b/pages/clock/index.vue index 5dabd4a..87a944f 100644 --- a/pages/clock/index.vue +++ b/pages/clock/index.vue @@ -73,7 +73,8 @@ // 获取打卡图书 getfreeBook(){ if(this.contentShow == 1){ - this.$http.post('book/clockinPunch/myClockBooks', { + // this.$http.post('book/clockinPunch/myClockBooks', { + this.$http.post('book/clock/getUserClockBooks', { 'userId': this.userInfo.id, limit: 100, page:1, @@ -86,7 +87,8 @@ } }); } else { - this.$http.post('book/clockinPunch/getBestClockBooks', { + //this.$http.post('book/clockinPunch/getBestClockBooks', { + this.$http.post('book/clock/getUserClockBestBooks', { 'userId': this.userInfo.id, limit: 100, page:1,