Night shift → Morning shift
Ana Putri, line lead · 16 Nov, 05:55- Output
- 1 840 / 2 000
- Scrap
- 23
- Downtime
- 42 min
A quiet night apart from Press 2. WO-0091 is ahead, WO-0088 waits for cables.
3 issues open
English
Notes from one shift to the next, with open issues
Passes what matters from the team that leaves to the team that comes, on a shop floor, in a warehouse, or in a hospital ward.
3 issues open
<template>
<BlessShiftHandover
v-model:issues="issues"
title="Night shift → Morning shift"
by="Ana Putri, line lead · 16 Nov, 05:55"
notes="A quiet night apart from Press 2. WO-0091 is ahead, WO-0088 waits for cables."
:facts="[
{ label: 'Output', value: '1 840 / 2 000' },
{ label: 'Scrap', value: '23' },
{ label: 'Downtime', value: '42 min' },
]"
:read-by
@acknowledge="readBy = 'Budi Santoso, 06:02'"
/>
</template>
<script setup lang="ts">
import { ref } from "vue";
import { BlessShiftHandover, type BlessHandoverIssue } from "blessing-ui";
const issues = ref<BlessHandoverIssue[]>([
{
id: "1",
text: "Press 2 jams on thin sheets. Use the 0.8 mm stock until the guide is fixed.",
level: "stop",
owner: "Dimas",
},
{ id: "2", text: "Solder line runs 5% slow after the tip change.", level: "watch" },
{
id: "3",
text: "Glue for the foam panels runs low. Two boxes left.",
level: "info",
owner: "Stores",
},
{ id: "4", text: "Laser marker restarted at 02:10, fine since.", level: "info", closed: true },
]);
const readBy = ref<string>();
</script>title names the change of shift, and by says who wrote it and when.facts are key numbers of the shift, each with a label and a value. notes is free text, and line breaks stay.v-model:issues is the list of issues. Each issue has an id, a text, and a level. It can also have an owner and closed.stop, watch, or info. It shows as a mark and a word, and stop issues come first in a red frame.acknowledge. After that, set readBy, and the button becomes a line such as "Taken over by Budi".labels or a label pack: the three levels, issues, acknowledge, and the functions open, close, readBy, and owner.import { BlessShiftHandover } from "blessing-ui";| Name | Type | Default | Description |
|---|---|---|---|
title* | string | — | for example "Night shift → Morning shift" |
by* | string | — | who wrote it and when, as text |
notes | string | — | |
facts | { label: string; value: string; }[] | — | key numbers of the shift, for example output against target |
readBy | string | — | who took over, after the button |
labels | Partial<Record<BlessIssueLevel, string> & { issues: string; open: (count: number) => string; close: (text: string) => string; acknowledge: string; readBy: (name: string) => string; owner: (name: string) => string; }> | — | |
issues | BlessHandoverIssue[] | [] |
| Name | Payload | Description |
|---|---|---|
update:issues | [value: BlessHandoverIssue[]] | |
acknowledge | [] |