Create a modern, responsive single-page Web Application for "Generator SOP (Standar…
- User
Create a modern, responsive single-page Web Application for "Generator SOP (Standar Operasional Prosedur) Satpol PPK Kabupaten Trenggalek".
The application must be built using HTML5, Tailwind CSS for styling, and Vue.js (SMILE / Progressive Enhancement style or Vite-like single-file component structure) for the frontend logic. The backend logic must be designed to integrate with Google Apps Script (Apps Script Web App) as the serverless API, and Google Sheets as the main database.
1. DESIGN & UI SYSTEM (Tailwind CSS)
- Theme: Professional, institutional, and authoritative.
- Color Palette:
- Primary: Regality Khaki/Brown (#8B5A2B or #5C4033) mixed with Satpol PP Satria Blue (#1E3A8A) and Gold/Yellow accents (#EAB308) to match the official Satpol PP branding.
- Background: Clean slate/gray (#F8FAFC).
- Layout: Responsive dashboard with a fixed sidebar for navigation, a top header displaying the "Satpol PPK Trenggalek" logo placeholder, and a main content area that updates dynamically via Vue.js state.
2. CORE FEATURES & PAGES
- Dashboard: Display quick stats (Total SOPs, SOPs by Category, Recent Generated SOPs). Include a quick-search bar.
- SOP Generator Form: A step-by-step or tabbed wizard form to create a new SOP:
- Step 1 (Identitas): Judul SOP, Nomor SOP, Tanggal Pembuatan, Tanggal Efektif, Nama Pembuat, Jabatan.
- Step 2 (Dasar Hukum & Kualifikasi): Textarea untuk input Dasar Hukum (multi-input), Kualifikasi Pelaksana, Keterkaitan.
- Step 3 (Peralatan & Pencatatan): Peralatan/Perlengkapan yang dibutuhkan, Peringatan jika tidak dilaksanakan, Pencatatan/Pendataan.
- Step 4 (Prosedur Utama): Urutan langkah kegiatan, Pelaksana (aktor), Mutu Baku (Kelengkapan, Waktu, Output).
- SOP Directory / List: View all saved SOPs in a data table with pagination, filtering by category, and a search function.
- SOP Export: A clean print-preview overlay that formats the selected SOP into the official Indonesian Government SOP standard layout (Kotak-kotak matriks identitas dan tabel alur prosedur). Provide a "Print to PDF" button using standard CSS
@media print.
3. FRONTEND ARCHITECTURE (Vue.js & HTML)
- Use Vue 3 (Composition API or Options API) to manage form states, active tabs, and data fetching.
- Implement client-side validation for mandatory fields in the SOP form.
- Use local state to handle temporary data before saving.
- Include a simulated/mock data fetch system initially so the app is immediately interactive before Google Apps Script credentials are put in.
4. BACKEND INTEGRATION SPECIFICATION (Google Apps Script & Google Sheets)
- Assistant
Implemented a complete responsive SOP management application for Satpol PPK Kabupaten Trenggalek.
Implemented
- Institutional dashboard with khaki, satria blue, gold, and slate visual system
- Responsive fixed sidebar and mobile navigation
- Dashboard metrics, category distribution, recent SOP activity, and quick search
- Four-step SOP generator:
- Identitas
- Dasar hukum dan kualifikasi
- Peralatan dan pencatatan
- Prosedur utama and mutu baku
- Client-side validation for required fields
- SOP directory with:
- Search
- Category filtering
- Pagination
- Status badges
- Preview actions
- Official-style SOP print preview with matrix identity tables and procedure flow table
- Print to PDF support through
window.print()and@media print - Mock data mode for immediate interaction
- User
isian apa bisa dilengkapi?
- Assistant
Bisa. Semua isian pada Generator SOP dapat dilengkapi secara manual:
- Judul, nomor, kategori, tanggal, nama, dan jabatan
- Dasar hukum lebih dari satu
- Kualifikasi pelaksana dan keterkaitan
- Peralatan/perlengkapan lebih dari satu
- Peringatan dan pencatatan
- Langkah prosedur, pelaksana, kelengkapan, waktu, dan output
Klik Generator SOP, isi setiap tahapan, lalu pilih Simpan dan lanjutkan. Saat menekan Simpan SOP, sistem akan memvalidasi seluruh kolom wajib sebelum dokumen disimpan.
Mode demo tetap aktif sehingga data akan tersimpan di tampilan lokal sebelum API Google Apps Script dikonfigurasi. Build juga sudah berhasil diverifikasi.
- User
Direktori Proses bisnis belum ada, dan tambahkan Master data, buat Formulir jika dimungkinkan gunakan dropdown, dropdown bertingkat , dropdown multi box, dan masih kurang direktori proses bisnis
- Assistant
Sudah ditambahkan dan build berhasil.
Perubahan utama
- Menu baru Proses Bisnis
- Menu baru Master Data
- Direktori Proses Bisnis berisi:
- Daftar proses bisnis
- Kategori proses
- Pemilik proses
- Jumlah SOP terkait
- Jumlah aktivitas
- Output proses
- Status aktif/draft
- Pencarian dan filter kategori
- Master Data berisi referensi:
- Unit kerja
- Pelaksana/aktor
- Peralatan
- Dasar hukum
- Pencarian master data
- Formulir SOP diperbarui menjadi Formulir Generator SOP
- Ditambahkan dropdown:
- Unit kerja penanggung jawab
- Kategori proses bisnis
- Proses bisnis bertingkat berdasarkan kategori
- Pelaksana pada setiap langkah prosedur
- Kelengkapan setiap langkah prosedur
- Ditambahkan multi-box:
- Pelaksana terkait
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.