From 7fdd5c61f0047bac315f7a9962c801163e5bd9be Mon Sep 17 00:00:00 2001 From: Munawwirul Jamal Date: Thu, 28 Aug 2025 08:11:20 +0700 Subject: [PATCH 01/27] chore: modified gitignore and readme --- .gitignore | 147 ++++++----------------------------------------------- README.md | 6 ++- 2 files changed, 21 insertions(+), 132 deletions(-) diff --git a/.gitignore b/.gitignore index 9a5acedf..4a7f73a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,139 +1,24 @@ +# Nuxt dev/build outputs +.output +.data +.nuxt +.nitro +.cache +dist + +# Node dependencies +node_modules + # Logs logs *.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json +# Misc +.DS_Store +.fleet +.idea -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variable files +# Local env files .env .env.* !.env.example - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next -out - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# vuepress v2.x temp and cache directory -.temp -.cache - -# Sveltekit cache directory -.svelte-kit/ - -# vitepress build output -**/.vitepress/dist - -# vitepress cache directory -**/.vitepress/cache - -# Docusaurus cache and generated files -.docusaurus - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# Firebase cache directory -.firebase/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# yarn v3 -.pnp.* -.yarn/* -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions - -# Vite logs files -vite.config.js.timestamp-* -vite.config.ts.timestamp-* diff --git a/README.md b/README.md index 61992650..078e8c9a 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# simrs-fe \ No newline at end of file +# SIMRS - FE + +RSSA - Front End + +If you see this, the development is still not merged yet. Please check another branch. From e6442a0d31912f3fdb862576fdb04f2a5bf99db1 Mon Sep 17 00:00:00 2001 From: riefive Date: Tue, 9 Sep 2025 13:30:51 +0700 Subject: [PATCH 02/27] feat(sep): add list component --- app/components/app/sep/list-cfg.ts | 78 +++++++++++++++ app/components/app/sep/list.vue | 34 +++++++ app/components/content/sep/list.vue | 121 ++++++++++++++++++++++++ app/pages/(features)/bpjs/sep/index.vue | 40 ++++++++ 4 files changed, 273 insertions(+) create mode 100644 app/components/app/sep/list-cfg.ts create mode 100644 app/components/app/sep/list.vue create mode 100644 app/components/content/sep/list.vue create mode 100644 app/pages/(features)/bpjs/sep/index.vue diff --git a/app/components/app/sep/list-cfg.ts b/app/components/app/sep/list-cfg.ts new file mode 100644 index 00000000..013c7d6b --- /dev/null +++ b/app/components/app/sep/list-cfg.ts @@ -0,0 +1,78 @@ +import type { Col, KeyLabel, RecComponent, RecStrFuncComponent, Th } from '~/components/pub/custom-ui/data/types' +import { defineAsyncComponent } from 'vue' + +type SepDto = any + +const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue')) + +export const cols: Col[] = [ + { width: 120 }, // TGL. SEP + { width: 150 }, // NO. SEP + { width: 120 }, // PELAYANAN + { width: 100 }, // JALUR + { width: 150 }, // NO. RM + { width: 200 }, // NAMA PASIEN + { width: 150 }, // NO. KARTU BPJS + { width: 150 }, // NO. SURAT KONTROL + { width: 150 }, // TGL SURAT KONTROL + { width: 150 }, // KLINIK TUJUAN + { width: 200 }, // DPJP + { width: 200 }, // DIAGNOSIS AWAL + { width: 100 }, // AKSI +] + +export const header: Th[][] = [ + [ + { label: 'TGL. SEP' }, + { label: 'NO. SEP' }, + { label: 'PELAYANAN' }, + { label: 'JALUR' }, + { label: 'NO. RM' }, + { label: 'NAMA PASIEN' }, + { label: 'NO. KARTU BPJS' }, + { label: 'NO. SURAT KONTROL' }, + { label: 'TGL SURAT KONTROL' }, + { label: 'KLINIK TUJUAN' }, + { label: 'DPJP' }, + { label: 'DIAGNOSIS AWAL' }, + { label: 'AKSI' }, + ], +] + +export const keys = [ + 'tgl_sep', + 'no_sep', + 'pelayanan', + 'jalur', + 'no_rm', + 'nama_pasien', + 'no_kartu_bpjs', + 'no_surat_kontrol', + 'tgl_surat_kontrol', + 'klinik_tujuan', + 'dpjp', + 'diagnosis_awal', + 'action', +] + +export const delKeyNames: KeyLabel[] = [ + { key: 'no_sep', label: 'NO. SEP' }, + { key: 'nama_pasien', label: 'Nama Pasien' }, +] + +export const funcParsed: Record any> = { + +} + +export const funcComponent: RecStrFuncComponent = { + action(rec, idx) { + const res: RecComponent = { + idx, + rec: rec as object, + component: action, + } + return res + }, +} + +export const funcHtml: Record any> = {} diff --git a/app/components/app/sep/list.vue b/app/components/app/sep/list.vue new file mode 100644 index 00000000..25707062 --- /dev/null +++ b/app/components/app/sep/list.vue @@ -0,0 +1,34 @@ + + + diff --git a/app/components/content/sep/list.vue b/app/components/content/sep/list.vue new file mode 100644 index 00000000..d8bf09aa --- /dev/null +++ b/app/components/content/sep/list.vue @@ -0,0 +1,121 @@ + + + diff --git a/app/pages/(features)/bpjs/sep/index.vue b/app/pages/(features)/bpjs/sep/index.vue new file mode 100644 index 00000000..7c527526 --- /dev/null +++ b/app/pages/(features)/bpjs/sep/index.vue @@ -0,0 +1,40 @@ + + + From 93f5ba009297d243605e35386860e0cd4e1fa9f5 Mon Sep 17 00:00:00 2001 From: riefive Date: Wed, 10 Sep 2025 12:56:34 +0700 Subject: [PATCH 03/27] feat(sep): add form entry --- app/components/app/equipment/entry-form.vue | 5 - app/components/app/sep/entry-form.vue | 123 ++++++++++++++++++++ app/components/content/sep/entry.vue | 20 ++++ app/components/content/sep/list.vue | 6 +- app/pages/(features)/bpjs/sep/add.vue | 41 +++++++ 5 files changed, 188 insertions(+), 7 deletions(-) create mode 100644 app/components/app/sep/entry-form.vue create mode 100644 app/components/content/sep/entry.vue create mode 100644 app/pages/(features)/bpjs/sep/add.vue diff --git a/app/components/app/equipment/entry-form.vue b/app/components/app/equipment/entry-form.vue index f54a8389..1fbaeba8 100644 --- a/app/components/app/equipment/entry-form.vue +++ b/app/components/app/equipment/entry-form.vue @@ -2,14 +2,9 @@ // types import type z from 'zod' import type { MaterialFormData } from '~/schemas/material' -<<<<<<< HEAD:app/components/app/equipment/entry-form.vue -======= // helpers import { toTypedSchema } from '@vee-validate/zod' import { useForm } from 'vee-validate' -// components -import Label from '~/components/pub/custom-ui/form/label.vue' ->>>>>>> 266d5f740b15942ca7b8845c00573640fdc9a3b2:app/components/app/material/entry-form.vue interface Props { schema: z.ZodSchema diff --git a/app/components/app/sep/entry-form.vue b/app/components/app/sep/entry-form.vue new file mode 100644 index 00000000..73ca08a5 --- /dev/null +++ b/app/components/app/sep/entry-form.vue @@ -0,0 +1,123 @@ + + +