You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`dayStart`| no |`'HH:mm'` (24h). The "day" column starts here and runs a full 24h, so a cross-midnight band sits wholly inside one column. Default `'00:00'`. |
365
+
|`bands[].key`| no | Stable id (`'day'`/`'night'`); defaults to `band{index}`. |
366
+
|`bands[].label`| yes | Header text for the band (白班 / 夜班). |
367
+
|`bands[].start` / `bands[].end`| yes |`'HH:mm'`. When `end <= start` the band crosses midnight. Bands must tile the 24h day from `dayStart`. |
368
+
|`bands[].color`| no | Any CSS color. Tints that band's column; **omit for no tint**. |
369
+
370
+
Behavior:
371
+
372
+
-**Day scale only.**`timeSegments` applies when the gantt is in `day` mode; in
373
+
week/month/quarter scales it is ignored (no-op).
374
+
-**Two-tier header.** Top tier = the 排班日 date (starting at `dayStart`),
375
+
bottom tier = one cell per band (each half-width for two equal bands).
376
+
-**Attribution by `start`.** A task is placed in the 排班日 its `start` falls
377
+
in, so a 夜班 spanning 20:00→次日08:00 stays in a single column.
378
+
-**Drag-snaps to band boundaries** (the band duration, e.g. 12h) instead of
379
+
whole days.
380
+
-**Calendar-midnight cue.** A subtle dashed vertical line marks local 0:00
381
+
*inside* a cross-midnight band — the 排班日 cell itself stays unbroken.
382
+
-**Default off = zero regression.** Omit `timeSegments` and the gantt behaves
383
+
exactly as before. Tints render only for bands that declare `color`.
384
+
385
+
---
386
+
319
387
## App Navigation
320
388
321
389
An **App** groups objects, dashboards, reports, and custom pages into a
0 commit comments