+ You need administrator privileges to access this dashboard. +
++ Monitor approval KPIs, response times, and department performance +
+Loading dashboard data...
+Response Time Trend Chart
+Approval/Rejection Ratio Chart
++ Department + | ++ Total Requests + | ++ Avg Response Time + | ++ Approval Rate + | ++ Pending + | ++ Overdue % + | +
---|---|---|---|---|---|
+ {{ dept.name }}
+ |
+
+ {{ dept.total }}
+ |
+
+ {{ formatDuration(dept.avgResponseHours) }}
+ |
+
+ {{ formatPercentage(dept.approvalRate) }}
+ |
+
+ {{ dept.pending }}
+ |
+
+
+ {{ formatPercentage(dept.overduePercentage) }}
+
+ |
+
+ No department data available for the selected time period. + |
+
{{ currentUser.email }}
+{{ currentUser.role }}
+{{ currentUser.department }}
+Role information has been logged to the browser console. Open Developer Tools (F12) and check the console tab for detailed permission information.
++ This tool allows you to temporarily switch your role to view the system from different perspectives +
+{{ message }}
++ Full system access with complete control over users, settings, and content. Ability to manage all aspects of the system including user roles and permissions. +
+ ++ Administrative access with ability to manage content, approve requests, and view performance metrics. Access to dashboards and management tools. +
+ ++ Standard user access with ability to view permitted documents, request access to restricted content, and perform basic operations within granted permissions. +
+ ++ This role switch is temporary and will reset when you refresh the page. This tool is for testing and demonstration purposes only. +
+ +