This commit is contained in:
@@ -65,9 +65,9 @@
|
||||
@click:date="viewDay"
|
||||
@change="fetchEvents"
|
||||
>
|
||||
<template v-slot:event="{ event }">
|
||||
<v-icon small :color="event.textColor">$ayiTools</v-icon>
|
||||
<span :class="event.textColor + '--text'">{{ event.name }}</span>
|
||||
<template v-slot:event="{ event, eventSummary }">
|
||||
<v-icon small :color="event.textColor" class="mr-1">$ayiTools</v-icon>
|
||||
<span :class="event.textColor + '--text'" v-html="eventSummary()" />
|
||||
</template>
|
||||
</v-calendar>
|
||||
|
||||
@@ -147,12 +147,6 @@ More info
|
||||
Drag / drop / extend
|
||||
will try to support this but if it's not doable then possibly for convenience do it in the More info dialog
|
||||
|
||||
Fetching:
|
||||
Data lists are used to drive the appointment fetching which supports some advanced filtering ability and stuff and also can more easily drive widgets
|
||||
Each of the three types are fetched seperately to support a feature where they can select what shows with radio buttons in config screen
|
||||
Only the info required to show it in the calendar is fetched but also a type and id for further details when click on appt. to bring up more display
|
||||
returns: name, start, end, wostatcolor, woitemprioritycolor,woitemstatuscolor, type, id
|
||||
params: {fetchstart [required], fetchend [required]}
|
||||
|
||||
SETTINGS:
|
||||
wo display section:
|
||||
@@ -289,10 +283,10 @@ export default {
|
||||
//NOTE: Need to add six days at least on either side due to calendar potentially showing up to six days of end and start of adjacent months
|
||||
//maybe easier if server does it and this just sticks to the
|
||||
|
||||
// console.log(
|
||||
// "UPDATE RANGE:",
|
||||
// JSON.stringify({ start: start.date, end: end.date })
|
||||
// );
|
||||
console.log(
|
||||
"UPDATE RANGE:",
|
||||
JSON.stringify({ start: start.date, end: end.date })
|
||||
);
|
||||
/*
|
||||
public enum PersonalScheduleWorkOrderColorSource : int
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user