From 4519a0e627a33a106b16bfc2dafde79c4e02caa0 Mon Sep 17 00:00:00 2001 From: yueyang <2495544247@qq.com> Date: Tue, 27 Oct 2026 14:05:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=8C=96=E5=BE=85=E5=8A=9E=E6=97=A5=E6=9C=9F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=20(#686)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 目标 统一系统化待办在 Mac、Windows 和不同浏览器中的日期展示,避免原生日期控件格式不一致。 ## 实际改动 - 筛选区和编辑弹窗改用现有跨浏览器日期选择器组件。 - 日期文本固定显示为 YYYY-MM-DD,日历按钮负责选择日期。 - 保留开始时间、完成时间、待定和原备注逻辑。 - 待定时禁用日历和清除按钮,取消待定后恢复。 ## 验证 - docker exec jiangling_app php artisan test --filter=SystemizationTodosTest --stop-on-failure:14 passed,244 assertions。 - 页面已不再使用原生 type=date 输入框。 - Blade 视图缓存与 git diff --check 通过。 ## 风险 仅调整日期控件展示和交互,不修改日期存储格式、金额口径、权限或数据库结构。 Reviewed-on: https://git.1080p.hk/WuYongJie/CaiWuXiTong/pulls/686 --- .../pages/systemization-todos.blade.php | 70 +++++++++++++++++-- .../Business/SystemizationTodosTest.php | 7 ++ 2 files changed, 71 insertions(+), 6 deletions(-) diff --git a/resources/views/business/pages/systemization-todos.blade.php b/resources/views/business/pages/systemization-todos.blade.php index 3bc65340..7b12efff 100644 --- a/resources/views/business/pages/systemization-todos.blade.php +++ b/resources/views/business/pages/systemization-todos.blade.php @@ -1,4 +1,5 @@
+ @include('business.pages.partials.date-range-picker')