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 12b95a88..ddebdc18 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 @@ -170,7 +170,7 @@ public class SiteApplyController { @At @ApiOperation("查询可以预约的日期") @SaCheckPermission(value = {"site.apply", "h5.site.apply"}, mode = SaMode.OR) - public Result queryAllowTime(String siteId, String startTime, String endTime) { + public Result queryAllowDay(String siteId, String startTime, String endTime) { if(StrUtil.isBlank(siteId)) { return Result.success(new ArrayList<>()); } diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java index 1112b39b..3339a677 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java @@ -58,7 +58,7 @@ public class SiteMineController { public void index() {} @At("/h5") - @Ok("beetl:/platform/zhgh/dayofficework/site/mine/index.html") + @Ok("beetl:/platform/zhghh5/dayofficework/site/mine/index.html") @SaCheckPermission("h5.site.mine") public void h5Index() {} diff --git a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js index fbb8ba28..ca5b687f 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js +++ b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js @@ -105,7 +105,7 @@ const apply = { watch: { applyTime() { this.$nextTick(async () => { - await this.queryAllowTime() + await this.queryAllowDay() }) }, }, @@ -166,7 +166,7 @@ const apply = { }, async onOpen(row, applyRow = null) { this.row = row - await this.queryAllowTime() + await this.queryAllowDay() if(applyRow) { this.taskId = applyRow.taskId this.bizId = applyRow.bizId @@ -231,11 +231,11 @@ const apply = { } }, // 查询哪些天是开放的 - async queryAllowTime() { + async queryAllowDay() { const days = Array.from(document.querySelectorAll('.div-Calendar')) .map(el => el.getAttribute('data-day')) .sort() - const {data} = await this.$axios.post("/platform/site/apply/queryAllowTime", { + const {data} = await this.$axios.post("/platform/site/apply/queryAllowDay", { siteId: this.row.id, startTime: days[0], endTime: days[days.length - 1], @@ -254,17 +254,17 @@ const apply = { }, }, style: /*language=CSS*/ ` - .div-Calendar { + ::v-deep .div-Calendar { box-sizing: border-box; height: 100%; } - .div-Calendar p { + ::v-deep .div-Calendar p { margin: 0; } - .el-calendar-day:has(.not-allow-day) { + ::v-deep .el-calendar-day:has(.not-allow-day) { background-color: #F5F5F5; } - .el-dialog__body { + ::v-deep .el-dialog__body { padding-top: 0; } ` diff --git a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html index b220eddf..e2eceb9b 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html @@ -3,19 +3,7 @@ layout("/layouts/platform.html"){ #-->
diff --git a/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js b/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js index 1dd7c4f8..75aac066 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js +++ b/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js @@ -140,7 +140,7 @@ const basicForm = { style="width: 100%" placeholder="开始时间" v-model="row.startTime" - :picker-options="{ start: '00:00',step: '00:30',end: '24:00'}"> + :picker-options="{ start: '00:00',step: '00:30',end: '23:59'}"> @@ -150,7 +150,7 @@ const basicForm = { style="width: 100%" placeholder="结束时间" v-model="row.endTime" - :picker-options="{start: '00:00',step: '00:30',end: '24:00',minTime: row.start_time }"> + :picker-options="{start: '00:00',step: '00:30',end: '23:59',minTime: row.start_time }"> diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html index ee46bea9..902db8eb 100644 --- a/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html @@ -36,22 +36,26 @@ layout("/layouts/platform_h5.html"){ 查看
-
+
预约
+ +
+ + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/site/schoolUnionAudit/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/site/schoolUnionAudit/index.html new file mode 100644 index 00000000..bcdf091a --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/site/schoolUnionAudit/index.html @@ -0,0 +1,189 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+
{{formData.taskName}}
+ + + +
+ 退回 + 不同意 + 同意 +
+
+
+
+ + + + diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html index 683c9637..b3af14b4 100644 --- a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html +++ b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html @@ -95,7 +95,6 @@ layout("/layouts/platform_h5.html"){ pageSize: 10, totalCount: 0, searchKeyword: '', - name: null, approvalText: "0", approval: false, year: new Date().getFullYear(), diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html index 800b23e1..6e14ebf5 100644 --- a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html +++ b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html @@ -95,7 +95,6 @@ layout("/layouts/platform_h5.html"){ pageSize: 10, totalCount: 0, searchKeyword: '', - name: null, approvalText: "0", approval: false, year: new Date().getFullYear(),