Compare commits
No commits in common. "1195ad8d4a4eed7e8cc72019bfb661ed0f36f614" and "276e6fd3c7f2b18edc5b08a57085061f3b6a6f25" have entirely different histories.
1195ad8d4a
...
276e6fd3c7
5 changed files with 102 additions and 415 deletions
|
|
@ -1,6 +1,101 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<div class="page-container">
|
||||||
<H2>Client Contact List</H2>
|
<H2>Client Contact List</H2>
|
||||||
|
<!-- Status Chart Section -->
|
||||||
|
<div class="widgets-grid">
|
||||||
|
<!-- Incomplete Bids Widget -->
|
||||||
|
<Card>
|
||||||
|
<template #header>
|
||||||
|
<div class="widget-header">
|
||||||
|
<Edit class="widget-icon" />
|
||||||
|
<h3>Incomplete Bids</h3>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template #content>
|
||||||
|
<div class="widget-content">
|
||||||
|
<TodoChart
|
||||||
|
title="Incomplete Bids"
|
||||||
|
:todoNumber="bidsTodoNumber"
|
||||||
|
:completedNumber="bidsCompletedNumber"
|
||||||
|
>
|
||||||
|
</TodoChart>
|
||||||
|
<button class="sidebar-button"
|
||||||
|
@click="navigateTo('/calendar')">
|
||||||
|
Incomplete Bids
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</Card>
|
||||||
|
<!-- Unapproved Estimates Widget -->
|
||||||
|
<Card>
|
||||||
|
<template #header>
|
||||||
|
<div class="widget-header">
|
||||||
|
<ChatBubbleQuestion class="widget-icon" />
|
||||||
|
<h3>Unapproved Estimates</h3>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template #content>
|
||||||
|
<div class="widget-content">
|
||||||
|
<TodoChart
|
||||||
|
title="Unapproved Estimates"
|
||||||
|
:todoNumber="estimatesTodoNumber"
|
||||||
|
:completedNumber="estimatesCompletedNumber"
|
||||||
|
>
|
||||||
|
</TodoChart>
|
||||||
|
<button class="sidebar-button"
|
||||||
|
@click="navigateTo('/estimates')">
|
||||||
|
Unapproved Estimates
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</Card>
|
||||||
|
<!-- Half Down Widget -->
|
||||||
|
<Card>
|
||||||
|
<template #header>
|
||||||
|
<div class="widget-header">
|
||||||
|
<CreditCard class="widget-icon" />
|
||||||
|
<h3>Half Down Payments</h3>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template #content>
|
||||||
|
<div class="widget-content">
|
||||||
|
<TodoChart
|
||||||
|
title="Half Down Payments"
|
||||||
|
:todoNumber="halfDownTodoNumber"
|
||||||
|
:completedNumber="halfDownCompletedNumber"
|
||||||
|
>
|
||||||
|
</TodoChart>
|
||||||
|
<button class="sidebar-button"
|
||||||
|
@click="navigateTo('/jobs')">
|
||||||
|
Half Down Payments
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</Card>
|
||||||
|
<!-- Late Balances Widget -->
|
||||||
|
<Card>
|
||||||
|
<template #header>
|
||||||
|
<div class="widget-header">
|
||||||
|
<CardNoAccess class="widget-icon" />
|
||||||
|
<h3>Late Balances</h3>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template #content>
|
||||||
|
<div class="widget-content">
|
||||||
|
<TodoChart
|
||||||
|
title="Late Balances"
|
||||||
|
:todoNumber="balancesTodoNumber"
|
||||||
|
:completedNumber="balancesCompletedNumber"
|
||||||
|
>
|
||||||
|
</TodoChart>
|
||||||
|
<button class="sidebar-button"
|
||||||
|
@click="navigateTo('/jobs')">
|
||||||
|
Late Balances
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
|
||||||
<DataTable
|
<DataTable
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
|
|
|
||||||
|
|
@ -1,101 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<div>
|
||||||
<h2>Estimates</h2>
|
<h2>Estimates</h2>
|
||||||
<!-- Todo Chart Section -->
|
|
||||||
<div class="widgets-grid">
|
|
||||||
<!-- Incomplete Bids Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<Edit class="widget-icon" />
|
|
||||||
<h3>Incomplete Bids</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Incomplete Bids"
|
|
||||||
:todoNumber="bidsTodoNumber"
|
|
||||||
:completedNumber="bidsCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="navigateTo('/calendar')">
|
|
||||||
Incomplete Bids
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Unapproved Estimates Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<ChatBubbleQuestion class="widget-icon" />
|
|
||||||
<h3>Unapproved Estimates</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Unapproved Estimates"
|
|
||||||
:todoNumber="estimatesTodoNumber"
|
|
||||||
:completedNumber="estimatesCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="navigateTo('/estimates')">
|
|
||||||
Unapproved Estimates
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Half Down Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<CreditCard class="widget-icon" />
|
|
||||||
<h3>Half Down Payments</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Half Down Payments"
|
|
||||||
:todoNumber="halfDownTodoNumber"
|
|
||||||
:completedNumber="halfDownCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="navigateTo('/jobs')">
|
|
||||||
Half Down Payments
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Late Balances Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<Hammer class="widget-icon" />
|
|
||||||
<h3>Jobs In Queue</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Jobs In Queue"
|
|
||||||
:todoNumber="jobQueueTodoNumber"
|
|
||||||
:completedNumber="jobQueueCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="navigateTo('/jobs')">
|
|
||||||
View Queued Jobs
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
</div>
|
|
||||||
<DataTable
|
<DataTable
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
|
@ -128,10 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import Card from "../common/Card.vue";
|
|
||||||
import DataTable from "../common/DataTable.vue";
|
import DataTable from "../common/DataTable.vue";
|
||||||
import TodoChart from "../common/TodoChart.vue";
|
|
||||||
import { Edit, ChatBubbleQuestion, CreditCard, Hammer } from "@iconoir/vue";
|
|
||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import Api from "../../api";
|
import Api from "../../api";
|
||||||
import { useLoadingStore } from "../../stores/loading";
|
import { useLoadingStore } from "../../stores/loading";
|
||||||
|
|
@ -286,45 +188,4 @@ onMounted(async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="css">
|
<style lang=""></style>
|
||||||
.widgets-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 20px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.widget-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 20px 20px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-icon {
|
|
||||||
color: var(--theme-primary-strong);
|
|
||||||
width: 24px;
|
|
||||||
height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-header h3 {
|
|
||||||
margin: 0;
|
|
||||||
color: #2c3e50;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin: 0;
|
|
||||||
width: 200px;
|
|
||||||
align-items: center;
|
|
||||||
padding: 20px 20px 20px;
|
|
||||||
/*gap: 15px;*/
|
|
||||||
}
|
|
||||||
.page-container {
|
|
||||||
height: 100%;
|
|
||||||
margin: 20px;
|
|
||||||
gap: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
|
|
@ -160,29 +160,6 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Card>
|
</Card>
|
||||||
<!-- 15 Day Follow Up Widget -->
|
|
||||||
<Card >
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<Calendar class="widget-icon" />
|
|
||||||
<h3>15 Day Follow Ups</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="15 Day Follow Ups"
|
|
||||||
:todoNumber="fifteenDayTodoNumber"
|
|
||||||
:completedNumber="fifteenDayCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="navigateTo('/calendar')">
|
|
||||||
View Follow Ups
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Late Balances Widget -->
|
<!-- Late Balances Widget -->
|
||||||
<Card >
|
<Card >
|
||||||
<template #header>
|
<template #header>
|
||||||
|
|
@ -200,7 +177,7 @@
|
||||||
>
|
>
|
||||||
</TodoChart>
|
</TodoChart>
|
||||||
<button class="sidebar-button"
|
<button class="sidebar-button"
|
||||||
@click="navigateTo('/invoices')">
|
@click="navigateTo('/jobs')">
|
||||||
Late Balances
|
Late Balances
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,55 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<div>
|
||||||
<h2>Invoices</h2>
|
<h2>Invoices</h2>
|
||||||
<!-- Todo Chart Section -->
|
|
||||||
<div class = "widgets-grid">
|
|
||||||
<!-- Ready to Invoice Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<CalendarCheck class="widget-icon" />
|
|
||||||
<h3>Ready To Invoice</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Ready To Invoice"
|
|
||||||
:todoNumber="invoiceTodoNumber"
|
|
||||||
:completedNumber="invoiceCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="filterBy('ready')">
|
|
||||||
View Ready To Invoice
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Late Balances Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<CardNoAccess class="widget-icon" />
|
|
||||||
<h3>Late Balances</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Late Balances"
|
|
||||||
:todoNumber="balancesTodoNumber"
|
|
||||||
:completedNumber="balancesCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="filterBy('late')">
|
|
||||||
View Late Balances
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
</div>
|
|
||||||
<DataTable
|
<DataTable
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
|
@ -62,15 +13,12 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import Card from "../common/Card.vue";
|
|
||||||
import DataTable from "../common/DataTable.vue";
|
import DataTable from "../common/DataTable.vue";
|
||||||
import TodoChart from "../common/TodoChart.vue";
|
|
||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import Api from "../../api";
|
import Api from "../../api";
|
||||||
import { useLoadingStore } from "../../stores/loading";
|
import { useLoadingStore } from "../../stores/loading";
|
||||||
import { usePaginationStore } from "../../stores/pagination";
|
import { usePaginationStore } from "../../stores/pagination";
|
||||||
import { useFiltersStore } from "../../stores/filters";
|
import { useFiltersStore } from "../../stores/filters";
|
||||||
import { CardNoAccess, CalendarCheck } from "@iconoir/vue";
|
|
||||||
|
|
||||||
const loadingStore = useLoadingStore();
|
const loadingStore = useLoadingStore();
|
||||||
const paginationStore = usePaginationStore();
|
const paginationStore = usePaginationStore();
|
||||||
|
|
@ -96,10 +44,6 @@ const columns = [
|
||||||
{ label: "Grand Total", fieldName: "grandTotal", type: "text", sortable: true },
|
{ label: "Grand Total", fieldName: "grandTotal", type: "text", sortable: true },
|
||||||
];
|
];
|
||||||
|
|
||||||
const filterBy = () => {
|
|
||||||
console.log("DEBUG: Invoices filterBy not implemented yet.");
|
|
||||||
}
|
|
||||||
|
|
||||||
const handleInvoiceClick = () => {
|
const handleInvoiceClick = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -191,45 +135,4 @@ onMounted(async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="css">
|
<style lang=""></style>
|
||||||
.widgets-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 20px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.widget-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 20px 20px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-icon {
|
|
||||||
color: var(--theme-primary-strong);
|
|
||||||
width: 24px;
|
|
||||||
height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-header h3 {
|
|
||||||
margin: 0;
|
|
||||||
color: #2c3e50;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin: 0;
|
|
||||||
width: 200px;
|
|
||||||
align-items: center;
|
|
||||||
padding: 20px 20px 20px;
|
|
||||||
/*gap: 15px;*/
|
|
||||||
}
|
|
||||||
.page-container {
|
|
||||||
height: 100%;
|
|
||||||
margin: 20px;
|
|
||||||
gap: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
|
|
@ -1,101 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="page-container">
|
<div>
|
||||||
<h2>Jobs</h2>
|
<h2>Jobs</h2>
|
||||||
<!-- Todo Chart Section -->
|
|
||||||
<div class = "widgets-grid">
|
|
||||||
<!-- Jobs in Queue Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<Hammer class="widget-icon" />
|
|
||||||
<h3>Jobs In Queue</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Jobs In Queue"
|
|
||||||
:todoNumber="jobQueueTodoNumber"
|
|
||||||
:completedNumber="jobQueueCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="filterBy('in queue')">
|
|
||||||
View Queued Jobs
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Jobs In Progress Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<Hammer class="widget-icon" />
|
|
||||||
<h3>Jobs In Progress</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Jobs in Progress"
|
|
||||||
:todoNumber="progressTodoNumber"
|
|
||||||
:completedNumber="progressCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="filterBy('in progress')">
|
|
||||||
View Jobs In Progress
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Late Jobs Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<Alarm class="widget-icon" />
|
|
||||||
<h3>Late Jobs</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Late Jobs"
|
|
||||||
:todoNumber="lateTodoNumber"
|
|
||||||
:completedNumber="lateCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="filterBy('late')">
|
|
||||||
View Late Jobs
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
<!-- Ready to Invoice Widget -->
|
|
||||||
<Card>
|
|
||||||
<template #header>
|
|
||||||
<div class="widget-header">
|
|
||||||
<CalendarCheck class="widget-icon" />
|
|
||||||
<h3>Ready To Invoice</h3>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template #content>
|
|
||||||
<div class="widget-content">
|
|
||||||
<TodoChart
|
|
||||||
title="Ready To Invoice"
|
|
||||||
:todoNumber="invoiceTodoNumber"
|
|
||||||
:completedNumber="invoiceCompletedNumber"
|
|
||||||
>
|
|
||||||
</TodoChart>
|
|
||||||
<button class="sidebar-button"
|
|
||||||
@click="navigateTo('/invoices')">
|
|
||||||
View Ready To Invoice
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Card>
|
|
||||||
</div>
|
|
||||||
<DataTable
|
<DataTable
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
|
@ -108,17 +13,13 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import Card from "../common/Card.vue";
|
|
||||||
import DataTable from "../common/DataTable.vue";
|
import DataTable from "../common/DataTable.vue";
|
||||||
import TodoChart from "../common/TodoChart.vue";
|
|
||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted } from "vue";
|
||||||
import { useRouter } from "vue-router";
|
|
||||||
import Api from "../../api";
|
import Api from "../../api";
|
||||||
import { useLoadingStore } from "../../stores/loading";
|
import { useLoadingStore } from "../../stores/loading";
|
||||||
import { usePaginationStore } from "../../stores/pagination";
|
import { usePaginationStore } from "../../stores/pagination";
|
||||||
import { useFiltersStore } from "../../stores/filters";
|
import { useFiltersStore } from "../../stores/filters";
|
||||||
import { useNotificationStore } from "../../stores/notifications-primevue";
|
import { useNotificationStore } from "../../stores/notifications-primevue";
|
||||||
import { Alarm, CalendarCheck, Hammer } from "@iconoir/vue";
|
|
||||||
|
|
||||||
const loadingStore = useLoadingStore();
|
const loadingStore = useLoadingStore();
|
||||||
const paginationStore = usePaginationStore();
|
const paginationStore = usePaginationStore();
|
||||||
|
|
@ -137,15 +38,6 @@ const columns = [
|
||||||
{ label: "Progress", fieldName: "percentComplete", type: "text", sortable: true },
|
{ label: "Progress", fieldName: "percentComplete", type: "text", sortable: true },
|
||||||
];
|
];
|
||||||
|
|
||||||
const router = useRouter();
|
|
||||||
const navigateTo = (path) => {
|
|
||||||
router.push(path);
|
|
||||||
};
|
|
||||||
|
|
||||||
const filterBy = (filter) => {
|
|
||||||
console.log("DEBUG: Jobs filterBy not implemented yet.");
|
|
||||||
};
|
|
||||||
|
|
||||||
// Handle lazy loading events from DataTable
|
// Handle lazy loading events from DataTable
|
||||||
const handleLazyLoad = async (event) => {
|
const handleLazyLoad = async (event) => {
|
||||||
console.log("Jobs page - handling lazy load:", event);
|
console.log("Jobs page - handling lazy load:", event);
|
||||||
|
|
@ -277,45 +169,4 @@ onMounted(async () => {
|
||||||
// });
|
// });
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="css">
|
<style lang=""></style>
|
||||||
.widgets-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 20px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.widget-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
padding: 20px 20px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-icon {
|
|
||||||
color: var(--theme-primary-strong);
|
|
||||||
width: 24px;
|
|
||||||
height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-header h3 {
|
|
||||||
margin: 0;
|
|
||||||
color: #2c3e50;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.widget-content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin: 0;
|
|
||||||
width: 200px;
|
|
||||||
align-items: center;
|
|
||||||
padding: 20px 20px 20px;
|
|
||||||
/*gap: 15px;*/
|
|
||||||
}
|
|
||||||
.page-container {
|
|
||||||
height: 100%;
|
|
||||||
margin: 20px;
|
|
||||||
gap: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue