// RMLWorkorderAdminDashboardView.js // This would be a separate file and view. Vue.component('rml-workorder-admin-dashboard', { template: `

Neue Aufträge

{{ stats.new || 0 }}

In Arbeit

{{ stats.in_progress || 0 }}

Überfällig

{{ stats.overdue || 0 }}

Abgeschlossen (30T)

{{ stats.completed_30d || 0 }}

`, data() { return { stats: {} } }, async mounted() { // You would create a new controller action e.g., /RMLWorkorder/getDashboardStats // const response = await axios.get(`${window.TT_CONFIG.BASE_PATH}/RMLWorkorder/getDashboardStats`); // this.stats = response.data; } })