-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/app/components/app/item/list-cfg.ts b/app/components/app/item/list-cfg.ts
index c3db4f50..fc3e6770 100644
--- a/app/components/app/item/list-cfg.ts
+++ b/app/components/app/item/list-cfg.ts
@@ -3,30 +3,78 @@ import { defineAsyncComponent } from 'vue'
const action = defineAsyncComponent(() => import('~/components/pub/my-ui/data/dropdown-action-dud.vue'))
-const _doctorStatus = {
- 0: 'Tidak Aktif',
- 1: 'Aktif',
-}
-
export const config: Config = {
- cols: [{}, {}, { width: 50 }],
+ cols: [
+ { width: 100 },
+ { width: 100 },
+ { width: 100 },
+ { width: 100 },
+ { width: 100 },
+ { width: 100 },
+ { width: 100 },
+ { width: 100 },
+ { width: 50 },
+ ],
headers: [
[
{ label: 'Kode' },
{ label: 'Nama' },
+ { label: 'Item Group' },
+ { label: 'UOM' },
+ { label: 'Infra' },
+ { label: 'Stok' },
+ { label: 'Harga Beli' },
+ { label: 'Harga Jual' },
{ label: 'Aksi' },
],
],
- keys: ['code', 'name', 'action'],
+ keys: ['code', 'name', 'itemGroup_code', 'uom_code', 'infra_code', 'stock', 'buyingPrice', 'sellingPrice', 'action'],
delKeyNames: [
{ key: 'code', label: 'Kode' },
{ key: 'name', label: 'Nama' },
],
- parses: {},
+ parses: {
+ itemGroup_code: (rec: unknown): unknown => {
+ const recX = rec as any
+ return recX.itemGroup_code || '-'
+ },
+ uom_code: (rec: unknown): unknown => {
+ const recX = rec as any
+ return recX.uom?.name || '-'
+ },
+ infra_code: (rec: unknown): unknown => {
+ const recX = rec as any
+ return recX.infra_code || '-'
+ },
+ stock: (rec: unknown): unknown => {
+ const recX = rec as any
+ const value = recX.stock
+ if (value === null || value === undefined) {
+ return '-'
+ }
+ return value
+ },
+ buyingPrice: (rec: unknown): unknown => {
+ const recX = rec as any
+ const value = recX.buyingPrice
+ if (value === null || value === undefined) {
+ return '-'
+ }
+ return value
+ },
+ sellingPrice: (rec: unknown): unknown => {
+ const recX = rec as any
+ const value = recX.sellingPrice
+ if (value === null || value === undefined) {
+ return '-'
+ }
+ return value
+ },
+ },
components: {
action(rec, idx) {
@@ -39,9 +87,5 @@ export const config: Config = {
},
},
- htmls: {
- patient_address(_rec) {
- return '-'
- },
- },
+ htmls: {},
}
diff --git a/app/components/app/item/list.vue b/app/components/app/item/list.vue
index 96697bde..2f7908cb 100644
--- a/app/components/app/item/list.vue
+++ b/app/components/app/item/list.vue
@@ -1,14 +1,39 @@
-
+
diff --git a/app/components/app/item/picker.vue b/app/components/app/item/picker.vue
deleted file mode 100644
index e69de29b..00000000
diff --git a/app/components/app/item/search.vue b/app/components/app/item/search.vue
deleted file mode 100644
index e69de29b..00000000
diff --git a/app/components/app/item/status-badge.vue b/app/components/app/item/status-badge.vue
deleted file mode 100644
index 32cdfbca..00000000
--- a/app/components/app/item/status-badge.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
- {{ statusText }}
-
-
-
diff --git a/app/components/app/mcu-order/entry-for-ap.vue b/app/components/app/mcu-order/entry-for-ap.vue
new file mode 100644
index 00000000..80d0f7df
--- /dev/null
+++ b/app/components/app/mcu-order/entry-for-ap.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+ Tgl. Order
+
+
+
+
+
+ DPJP
+
+
+
+
+
+ PPDS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Lokalisasi
+
+
+
+
+
+ Diagnosa Klinik
+
+
+
+
+
+ Stadium T
+
+
+
+
+
+ Stadium M
+
+
+
+
+
+ Stadium N
+
+
+
+
+
+
+ Keterangan Klinik
+
+
+
+
+
+
+
+
+
+ Riwayat Dulu
+
+
+
+
+
+ Riwayat Sekarang
+
+
+
+
+
+ Pemeriksaan PA Sebelumnya
+
+
+
+
+
+
+ Keterangan PA Sebelumnya
+
+
+
+
+
+ Pemeriksaan Penunjang
+
+
+
+
+
+
+
+
+
+
diff --git a/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-list.vue b/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-list.vue
index e4836c7c..fabb0463 100644
--- a/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-list.vue
+++ b/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-list.vue
@@ -45,6 +45,7 @@ const {
handleSearch,
fetchData: getItemList,
} = usePaginatedList({
+ syncToUrl: false,
fetchFn: async (params: any) => {
const result = await getList({
search: params.search,
@@ -102,19 +103,23 @@ onMounted(async () => {
-
diff --git a/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-picker.vue b/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-picker.vue
index 4a44a40f..11a2b514 100644
--- a/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-picker.vue
+++ b/app/components/app/therapy-protocol/picker-dialog/arrangement-procedure/procedure-picker.vue
@@ -1,62 +1,143 @@
-
-
-
{{ title }}
-
+
+
+
+
+
+
+
+
+
+ Prosedur
+ ICD-X
+ Action
+
+
+
+
+
+ Belum ada data dipilih.
+
+
+
+
+
+ {{ (field.value as ProcedureSrc)?.name }}
+
+
+ {{ (field.value as ProcedureSrc)?.code }}
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+ Prosedur
+ ICD-X
+
+
+
+
+
+ Tidak ada data.
+
+
-
-
-
-
- Prosedur
- ICD-X
- Action
-
-
-
-
- {{ field.value?.name }}
- {{ field.value?.code }}
-
-
-
-
-
-
-
-
+
+
+ {{ item.name }}
+
+
+ {{ item.code }}
+
+
+
+
diff --git a/app/components/content/ap-lab-order/entry.vue b/app/components/content/ap-lab-order/entry.vue
new file mode 100644
index 00000000..84349b70
--- /dev/null
+++ b/app/components/content/ap-lab-order/entry.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/components/content/ap-lab-order/list.vue b/app/components/content/ap-lab-order/list.vue
new file mode 100644
index 00000000..b04cf7e5
--- /dev/null
+++ b/app/components/content/ap-lab-order/list.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+ handleActionRemove(recId, getMyList, toast)"
+ @cancel=""
+ />
+
diff --git a/app/components/content/ap-lab-order/main.vue b/app/components/content/ap-lab-order/main.vue
new file mode 100644
index 00000000..033d093f
--- /dev/null
+++ b/app/components/content/ap-lab-order/main.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
diff --git a/app/components/content/encounter/entry.vue b/app/components/content/encounter/entry.vue
index a06a4165..6fab59e8 100644
--- a/app/components/content/encounter/entry.vue
+++ b/app/components/content/encounter/entry.vue
@@ -188,6 +188,7 @@ onMounted(async () => {
@event="handleEvent"
@fetch="handleFetch"
/>
+
{
"
@save="handleSavePatient"
/>
+
+