diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java index 87765b59..3cb24a73 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java @@ -303,6 +303,7 @@ public class SiteApplyController { nutMap.addv("disabled", true); nutMap.addv("tooltip", "已预约"); } + nutMap.addv("dateStr", day); } return Result.success(result); } diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/apply.js b/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/apply.js index 101113f3..806b89c5 100644 --- a/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/apply.js +++ b/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/apply.js @@ -180,6 +180,8 @@ const apply = { this.$set(this.formData, "sex", this.$store.state.user.sex) this.$set(this.formData, "siteId", this.row.id) this.$set(this.formData, "applyTime", this.selected.startTime + '-' + this.selected.endTime) + this.$set(this.formData, "startTime", this.selected.startTime) + this.$set(this.formData, "endTime", this.selected.endTime) if (this.row.reserveTarget === 1 || this.row.reserveTarget === 3) { this.$set(this.formData, "joinCount", this.row.maxNum) } else {