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,