Skip to content

Operations And Performance — Business Rules

Tổng quan

Domain này gom các báo cáo vận hành và hiệu suất làm việc:

  • appointment
  • service / service group / service detail
  • annual leave
  • task
  • KPI
  • tour income

Đây không phải một bounded context sạch. Nó là chỗ giao nhau giữa ecommerce, hrm, projectskpi.

Scope nghiệp vụ

NhómVai tròVí dụ page
AppointmentTheo dõi lịch hẹnAppointmentReport.tsx
Service operationsTheo dõi DV theo nhóm / DV / customerServiceReportTab.tsx và các child pages
Annual leaveTheo dõi nghỉ phépAnnualLeaveReport.tsx
Task / tour incomeTheo dõi hiệu suất task và doanh thu tourTaskReport.tsx, TourIncomeReport.tsx
KPITheo dõi KPI tổng quan và detail theo assignee/metricKPIReport.tsx, KPIReportDetail.tsx

Luồng chính

text
Report cards
  -> appointment / service / task / KPI / annual leave / tour income
  -> lọc theo ngày / branch / user / service / metric
  -> aggregate + table + chart
  -> drill xuống customer, assignee, service, task detail

Quy tắc nghiệp vụ

Quy tắc
BR-ROP-001service report là một cluster 3 tab, không phải một page đơn.
BR-ROP-002KPI report dùng route detail riêng :id/:type, khác pattern filter-table chuẩn của các report còn lại.
BR-ROP-003annual leave là people-ops fact nhưng đang đứng cạnh service/task/KPI trong cùng report shell.
BR-ROP-004tour income nhìn như report nhưng hiện vẫn có write path inline trên table.
BR-ROP-005Nhóm này phản ánh performance/ops hơn là tài chính thuần; nhiều metric không reconcile trực tiếp với revenue reports.

Boundary

BoundaryGhi chú
ecommerceAppointment + service report dựa mạnh vào order/service/product/invoice
hrmAnnual leave dùng HRM fact/view
projectsTask report và tour income dựa vào project/task models
kpiKPI detail page reuse components từ module quản trị KPI

Rủi ro / Findings

MứcFinding
P1tour income không còn là read-only report thuần vì có inline edit.
P1service report có risk không reconcile giữa các tab do công thức/time-basis khác nhau.
P2annual leave đang có default year stale trong filter.
P2Boundary vận hành hiện bị trộn giữa ops reporting, KPI management và project performance.