Service Management Platform

AJ EV Service OS

Blueprint ระบบ Web Application สำหรับบริหารงานศูนย์บริการรถมอเตอร์ไซค์ไฟฟ้า AJ EV ครอบคลุม PDI, Warranty, Maintenance, Claim, Part Warranty, Vehicle Search และ Dashboard ผู้บริหาร

AJ EV Service Command Live Operations
Warranty1,284
Claims86
Repair Jobs142
PDI Pass97%
Claim Workflow
Live Timeline

Dealer → HQ → QC → Warehouse → Shipping → Close Job

Platform Standard

ทุกหน้าพร้อมสำหรับงานบริการจริง

ออกแบบให้รองรับการค้นหา กรองข้อมูล Export, Print, Notification, Audit Log และประวัติการทำรายการ

Search Filter Export Excel Export PDF Print Notification Audit Log History

Core Modules

3 Module หลักของระบบ

01

บริการก่อนส่งมอบรถ

ตรวจสภาพรถก่อนส่งมอบและแจ้งรับประกันหลังขาย พร้อมแนบรูป วิดีโอ เอกสาร ลายเซ็น และ Generate PDF

  • PDI Checklist: ไฟ เบรก โช๊ค ล้อ ยาง แบตเตอรี่ มอเตอร์ Controller GPS OBC Charger
  • Warranty Registration พร้อม Warranty Number, QR Code, Barcode, Email และ SMS
  • Dashboard รถรอตรวจ ผ่าน และไม่ผ่าน
02

บริการหลังการขาย

จัดการเช็คระยะ เคลม ติดตามงานบริการ รับประกันอะไหล่ และค้นหาประวัติรถแบบครบวงจร

  • Maintenance: เลขไมล์ ช่าง ค่าแรง อะไหล่ รูป ลายเซ็นลูกค้า และ PDF
  • Claim Workflow: Dealer → HQ → QC → Warehouse → Shipping → Close Job
  • Vehicle Search ด้วย VIN, Motor, Battery, IMEI, Plate, Owner และ Dealer
03

ลงทะเบียนรับประกัน AJ EV Bike

เปิดให้ลูกค้าลงทะเบียนรับประกันด้วยตัวเอง และค้นหาข้อมูลรถผ่าน VIN, QR, Barcode หรือเบอร์โทร

  • Customer Registration: ชื่อ เบอร์ Email Address VIN Motor Battery Dealer
  • Upload ใบเสร็จและรูปภาพ พร้อม Email / LINE OA Confirm
  • แสดง Warranty, Claim, Maintenance, Dealer และ Timeline

Claim Workflow

ลำดับงานเคลมที่ติดตามได้ทุกขั้น

1Dealerสร้างใบเคลม
2สำนักงานใหญ่ตรวจสอบข้อมูล
3QCอนุมัติ/ปฏิเสธ
4Warehouseจัดอะไหล่
5Shippingส่งของ
6Close Jobปิดงาน

Role Permission

สิทธิ์ผู้ใช้งาน

Super Admin Admin สำนักงานใหญ่ Dealer ช่าง QC Warehouse Call Center Customer

Reports

รายงานและ Dashboard

รองรับ Excel, PDF, CSV, Power BI, Looker Studio พร้อม Chart แบบ Pie, Bar, Line และ Heatmap

Top Dealer Top Problem Top Part Battery Failure Motor Failure Controller Failure

Architecture

Production Ready Stack

แนวทางระบบจริงตาม Master Prompt: Clean Architecture, Repository Pattern, SOLID, REST API และ Role Permission

Frontend

Next.js, React, TypeScript, TailwindCSS, Framer Motion

Backend

Node.js, NestJS, REST API, Swagger, Validation, JWT

Database

PostgreSQL, UUID, FK, Index, Audit Log, History Tables

Storage & Deploy

AWS S3, Docker, CI/CD, Production Environment

Sitemap & User Flow

โครงสร้างหน้าและเส้นทางผู้ใช้งาน

