This commit is contained in:
2020-01-31 23:36:25 +00:00
parent eca2f34ba6
commit 43d030ca98
3 changed files with 109 additions and 111 deletions

View File

@@ -47,9 +47,6 @@ CURRENT TODOs
SHELL / NAV / MENUS / LAYOUT SHELL / NAV / MENUS / LAYOUT
TODO: initialize.js is forcing default home page to csr if user has rights to csr, when it should only do that if user *IS* customer type
- all others sb dashboard
- window.$gz.store.commit("setHomePage", "/customer-csr-list");
TODO: toolbar above grid for filters, refresh etc (make it a standard component?) TODO: toolbar above grid for filters, refresh etc (make it a standard component?)
TODO: main.js filters need to be finished TODO: main.js filters need to be finished

View File

@@ -1,5 +1,5 @@
export default { export default {
version: "8.0.0-alpha.2020.Jan.3", version: "8.0.0-alpha.2020.Jan.31",
copyright: copyright:
"Copyright © 1999-2020, Ground Zero Tech-Works Inc. All Rights Reserved", "Copyright © 1999-2020, Ground Zero Tech-Works Inc. All Rights Reserved",
browser: { browser: {

View File

@@ -1,119 +1,120 @@
<template> <template>
<UnderConstruction />
<!-- <v-container fluid> --> <!-- <v-container fluid> -->
<v-data-table <!-- <v-data-table
:headers="headers" :headers="headers"
:items="desserts" :items="desserts"
:items-per-page="5" :items-per-page="5"
class="elevation-1" class="elevation-1"
></v-data-table> ></v-data-table> -->
<!-- </v-container> --> <!-- </v-container> -->
</template> </template>
<script> <script>
//import UnderConstruction from "../components/underconstruction.vue"; import UnderConstruction from "../components/underconstruction.vue";
export default { export default {
data() { // data() {
return { // return {
headers: [ // headers: [
{ // {
text: "Dessert (100g serving)", // text: "Dessert (100g serving)",
align: "left", // align: "left",
sortable: false, // sortable: false,
value: "name" // value: "name"
}, // },
{ text: "Calories", value: "calories" }, // { text: "Calories", value: "calories" },
{ text: "Fat (g)", value: "fat" }, // { text: "Fat (g)", value: "fat" },
{ text: "Carbs (g)", value: "carbs" }, // { text: "Carbs (g)", value: "carbs" },
{ text: "Protein (g)", value: "protein" }, // { text: "Protein (g)", value: "protein" },
{ text: "Iron (%)", value: "iron" } // { text: "Iron (%)", value: "iron" }
], // ],
desserts: [ // desserts: [
{ // {
name: "Frozen Yogurt", // name: "Frozen Yogurt",
calories: 159, // calories: 159,
fat: 6.0, // fat: 6.0,
carbs: 24, // carbs: 24,
protein: 4.0, // protein: 4.0,
iron: "1%" // iron: "1%"
}, // },
{ // {
name: "Ice cream sandwich", // name: "Ice cream sandwich",
calories: 237, // calories: 237,
fat: 9.0, // fat: 9.0,
carbs: 37, // carbs: 37,
protein: 4.3, // protein: 4.3,
iron: "1%" // iron: "1%"
}, // },
{ // {
name: "Eclair", // name: "Eclair",
calories: 262, // calories: 262,
fat: 16.0, // fat: 16.0,
carbs: 23, // carbs: 23,
protein: 6.0, // protein: 6.0,
iron: "7%" // iron: "7%"
}, // },
{ // {
name: "Cupcake", // name: "Cupcake",
calories: 305, // calories: 305,
fat: 3.7, // fat: 3.7,
carbs: 67, // carbs: 67,
protein: 4.3, // protein: 4.3,
iron: "8%" // iron: "8%"
}, // },
{ // {
name: "Gingerbread", // name: "Gingerbread",
calories: 356, // calories: 356,
fat: 16.0, // fat: 16.0,
carbs: 49, // carbs: 49,
protein: 3.9, // protein: 3.9,
iron: "16%" // iron: "16%"
}, // },
{ // {
name: "Jelly bean", // name: "Jelly bean",
calories: 375, // calories: 375,
fat: 0.0, // fat: 0.0,
carbs: 94, // carbs: 94,
protein: 0.0, // protein: 0.0,
iron: "0%" // iron: "0%"
}, // },
{ // {
name: "Lollipop", // name: "Lollipop",
calories: 392, // calories: 392,
fat: 0.2, // fat: 0.2,
carbs: 98, // carbs: 98,
protein: 0, // protein: 0,
iron: "2%" // iron: "2%"
}, // },
{ // {
name: "Honeycomb", // name: "Honeycomb",
calories: 408, // calories: 408,
fat: 3.2, // fat: 3.2,
carbs: 87, // carbs: 87,
protein: 6.5, // protein: 6.5,
iron: "45%" // iron: "45%"
}, // },
{ // {
name: "Donut", // name: "Donut",
calories: 452, // calories: 452,
fat: 25.0, // fat: 25.0,
carbs: 51, // carbs: 51,
protein: 4.9, // protein: 4.9,
iron: "22%" // iron: "22%"
}, // },
{ // {
name: "KitKat", // name: "KitKat",
calories: 518, // calories: 518,
fat: 26.0, // fat: 26.0,
carbs: 65, // carbs: 65,
protein: 7, // protein: 7,
iron: "6%" // iron: "6%"
} // }
] // ]
}; // };
}, // },
components: { components: {
//UnderConstruction UnderConstruction
}, },
beforeCreate() { beforeCreate() {
window.$gz.eventBus.$emit("menu-change", { window.$gz.eventBus.$emit("menu-change", {