1125 lines
72 KiB
JavaScript
1125 lines
72 KiB
JavaScript
import { ref, reactive, withCtx, createVNode, createTextVNode, withModifiers, unref, useSSRContext } from 'vue';
|
|
import { ssrRenderAttrs, ssrRenderComponent } from 'vue/server-renderer';
|
|
import { s as storeToRefs, h as VApp, i as VMain, g as VTextField, e as VBtn } from './server.mjs';
|
|
import { b as useDataLogAPIGet } from './users-C6PO6aD7.mjs';
|
|
import { c as VContainer, V as VCard, d as VRow, e as VCol } from './VCard-BaBxGxNH.mjs';
|
|
import { V as VForm } from './VForm-C-FITV-x.mjs';
|
|
import { V as VAutocomplete } from './VAutocomplete-BhsTMI-G.mjs';
|
|
import { V as VDataTable } from './VDataTable-CPlx4hZ9.mjs';
|
|
import '../_/nitro.mjs';
|
|
import 'node:http';
|
|
import 'node:https';
|
|
import 'node:fs';
|
|
import 'node:url';
|
|
import '@iconify/utils';
|
|
import 'consola/core';
|
|
import '../routes/renderer.mjs';
|
|
import 'vue-bundle-renderer/runtime';
|
|
import 'devalue';
|
|
import '@unhead/ssr';
|
|
import 'unhead';
|
|
import '@unhead/shared';
|
|
import 'vue-router';
|
|
import '@iconify/vue';
|
|
|
|
const _sfc_main = {
|
|
__name: "index",
|
|
__ssrInlineRender: true,
|
|
setup(__props) {
|
|
const search = ref("");
|
|
const today = /* @__PURE__ */ new Date();
|
|
const date = today.getFullYear() + "-" + (today.getMonth() + 1) + "-" + today.getDate();
|
|
console.log("DATE : ", date);
|
|
const headers = [
|
|
{
|
|
align: "start",
|
|
key: "name",
|
|
sortable: false
|
|
},
|
|
{ key: "date_created", title: "Tanggal terbuat" },
|
|
{ key: "User_agent", title: "Dokter" },
|
|
{ key: "URL", title: "URL" },
|
|
{ key: "IP", title: "IP" },
|
|
{ key: "Method", title: "Method" },
|
|
{ key: "Request_string", title: "Request" },
|
|
{ key: "Respon_string", title: "Respon" },
|
|
{ key: "Comment", title: "Comment" }
|
|
];
|
|
const reqDataLogAPI = reactive({
|
|
Tipe_rawat: "RI",
|
|
Tanggal_awal: date,
|
|
Tanggal_akhir: date
|
|
});
|
|
const { dataLogAPI } = storeToRefs(useDataLogAPIGet());
|
|
const { loadDataLogAPI } = useDataLogAPIGet();
|
|
const get_data = async () => {
|
|
console.log(reqDataLogAPI.Tanggal_awal);
|
|
console.log(reqDataLogAPI.Tanggal_akhir);
|
|
console.log("REQ", reqDataLogAPI);
|
|
loadDataLogAPI(reqDataLogAPI);
|
|
JSON.stringify(dataLogAPI.Request);
|
|
JSON.stringify(dataLogAPI.Respon);
|
|
console.log("DATA", dataLogAPI);
|
|
};
|
|
return (_ctx, _push, _parent, _attrs) => {
|
|
_push(`<div${ssrRenderAttrs(_attrs)}>`);
|
|
_push(ssrRenderComponent(VApp, null, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(ssrRenderComponent(VMain, null, {
|
|
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
if (_push3) {
|
|
_push3(ssrRenderComponent(VContainer, null, {
|
|
default: withCtx((_3, _push4, _parent4, _scopeId3) => {
|
|
if (_push4) {
|
|
_push4(ssrRenderComponent(VCard, {
|
|
title: "List Surat Kontrol",
|
|
flat: ""
|
|
}, {
|
|
text: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
|
if (_push5) {
|
|
_push5(ssrRenderComponent(VRow, null, {
|
|
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
|
if (_push6) {
|
|
_push6(ssrRenderComponent(VCol, null, {
|
|
default: withCtx((_6, _push7, _parent7, _scopeId6) => {
|
|
if (_push7) {
|
|
_push7(`<div class="border-thin"${_scopeId6}>`);
|
|
_push7(ssrRenderComponent(VForm, { onSubmit: get_data }, {
|
|
default: withCtx((_7, _push8, _parent8, _scopeId7) => {
|
|
if (_push8) {
|
|
_push8(ssrRenderComponent(VContainer, null, {
|
|
default: withCtx((_8, _push9, _parent9, _scopeId8) => {
|
|
if (_push9) {
|
|
_push9(ssrRenderComponent(VRow, null, {
|
|
default: withCtx((_9, _push10, _parent10, _scopeId9) => {
|
|
if (_push10) {
|
|
_push10(ssrRenderComponent(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx((_10, _push11, _parent11, _scopeId10) => {
|
|
if (_push11) {
|
|
_push11(ssrRenderComponent(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, _parent11, _scopeId10));
|
|
} else {
|
|
return [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent10, _scopeId9));
|
|
_push10(ssrRenderComponent(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx((_10, _push11, _parent11, _scopeId10) => {
|
|
if (_push11) {
|
|
_push11(ssrRenderComponent(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, _parent11, _scopeId10));
|
|
} else {
|
|
return [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent10, _scopeId9));
|
|
} else {
|
|
return [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent9, _scopeId8));
|
|
_push9(ssrRenderComponent(VRow, null, {
|
|
default: withCtx((_9, _push10, _parent10, _scopeId9) => {
|
|
if (_push10) {
|
|
_push10(ssrRenderComponent(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx((_10, _push11, _parent11, _scopeId10) => {
|
|
if (_push11) {
|
|
_push11(ssrRenderComponent(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, _parent11, _scopeId10));
|
|
} else {
|
|
return [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent10, _scopeId9));
|
|
} else {
|
|
return [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent9, _scopeId8));
|
|
_push9(ssrRenderComponent(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx((_9, _push10, _parent10, _scopeId9) => {
|
|
if (_push10) {
|
|
_push10(` C A R I `);
|
|
} else {
|
|
return [
|
|
createTextVNode(" C A R I ")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent9, _scopeId8));
|
|
} else {
|
|
return [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent8, _scopeId7));
|
|
} else {
|
|
return [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent7, _scopeId6));
|
|
_push7(`</div>`);
|
|
} else {
|
|
return [
|
|
createVNode("div", { class: "border-thin" }, [
|
|
createVNode(VForm, {
|
|
onSubmit: withModifiers(get_data, ["prevent"])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
])
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent6, _scopeId5));
|
|
} else {
|
|
return [
|
|
createVNode(VCol, null, {
|
|
default: withCtx(() => [
|
|
createVNode("div", { class: "border-thin" }, [
|
|
createVNode(VForm, {
|
|
onSubmit: withModifiers(get_data, ["prevent"])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
])
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent5, _scopeId4));
|
|
_push5(ssrRenderComponent(VRow, null, {
|
|
default: withCtx((_5, _push6, _parent6, _scopeId5) => {
|
|
if (_push6) {
|
|
_push6(ssrRenderComponent(VTextField, {
|
|
modelValue: search.value,
|
|
"onUpdate:modelValue": ($event) => search.value = $event,
|
|
label: "Search",
|
|
"prepend-inner-icon": "mdi-magnify",
|
|
variant: "outlined",
|
|
"hide-details": "",
|
|
"single-line": "",
|
|
class: "rounded elevation-1"
|
|
}, null, _parent6, _scopeId5));
|
|
} else {
|
|
return [
|
|
createVNode(VTextField, {
|
|
modelValue: search.value,
|
|
"onUpdate:modelValue": ($event) => search.value = $event,
|
|
label: "Search",
|
|
"prepend-inner-icon": "mdi-magnify",
|
|
variant: "outlined",
|
|
"hide-details": "",
|
|
"single-line": "",
|
|
class: "rounded elevation-1"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent5, _scopeId4));
|
|
} else {
|
|
return [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, null, {
|
|
default: withCtx(() => [
|
|
createVNode("div", { class: "border-thin" }, [
|
|
createVNode(VForm, {
|
|
onSubmit: withModifiers(get_data, ["prevent"])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: search.value,
|
|
"onUpdate:modelValue": ($event) => search.value = $event,
|
|
label: "Search",
|
|
"prepend-inner-icon": "mdi-magnify",
|
|
variant: "outlined",
|
|
"hide-details": "",
|
|
"single-line": "",
|
|
class: "rounded elevation-1"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
default: withCtx((_4, _push5, _parent5, _scopeId4) => {
|
|
if (_push5) {
|
|
_push5(ssrRenderComponent(VDataTable, {
|
|
headers,
|
|
items: unref(dataLogAPI),
|
|
search: search.value
|
|
}, null, _parent5, _scopeId4));
|
|
} else {
|
|
return [
|
|
createVNode(VDataTable, {
|
|
headers,
|
|
items: unref(dataLogAPI),
|
|
search: search.value
|
|
}, null, 8, ["items", "search"])
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent4, _scopeId3));
|
|
} else {
|
|
return [
|
|
createVNode(VCard, {
|
|
title: "List Surat Kontrol",
|
|
flat: ""
|
|
}, {
|
|
text: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, null, {
|
|
default: withCtx(() => [
|
|
createVNode("div", { class: "border-thin" }, [
|
|
createVNode(VForm, {
|
|
onSubmit: withModifiers(get_data, ["prevent"])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: search.value,
|
|
"onUpdate:modelValue": ($event) => search.value = $event,
|
|
label: "Search",
|
|
"prepend-inner-icon": "mdi-magnify",
|
|
variant: "outlined",
|
|
"hide-details": "",
|
|
"single-line": "",
|
|
class: "rounded elevation-1"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
default: withCtx(() => [
|
|
createVNode(VDataTable, {
|
|
headers,
|
|
items: unref(dataLogAPI),
|
|
search: search.value
|
|
}, null, 8, ["items", "search"])
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent3, _scopeId2));
|
|
} else {
|
|
return [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCard, {
|
|
title: "List Surat Kontrol",
|
|
flat: ""
|
|
}, {
|
|
text: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, null, {
|
|
default: withCtx(() => [
|
|
createVNode("div", { class: "border-thin" }, [
|
|
createVNode(VForm, {
|
|
onSubmit: withModifiers(get_data, ["prevent"])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: search.value,
|
|
"onUpdate:modelValue": ($event) => search.value = $event,
|
|
label: "Search",
|
|
"prepend-inner-icon": "mdi-magnify",
|
|
variant: "outlined",
|
|
"hide-details": "",
|
|
"single-line": "",
|
|
class: "rounded elevation-1"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
default: withCtx(() => [
|
|
createVNode(VDataTable, {
|
|
headers,
|
|
items: unref(dataLogAPI),
|
|
search: search.value
|
|
}, null, 8, ["items", "search"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent2, _scopeId));
|
|
} else {
|
|
return [
|
|
createVNode(VMain, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCard, {
|
|
title: "List Surat Kontrol",
|
|
flat: ""
|
|
}, {
|
|
text: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, null, {
|
|
default: withCtx(() => [
|
|
createVNode("div", { class: "border-thin" }, [
|
|
createVNode(VForm, {
|
|
onSubmit: withModifiers(get_data, ["prevent"])
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VContainer, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_awal,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_awal = $event,
|
|
label: "Tanggal Awal",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: reqDataLogAPI.Tanggal_akhir,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tanggal_akhir = $event,
|
|
label: "Tanggal Akhir",
|
|
type: "date"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VCol, {
|
|
cols: "12",
|
|
md: "6"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createVNode(VAutocomplete, {
|
|
modelValue: reqDataLogAPI.Tipe_rawat,
|
|
"onUpdate:modelValue": ($event) => reqDataLogAPI.Tipe_rawat = $event,
|
|
label: "Tipe Rawat",
|
|
items: ["RI", "RJ"],
|
|
dense: ""
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VBtn, {
|
|
class: "mb-5",
|
|
variant: "tonal",
|
|
type: "submit"
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(" C A R I ")
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}),
|
|
createVNode(VRow, null, {
|
|
default: withCtx(() => [
|
|
createVNode(VTextField, {
|
|
modelValue: search.value,
|
|
"onUpdate:modelValue": ($event) => search.value = $event,
|
|
label: "Search",
|
|
"prepend-inner-icon": "mdi-magnify",
|
|
variant: "outlined",
|
|
"hide-details": "",
|
|
"single-line": "",
|
|
class: "rounded elevation-1"
|
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
default: withCtx(() => [
|
|
createVNode(VDataTable, {
|
|
headers,
|
|
items: unref(dataLogAPI),
|
|
search: search.value
|
|
}, null, 8, ["items", "search"])
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
})
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</div>`);
|
|
};
|
|
}
|
|
};
|
|
const _sfc_setup = _sfc_main.setup;
|
|
_sfc_main.setup = (props, ctx) => {
|
|
const ssrContext = useSSRContext();
|
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/satu_rssa/logapi/index.vue");
|
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
};
|
|
|
|
export { _sfc_main as default };
|
|
//# sourceMappingURL=index-6C6qkfWg.mjs.map
|