Sitemap

  • Dashboard ผู้บริหาร
  • PDI / ตรวจสภาพก่อนส่งมอบ
  • Warranty / ลงทะเบียนรับประกัน
  • Maintenance / เช็คระยะ
  • Claim / เคลมอะไหล่และอุปกรณ์
  • Part Warranty / รับประกันอะไหล่
  • Vehicle Search / ค้นหาข้อมูลรถ
  • Customer Tracking / ติดตามงานบริการ
  • Reports / Export / Audit Log

User Flow

  1. Dealer สร้างงานหรือค้นหารถด้วย VIN / Motor / Battery / QR
  2. ระบบตรวจสิทธิ์ผ่าน JWT และ Role Permission
  3. ผู้ใช้แนบรูป วิดีโอ เอกสาร และลายเซ็น
  4. ระบบสร้างเลขเอกสาร QR Code Barcode และบันทึก Audit Log
  5. Workflow ส่งต่อสำนักงานใหญ่ QC Warehouse Shipping
  6. ลูกค้าติดตามสถานะและประเมินความพึงพอใจ

Database Design

PostgreSQL Schema หลัก

ออกแบบให้ใช้ UUID, Foreign Key, Index, Audit Log และ History เพื่อรองรับการขยายระบบ

Table Purpose Key Fields
usersบัญชีผู้ใช้และพนักงานid, role_id, name, email, phone, status
rolesสิทธิ์ผู้ใช้งานid, name, permissions
dealersข้อมูลตัวแทนจำหน่ายid, code, name, province, contact
vehiclesทะเบียนรถ AJ EVid, vin, motor_no, battery_no, model, color, dealer_id
pdi_inspectionsตรวจรถก่อนส่งมอบid, vehicle_id, inspector_id, result, checked_at
warrantiesรับประกันรถid, warranty_no, vehicle_id, customer_id, start_date, end_date
maintenance_jobsเช็คระยะและซ่อมบำรุงid, vehicle_id, mileage, technician_id, total_cost
claimsงานเคลมid, claim_no, vehicle_id, category, status, dealer_id
partsอะไหล่id, part_no, name, category, warranty_months
attachmentsรูป วิดีโอ เอกสารบน S3id, entity_type, entity_id, file_url, mime_type
audit_logsประวัติการทำรายการid, actor_id, action, entity_type, entity_id, created_at
CREATE TABLE vehicles (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  vin VARCHAR(64) UNIQUE NOT NULL,
  motor_no VARCHAR(64),
  battery_no VARCHAR(64),
  imei VARCHAR(64),
  model VARCHAR(80) NOT NULL,
  color VARCHAR(80),
  dealer_id UUID REFERENCES dealers(id),
  created_at TIMESTAMPTZ DEFAULT now(),
  updated_at TIMESTAMPTZ DEFAULT now()
);

CREATE INDEX idx_vehicles_search
ON vehicles (vin, motor_no, battery_no, imei);

REST API Design

Endpoint หลักสำหรับ NestJS

POST/auth/login

เข้าสู่ระบบ รับ JWT และข้อมูลสิทธิ์

GET/dashboard/summary

ข้อมูลผู้บริหาร กราฟ และ KPI

POST/pdi-inspections

สร้างรายการตรวจ PDI พร้อม checklist

POST/warranties

สร้าง Warranty Number, QR Code และ Barcode

POST/maintenance-jobs

สร้างใบเช็คระยะ แนบรูป ลายเซ็น และ PDF

POST/claims

สร้างใบเคลมและเริ่ม workflow

PATCH/claims/:id/status

อนุมัติ ปฏิเสธ ซ่อม ส่งของ หรือปิดงาน

GET/vehicles/search

ค้นหาด้วย VIN, Motor, Battery, IMEI, Plate

POST/attachments

อัปโหลดไฟล์ไป AWS S3

GET/reports/export

Export Excel, PDF, CSV

Production Roadmap

ลำดับพัฒนาให้พร้อมใช้งานจริง

01Requirement & UX/UI

สรุป scope, sitemap, flow, wireframe และ design system

02Database & API

ออกแบบ schema, migration, Swagger, validation และ seed data

03Backend Core

NestJS modules, repository pattern, JWT, role guard, audit log

04Frontend App

Next.js dashboard, forms, table, filter, export, print และ notification

05Testing

Unit test, integration test, E2E, security test และ performance test

06Deploy

Docker, CI/CD, environment, monitoring, backup และ production checklist