This commit is contained in:
2022-02-27 21:14:25 +00:00
parent 619a8a2c8f
commit 6a8dd6a33a
8 changed files with 44 additions and 49 deletions

View File

@@ -22,6 +22,9 @@ FIRST CLIENT SOURCE CODE COMMIT JAN 3rd 2019
# OUTSTANDING MAJOR AREAS TO BETA
seeder wolabor is being created in the future fucking the kpi stuff or at least looking weird
no labor or date centric items should be created in the future, that's nonsensical
seeder wo created date not set properly, should match the way it's generated
seeder wo need new fields and generate data to show off and test kpi widgets and features
Add completed date to workorder, should be set when a closed status is set
@@ -33,40 +36,53 @@ seeder wo need new fields and generate data to show off and test kpi widgets and
dashboard widgets
They should be small and highly focused on a particular issue so that the user just picks the one they want and that's it, no config as it's built for a specific config already.
So a hypothetical workorder count per time period widget would have a this month, last month, ytd, last year to date etc or however.
Main idea being they are not needed to config, just pick the one you want
should support multiple copies if an item is configurable
- Widgets to make for beta
overdue workorders (booked on, in the past, not a closed status) for current scheduleable user
overdue workorders for all users available to service manager roles
Billed hours per month YTD for sched user (line chart)
Billed hours per month YTD for all users available to service manager roles (line chart)
Billed hours per day last 30 days for sched user (line chart)
Billed hours per day last 30 days for all users available to service manager roles (line chart)
Unassigned work orders for service manager
CSR's not accepted yet in reverse chronological order for service manager
Billable hours leader board case 3696: https://www.openfaas.com/blog/serverless-single-page-app/?utm_source=DigitalOcean_Newsletter
- Widgets to make for beta in order of priority
**MUST HAVE***
LINE/BAR Number of work orders created per day over time (from case 1882) with criteria
BAR % wo closed within close by date by time period / tags
BAR-VERT Billable hours leader board case 3696: https://www.openfaas.com/blog/serverless-single-page-app/?utm_source=DigitalOcean_Newsletter
LIST overdue workorders (booked on, in the past, not a closed status) for current scheduleable user
LIST overdue workorders list not user centric available to service manager roles
count of wo within each status by time period / tags
shows all status types that are in the data returned only, not *all* status though I think it does that automatically
future: click on status bar it opens a filtered list of all wo by that status
**NICE TO HAVE**
Billed hours for all users available to service manager roles (line and bar chart, maybe just bar for this one)
filter scheduser by tag or it defaults to show all users with graphs and auto colors??
so multiple data sets here
Unassigned work orders list for service manager (what does this mean exactly, wo with no sched user selected or with sched user without tech selected??)
see v7 to replicate, I think this is a extant one from v7
probably any wo that doesn't have a sched user assigned yet
Could also mean any wo with no status set yet, as this would indicate they have not been processed yet
a super widget would allow select specific status or no status at all
CSR's with OPEN status only in reverse chronological order for service manager
DASHBOARD:CR - open wo list by selectable status case 1974
Number of work orders created per day over time (from case 1882)
** THIS ONE FOR SURE IT"S TOP REQUESTED IN SURVEYS OF SERVICE MANAGERS
configurable time frame
% wo closed within close by date by time period / tags
avg time or time breakdown by % of overdueness of workorders
i.e. 10% of overdue were x days overdue etc
avg time in each status by time period / tags
this could cover response time as they can just designate a status as unresponded or new
% wo within each status by time range / tags
this will show the state of things overall
count of wo within each status by time period / tags
Need control panel for widget to make filter selections
need ability to have multiple widgets of same type display with their own settings

View File

@@ -1,6 +1,6 @@
<template>
<!-- <v-sheet color="white" elevation="4" height="400px" style="overflow: scroll;"> -->
<v-sheet color="white" height="420px" style="overflow: auto;" elevation="4">
<!-- <v-sheet color="white" height="420px" style="overflow: auto;" elevation="4"> -->
<v-sheet color="white" style="overflow: auto;" elevation="4">
<slot name="dash-title">
<v-toolbar flat dense>
<template v-if="showMoreButton">
@@ -136,7 +136,7 @@
<slot name="settings">
<div></div>
</slot>
<div v-if="hasError" class="mx-2 mt-4 d-flex align-center">
<div v-if="hasError" class=" d-flex align-center">
<v-alert
data-cy="dash-error"
color="error"

View File

@@ -10,12 +10,7 @@
>
<template slot="main">
<div>
<gz-chart-bar
:width="400"
:height="330"
:chart-data="chartData"
:options="chartOptions"
/>
<gz-chart-bar :chart-data="chartData" :options="chartOptions" />
</div>
</template>
@@ -342,17 +337,4 @@ function populateSelectionLists(vm) {
]
);
}
/*
todo: clean up the sheer number of time periods, maybe remove individual months or whatever and time frames so short they don't make sense for personal
todo: give a good look over and determine if ready to make more now based on what was done already
need to release so don't go too crazy, there are some new cases to take care of as well, just need to show promise and get the two most important kpi items in and leaderboard and can go from there
Leave reporting to future v.next
My version of chart.js docs: https://www.chartjs.org/docs/2.9.4/charts/bar.html
*/
</script>

View File

@@ -12,8 +12,6 @@
<div>
<gz-chart-line
v-if="visible"
:width="400"
:height="330"
:chart-data="chartData"
:options="chartOptions"
/>

View File

@@ -10,7 +10,7 @@
v-on="$listeners"
>
<template slot="main">
<v-sheet height="345">
<v-sheet height="400">
<v-calendar
ref="calendar"
color="primary"

View File

@@ -9,7 +9,7 @@
v-on="$listeners"
>
<template slot="main">
<v-sheet height="345">
<v-sheet height="400">
<v-calendar
ref="rvwcalendar"
color="primary"

View File

@@ -10,7 +10,7 @@
v-on="$listeners"
>
<template slot="main">
<v-sheet height="345">
<v-sheet height="400">
<v-calendar
ref="calendar"
color="primary"

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div class="my-n8">
<v-row v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
@@ -53,7 +53,6 @@
cols="12"
sm="6"
lg="4"
xl="3"
>
<component
:is="item.type"