@7365admin1/layer-common 4.97.1-staging.677 → 4.97.1-staging.678
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,7 +29,11 @@
|
|
|
29
29
|
reaches zero the day's list closes: it becomes view-only, and any
|
|
30
30
|
unit not ticked counts as <strong>Missed</strong>.
|
|
31
31
|
</li>
|
|
32
|
-
<li>
|
|
32
|
+
<li v-if="readOnly">
|
|
33
|
+
Click a row to see its areas, then an area to see each unit — who
|
|
34
|
+
did it, when, remarks and photos.
|
|
35
|
+
</li>
|
|
36
|
+
<li v-else>
|
|
33
37
|
Click a row to see its areas, then an area to see each unit,
|
|
34
38
|
send a unit back (<strong>Needs redo</strong>) or add a remark.
|
|
35
39
|
</li>
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
</StatusChip>
|
|
17
17
|
</v-col>
|
|
18
18
|
</v-row>
|
|
19
|
-
<p class="checklist-intro" data-test="checklist-intro">
|
|
19
|
+
<p v-if="readOnly" class="checklist-intro" data-test="checklist-intro">
|
|
20
|
+
Each visit lists this area's units as the provider's staff ticked them.
|
|
21
|
+
A visit marked "Extra check" was added from the Task Calendar.
|
|
22
|
+
</p>
|
|
23
|
+
<p v-else class="checklist-intro" data-test="checklist-intro">
|
|
20
24
|
Each visit lists this area's units. Staff tick them on their phone; here
|
|
21
25
|
you can mark a unit <strong>Done</strong> (✓) or send it back with
|
|
22
26
|
<strong>Needs redo</strong> (✗, with a remark). The last unit of a
|
|
@@ -487,6 +491,8 @@ const props = defineProps({
|
|
|
487
491
|
serviceType: { type: String, default: "" },
|
|
488
492
|
canAddRemarks: { type: Boolean, default: false },
|
|
489
493
|
canManageScheduleTasks: { type: Boolean, default: false },
|
|
494
|
+
/** View-only screen (the managing agent's view): view-only intro. Pass both can-flags false too. */
|
|
495
|
+
readOnly: { type: Boolean, default: false },
|
|
490
496
|
});
|
|
491
497
|
|
|
492
498
|
const { getUnitCleanerChecklist, updateUnitChecklist } = useCleaningSchedules();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
:service-type="serviceType"
|
|
8
8
|
:schedule-route="scheduleRoute"
|
|
9
9
|
:read-only="readOnly"
|
|
10
|
-
text="
|
|
10
|
+
:text="guideText"
|
|
11
11
|
/>
|
|
12
12
|
<!--
|
|
13
13
|
DV-0998 / DV-1003: an area set up during the day is not on that day's
|
|
@@ -201,6 +201,9 @@ const props = defineProps({
|
|
|
201
201
|
|
|
202
202
|
// "Daily Checklist – Cleaning" / "– Landscape" / ... (same title as the day list)
|
|
203
203
|
const pageTitle = dailyChecklistTitle(props.serviceType);
|
|
204
|
+
const guideText = props.readOnly
|
|
205
|
+
? "These are the areas on this day's checklist. Click an area to see each unit. Visits today counts the area's normal visits plus any extra checks added today."
|
|
206
|
+
: "These are the areas on this day's checklist. Click an area to see each unit, tick it as done, or send it back to be redone. Visits today counts the area's normal visits plus any extra checks added today.";
|
|
204
207
|
|
|
205
208
|
const submitting = ref(false);
|
|
206
209
|
const message = ref("");
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.678",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|