Zmodyfikuj plik printer-posnet-card.vue, aby był zgodny z… · The Chat Archive
Explore / Programming Zmodyfikuj plik printer-posnet-card.vue, aby był zgodny z printer-posnet.ts. Powinien on… Save Share Download ▾ ReportZmodyfikuj plik printer-posnet-card.vue, aby był zgodny z printer-posnet.ts. Powinien on obsługiwać również pola name i isActive dziedziczone z GenericNamedGuidEntity. Pola te oraz pole organizationUnitId powinny być obsługiwane w taki sam sposób jak w pliku hospital-ward-card.vue.
/// printer-posnet.ts
import { GenericNamedGuidEntity } from "@/views/commerce/common/named-item";
import PrinterPosnetTarget from "@/views/commerce/printers-posnet/printer-posnet-target";
export default class PrinterPosnet extends GenericNamedGuidEntity{
printerId: string | null = null;
ipAddress: string | null = null;
target: PrinterPosnetTarget = PrinterPosnetTarget.instance.reception;
organizationUnitId: number;
public static fromDto(dto: any): PrinterPosnet {
const entity = new PrinterPosnet();
entity.readDto(dto);
return entity;
}
public static empty(): PrinterPosnet {
const entity = new PrinterPosnet();
return entity;
}
protected readDto(dto: any) {
super.readDto(dto);
this.printerId = dto.printerId;
this.ipAddress = dto.ipAddress;
this.target = PrinterPosnetTarget.getById(dto.target);
this.organizationUnitId = dto.organizationUnitId;
}
get displayName() {
return t h i s . n a m e ( {this.name} ( t hi s . nam e ( {this.id});
}
get dto(): any {
return {
id: this.id,
name: this.name,
isActive: this.isActive,
printerId: this.printerId,
ipAddress: this.ipAddress,
organizationUnitId: this.organizationUnitId,
target: this.target.id
};
}
}
/// hospital-ward.ts
import { GenericNamedGuidEntity } from "@/views/commerce/common/named-item";
import HospitalWardMedicalService from "@/views/commerce/hospital/config/hospital-ward-medical-service";
import HospitalTreatmentType from "@/views/commerce/hospital/config/hospital-treatment-type";
import SpecializationScope from "@/views/commerce/specializations/specialization-scope";
import AttachmentData from "@/views/commerce/common/attachment-data";
import HospitalWardPrimaryService from "./dependent-services/hospital-ward-primary-service";
import ScheduleHoursRange from "@/views/commerce/common/schedule-hours/schedule-hours-range";
import MaskUtils from "@/components/enums/mask-utils";
import HospitalWardTreatmentOptions from "@/views/commerce/hospital/config/hospital-ward-treatment-options";
import HospitalWardMedicalServiceData from "@/views/commerce/hospital/config/hospital-ward-medical-service-data";
Assistant2024-10-08 17:28 UTC Copy response
Copy first prompt
Details
Provider OpenAI
Model provenance As recorded by source dataset
Turns 1 (2 messages)
Language pl
Conversation date Oct 8, 2024
Added to archive Nov 16, 2026
ID 01m7h41x6fhyr8jgytx8p2nkaxSource & license Imported from WildChat-4.8M (AI2) (source ). Imported records earn no Research Points.
Upstream record: f1aa2deb273db99e723b7bf2062075a6
Zhao et al., WildChat: 1M ChatGPT Interaction Logs in the Wild (ICLR 2024). Contains information from WildChat-4.8M, made available under the ODC Attribution License.
License: ODC-BY-1.0
export default class HospitalWard extends GenericNamedGuidEntity {
scope: number;
organizationUnitId: number;
specializationId: number | null;
staffIds: number[] = [];
capacity: number;
intervalType: number;
defaultIntervalCount: number | null = null;
scheduleHours: ScheduleHoursRange = HospitalWard.defaultRange();
attachments: AttachmentData = AttachmentData.empty();
medicalServices: HospitalWardMedicalService[] = [];
primaryServices: HospitalWardPrimaryService[] = [];
treatmentTypes: HospitalTreatmentType[] = [];
private static defaultRange(): ScheduleHoursRange {
const entity = new ScheduleHoursRange();
entity.fromHour = 8;
entity.toHour = 14;
return entity;
}
public static fromDto(dto: any) {
const entity = new HospitalWard();
entity.readDto(dto);
return entity;
}
public static empty() {
const entity = new HospitalWard();
entity.scope = SpecializationScope.Commerce.id;
return entity;
}
get scopeFormatted(): string {
return SpecializationScope.getById(this.scope);
}
protected readDto(dto: any) {
super.readDto(dto);
this.capacity = dto.capacity;
this.intervalType = dto.intervalType;
this.defaultIntervalCount = dto.defaultIntervalCount;
this.scheduleHours = dto.scheduleHours
? ScheduleHoursRange.fromBaseDto(dto.scheduleHours)
: HospitalWard.defaultRange();
this.attachments = dto.attachments
? AttachmentData.fromDto(dto.attachments)
: AttachmentData.empty();
this.scope = dto.scope;
this.organizationUnitId = dto.organizationUnitId;
this.specializationId = dto.specializationId;
this.staffIds = dto.staffIds || [];
this.medicalServices = dto.medicalServices?.map(HospitalWardMedicalService.fromDto) || [];
this.treatmentTypes = dto.treatmentTypes?.map(HospitalTreatmentType.fromDto) || [];
this.primaryServices = dto.primaryServices?.map(HospitalWardPrimaryService.fromDto) || [];
}
private get baseDto(): any {
return {
...super.dto,
scope: this.scope,
scheduleHours: this.scheduleHours.dto,
capacity: this.capacity,
intervalType: this.intervalType,
defaultIntervalCount: this.defaultIntervalCount,
organizationUnitId: this.organizationUnitId,
specializationId: this.specializationId
};
}
public get medicalServicesData(): HospitalWardMedicalServiceData[] {
const optionsMap = new Map<string, number>(
this.treatmentTypes
.filter(v => MaskUtils.hasFlag(v.options, HospitalWardTreatmentOptions.Primary))
.map(v => [v.id!, v.options])
);
return this.medicalServices.map(
v => new HospitalWardMedicalServiceData(v, optionsMap.get(v.hospitalTreatmentId) ?? 0)
);
}
public get requestDto(): any {
return {
...this.baseDto,
attachments: this.attachments.requestDto
};
}
public get dto(): any {
return {
...this.baseDto,
attachments: this.attachments.dto,
staffIds: this.staffIds,
medicalServices: this.medicalServices.map(v => v.dto),
treatmentTypes: this.treatmentTypes.map(v => v.dto),
primaryServices: this.primaryServices.map(v => v.dto)
};
}
}
/// printer-posnet-card.ts
<v-row dense>
<v-col>
<v2-autocomplete
v-model="model.target.id"
:items="printerTargets"
:readonly="readonly"
label="Miejsce przeznaczenia"
placeholder="Wybierz z listy" />
</v-col>
<v-col>
<v2-switch
v-model="model.isActive"
:disabled="readonly"
label="Aktywny" />
</v-col>
</v-row>
<v-row justify="end">
<v-col cols="auto">
<submit-discard-async-buttons :submit="submit" @discard="discard" />
</v-col>
</v-row>
</v2-form>
</loading-container>
/// hospital-ward-card.vue
<loading-container :is-loaded="isLoaded" fluid class="ma-1 pa-1 pr-3">
<v-tabs>
<v-tab>Ogólne</v-tab>
<v-tab v-if="!isNew">
Rodzaje zabiegów
</v-tab>
<v-tab v-if="!isNew">
Usługi
</v-tab>
<v-tab v-if="!isNew">
Usługi podstawowe
</v-tab>
<v-tab-item>
<v-form ref="formRef">
<v-row class="mt-1" align="center">
<v-col cols="3">
<v-text-field
v-model="model.name"
:rules="nameRules"
outlined
dense
:readonly="readonly"
:filled="readonly"
hide-details
autocomplete="off"
label="Nazwa" />
</v-col>
<v-col>
<organization-unit-selector
v-model="model.organizationUnitId"
required
:readonly="readonly" />
</v-col>
<v-col cols="auto">
<v-switch
v-model="model.isActive"
hide-details
label="Aktywny"
class="mx-3 mt-0"
:readonly="readonly" />
</v-col>
</v-row>
<v-row>
<v-col>
<specialization-selector
v-model="model.specializationId"
required
:readonly="readonly" />
</v-col>
<v-col cols="auto">
<mask-selector
v-model="model.scope"
:options="scopes"
at-least-one
dense
:readonly="readonly" />
</v-col>
</v-row>
<v-row class="mb-1">
<v-col cols="auto">
<v-text-field
v-model.number="model.capacity"
:rules="capacityRules"
outlined
dense
:readonly="readonly"
:filled="readonly"
hide-details
style="max-width: 150px"
autocomplete="off"
label="Pojemność" />
</v-col>
<v-col cols="auto">
<hospital-ward-interval-type-selector
v-model="model.intervalType"
:readonly="readonly" />
</v-col>
<v-col cols="auto">
<v-text-field
v-model.number="model.defaultIntervalCount"
:rules="intervalCountRules"
outlined
dense
hide-details
style="width: 200px"
autocomplete="off"
clearable
label="Domyślna długość pobytu" />
</v-col>
<v-col offset="1">
<hospital-ward-schedule-hours-selector
v-model="model.scheduleHours.model"
:readonly="readonly" />
</v-col>
</v-row>
<titled-card v-if="!isNew" title="Dokumenty" class="mx-1 mt-2">
<multi-file-upload
v-model="model.attachments"
:readonly="readonly"
:callback="submit"
:max-file-size="20 * 1024 * 1024" />
</titled-card>
<v-row v-if="!readonly" justify="end" class="my-1">
<v-col cols="auto">
<submit-discard-async-buttons :submit="submit" @discard="discard" />
</v-col>
</v-row>
</v-form>
</v-tab-item>
<v-tab-item class="pt-2">
<v-row justify="end">
<v-col cols="auto">
<show-active-only-switch v-model="activeOnlyTreatmentsModel" class="mb-2" />
</v-col>
</v-row>
<template v-for="(item, idx) in treatmentTypes">
<hospital-treatment-type-row
:key="idx"
:value="item"
:readonly="readonly"
@update="update"
@select="selectTreatment(item)" />
<v-divider v-if="idx < treatmentTypes.length - 1" :key="idx" class="my-1" />
</template>
<v-card
v-if="!treatmentTypes.length"
class="pa-2 ma-1 text-caption">Brak skonfigurowanych rodzajów zabiegu</v-card>
<add-item-button @click="addTreatment" />
</v-tab-item>
<v-tab-item class="pt-2">
<template v-for="(item, idx) in model.medicalServices">
<hospital-ward-medical-service-row
:key="idx"
:value="item"
:readonly="readonly"
:treatment-types="model.treatmentTypes"
@update="update"
@select="selectService(item)" />
<v-divider v-if="idx < model.medicalServices.length - 1" :key="idx" class="my-1" />
</template>
<v-card
v-if="!model.medicalServices.length"
class="pa-2 ma-1 text-caption">Brak skonfigurowanych rodzajów usług</v-card>
<add-item-button @click="addMedicalService" />
</v-tab-item>
<v-tab-item class="pt-2">
<template v-for="(item, idx) in model.primaryServices">
<hospital-ward-primary-service-row
:key="idx"
:value="item"
:readonly="readonly"
@update="update"
@select="selectPrimaryService(item)" />
<v-divider v-if="idx < model.primaryServices.length - 1" :key="idx" class="my-1" />
</template>
<v-card
v-if="!model.primaryServices.length"
class="pa-2 ma-1 text-caption">Brak skonfigurowanych usług podstawowych</v-card>
<add-item-button @click="addPrimaryService" />
</v-tab-item>
</v-tabs>
</loading-container>
const HospitalWardCard = defineComponent({
components: {
OrganizationUnitSelector,
SpecializationSelector,
HospitalWardScheduleHoursSelector,
HospitalWardIntervalTypeSelector,
HospitalWardPrimaryServiceCard,
HospitalWardPrimaryServiceRow,
MultiFileUpload,
ShowActiveOnlySwitch,
AddItemButton,
HospitalTreatmentTypeCard,
HospitalMedicalServiceCard,
HospitalWardMedicalServiceRow,
HospitalTreatmentTypeRow,
MarkupInput,
MaskSelector,
TitledCard,
VisibilitySelector,
PaymentModesSelector,
SubmitDiscardAsyncButtons,
LoadingContainer
props: {
value: {
type: String,
required: false,
default: null
},
readonly: {
type: Boolean,
required: false,
default: false
}
setup(props, context) {
const notifier = inject(Notifier.Key) as Notifier;
const isLoaded = ref(false);
const model = ref(HospitalWard.empty() as HospitalWard);
const formRef = ref(null);
const isReloading = ref(false);
const isModified = ref(false);
onMounted(async () => {
await loadData(props.value);
isLoaded.value = true;
});
onBeforeUpdate(() => {
formRef.value = null;
});
const loadData = async (id: string | null) => {
if (id) {
const response = await axios.get("/api/services/app/HospitalConfig/GetWard", {
params: { id }
});
model.value = HospitalWard.fromDto(response.data.result);
}
};
watch(
() => props.value,
async (nv, _) => {
if (nv !== model.value.id) {
isLoaded.value = false;
await loadData(nv);
isLoaded.value = true;
}
}
);
const isNew = computed(() => !model.value.hasId);
const submit = async () => {
if (!(formRef.value as any).validate()) return;
const response = isNew.value
? await axios.post("/api/services/app/HospitalConfig/CreateWard", model.value.requestDto)
: await axios.put("/api/services/app/HospitalConfig/UpdateWard", model.value.requestDto);
isModified.value = true;
notifier.successToast("Dane zapisane");
model.value = HospitalWard.fromDto(response.data.result);
};
const title = computed(() => {
return isNew.value ? "Nowy oddział szpitalny" : `Edycja wpisu: ${model.value.name}`;
});
const nameRules = [
...RulesUtils.NotEmpty,
v => (!!v && v.length >= 0 && v.length < 128) || "Nazwa za długa"
];
const update = async () => {
isReloading.value = true;
await loadData(model.value.id);
isReloading.value = false;
};
const serviceCardVisible = ref(false);
const primaryServiceCardVisible = ref(false);
const treatmentCardVisible = ref(false);
const selectedTreatmentId = ref(null as string | null);
const selectedServiceId = ref(null as string | null);
const selectedPrimaryServiceId = ref(null as string | null);
const selectPrimaryService = (item: HospitalWardPrimaryService) => {
selectedTreatmentId.value = null;
selectedServiceId.value = null;
selectedPrimaryServiceId.value = item.id;
primaryServiceCardVisible.value = true;
};
const selectService = (item: HospitalWardMedicalService) => {
selectedPrimaryServiceId.value = null;
selectedTreatmentId.value = null;
selectedServiceId.value = item.id;
serviceCardVisible.value = true;
};
const selectTreatment = (item: HospitalTreatmentType) => {
selectedPrimaryServiceId.value = null;
selectedServiceId.value = null;
selectedTreatmentId.value = item.id;
treatmentCardVisible.value = true;
};
const onCardClose = (needUpdate: boolean) => {
serviceCardVisible.value = false;
treatmentCardVisible.value = false;
primaryServiceCardVisible.value = false;
selectedServiceId.value = null;
selectedTreatmentId.value = null;
selectedPrimaryServiceId.value = null;
if (needUpdate) update();
};
const addTreatment = () => {
selectedTreatmentId.value = null;
treatmentCardVisible.value = true;
};
const addPrimaryService = () => {
selectedPrimaryServiceId.value = null;
primaryServiceCardVisible.value = true;
};
const addMedicalService = () => {
selectedServiceId.value = null;
serviceCardVisible.value = true;
};
const discard = () => {
context.emit("close", isModified.value);
};
const activeOnlyTreatmentsModel = ref(true);
const treatmentTypes = computed(() =>
activeOnlyTreatmentsModel.value
? model.value.treatmentTypes.filter(v => v.isActive)
: model.value.treatmentTypes
);
const capacityRules = RulesUtils.MandatoryInteger(1, 1000);
return {
isLoaded,
model,
formRef,
submit,
nameRules,
update,
selectedTreatmentId,
selectedServiceId,
selectedPrimaryServiceId,
selectService,
selectPrimaryService,
selectTreatment,
treatmentCardVisible,
serviceCardVisible,
primaryServiceCardVisible,
onCardClose,
addTreatment,
addMedicalService,
addPrimaryService,
isNew,
activeOnlyTreatmentsModel,
notEmptyRules: RulesUtils.NotEmpty,
scopes: SpecializationScope.AllNoIpom,
intervalCountRules: RulesUtils.OptionalInteger(1, 100),
capacityRules,
discard,
treatmentTypes,
title
};
export default HospitalWardCard;
Aby dostosować plik printer-posnet-card.vue do obsługi pól name, isActive oraz organizationUnitId zgodnie z plikiem printer-posnet.ts oraz wzorując się na hospital-ward-card.vue, należy wprowadzić następujące zmiany:
Dodanie komponentu OrganizationUnitSelector :
Importuj komponent OrganizationUnitSelector.
Dodaj go do sekcji components.
Umieść go w szablonie (template) w odpowiednim miejscu formularza.
Zastosowanie walidacji dla organizationUnitId :
Użyj reguł walidacji podobnych do tych zastosowanych w hospital-ward-card.vue.
Dodaj reguły do sekcji orgUnitIdRules w skrypcie.
Aktualizacja modelu danych :
Upewnij się, że organizationUnitId jest prawidłowo powiązany z modelem (model.organizationUnitId).
Poniżej znajduje się zmodyfikowany plik printer-posnet-card.vue uwzględniający powyższe zmiany:
<template>
<titled-card :title="title" toolbar close-button @close="discard">
<loading-container
:is-loaded="isLoaded"
fluid
class="ma-1 pa-0 pr-3"
style="min-width: min(700px, 95vw)">
<v2-form :validator="formRef">
<v-row dense>
<v-col cols="12" sm="6">
<v2-text-field
v-model="model.name"
:rules="nameRules"
:readonly="readonly"
class="mb-2"
label="Nazwa" />
</v-col>
<v-col cols="12" sm="6">
<organization-unit-selector
v-model="model.organizationUnitId"
:rules="orgUnitIdRules"
:readonly="readonly"
label="Jednostka Organizacyjna"
required />
</v-col>
</v-row>
<v-row dense>
<v-col cols="12" sm="6">
<v2-text-field
v-model="model.ipAddress"
:rules="ipAddressRules"
:readonly="readonly"
class="mb-2"
label="Adres IP" />
</v-col>
<v-col cols="12" sm="6">
<v2-autocomplete
v-model="model.target.id"
:items="printerTargets"
:readonly="readonly"
label="Miejsce przeznaczenia"
placeholder="Wybierz z listy" />
</v-col>
</v-row>
<v-row dense>
<v-col cols="12" sm="6">
<v2-switch
v-model="model.isActive"
:disabled="readonly"
label="Aktywny" />
</v-col>
</v-row>
<v-row justify="end">
<v-col cols="auto">
<submit-discard-async-buttons :submit="submit" @discard="discard" />
</v-col>
</v-row>
</v2-form>
</loading-container>
</titled-card>
</template>
<script lang="ts">
import { computed, defineComponent, onMounted, ref } from "@vue/composition-api";
import LoadingContainer from "@/components/loading/loading-container.vue";
import SubmitDiscardAsyncButtons from "@/components/action-buttons/submit-discard-async-buttons.vue";
import axios from "@/lib/axios";
import TitledCard from "@/components/simple/titled-card.vue";
import { RulesUtils } from "@/lib/rules-utils";
import PrinterPosnetTarget from "@/views/commerce/printers-posnet/printer-posnet-target";
import V2Form from "@/compatibility-layer/components/v2-form.vue";
import V2TextField from "@/compatibility-layer/components/v2-text-field.vue";
import V2Autocomplete from "@/compatibility-layer/components/v2-autocomplete.vue";
import V2Select from "@/compatibility-layer/components/v2-select.vue";
import V2FormValidator from "@/compatibility-layer/components/v2-form-validator";
import PrinterPosnet from "@/views/commerce/printers-posnet/printer-posnet";
import OrganizationUnitSelector from "@/views/commerce/common/selectors/organization-unit-selector.vue";
const PrinterPosnetCard = defineComponent({
components: {
TitledCard,
SubmitDiscardAsyncButtons,
V2Autocomplete,
V2TextField,
V2Form,
V2Select,
LoadingContainer,
OrganizationUnitSelector
},
props: {
value: {
type: String,
required: false,
default: null
},
readonly: {
type: Boolean,
required: false,
default: false
}
},
emits: ["close"],
setup(props, context) {
const isLoaded = ref(false);
const model = ref(
props.value ? PrinterPosnet.fromDto({}) : PrinterPosnet.empty()
);
const formRef = ref(V2FormValidator.create());
const printerTargets = ref(PrinterPosnetTarget.All);
const orgUnitIdRules = [
v => (!!v && Number(v) > 0) || "Niepoprawne ID jednostki organizacyjnej"
];
onMounted(async () => {
await loadData();
});
const loadData = async () => {
if (props.value) {
const response = await axios.get("/api/services/app/PrinterPosnet/GetPrinter", {
params: { id: props.value }
});
model.value = PrinterPosnet.fromDto(response.data.result);
}
isLoaded.value = true;
};
const isNew = computed(() => !props.value);
const submit = async () => {
if (!formRef.value.validate()) return;
if (isNew.value) {
await axios.post("/api/services/app/PrinterPosnet/CreatePrinter", model.value.dto);
} else {
await axios.put("/api/services/app/PrinterPosnet/UpdatePrinter", model.value.dto);
}
context.emit("close", true);
};
const title = computed(() => {
const prefix = "Zarządzanie Drukarkami Posnet";
const suffix = isNew.value ? "Nowa drukarka" : `Edycja drukarki: ${model.value.name}`;
return `${prefix} - ${suffix}`;
});
const nameRules = RulesUtils.MandatoryString(128);
const ipAddressRules = [
v => /^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/.test(v) || "Niepoprawny adres IP"
];
return {
isLoaded,
model,
formRef,
submit,
discard: () => context.emit("close", false),
nameRules,
ipAddressRules,
orgUnitIdRules,
printerTargets: printerTargets.value,
title,
isNew
};
}
});
export default PrinterPosnetCard;
</script>
<style scoped>
/* Dodaj ewentualne style, jeśli są potrzebne */
</style>
Wyjaśnienie Zmian
Importowanie OrganizationUnitSelector :
import OrganizationUnitSelector from "@/views/commerce/common/selectors/organization-unit-selector.vue";
Dodanie OrganizationUnitSelector do sekcji components :
components: {
TitledCard,
SubmitDiscardAsyncButtons,
V2Autocomplete,
V2TextField,
V2Form,
V2Select,
LoadingContainer,
OrganizationUnitSelector
},
Dodanie reguł walidacji dla organizationUnitId :
const orgUnitIdRules = [
v => (!!v && Number(v) > 0) || "Niepoprawne ID jednostki organizacyjnej"
];
Dodanie pola OrganizationUnitSelector do szablonu :
<v-col cols="12" sm="6">
<organization-unit-selector
v-model="model.organizationUnitId"
:rules="orgUnitIdRules"
:readonly="readonly"
label="Jednostka Organizacyjna"
required />
</v-col>
Aktualizacja modelu :
Upewnij się, że organizationUnitId jest częścią modelu PrinterPosnet, co już jest zapewnione przez klasę PrinterPosnet dziedziczącą z GenericNamedGuidEntity.
Użycie reguł walidacji orgUnitIdRules :
Reguły te są przekazywane do komponentu organization-unit-selector za pomocą prop :rules="orgUnitIdRules".
Ustalenie odpowiednich etykiet i układu :
Pola zostały rozmieszczone w dwóch wierszach (v-row), aby zapewnić lepszą czytelność i responsywność.
Usunięcie nieużywanych reguł :
portRules zostały usunięte, ponieważ nie są używane w obecnym formularzu. Można je dodać ponownie, jeśli będą potrzebne w przyszłości.
Dodatkowe Uwagi
Responsywność : Użycie atrybutów cols="12" i sm="6" w v-col zapewnia, że formularz będzie responsywny na różnych urządzeniach.
Walidacja : Upewnij się, że wszystkie wymagane pola mają odpowiednie reguły walidacji, aby zapobiec błędom podczas przesyłania danych.
Styling : Możesz dodać dodatkowe style w sekcji <style scoped>, jeśli są potrzebne, aby lepiej dopasować wygląd formularza do reszty aplikacji.
Mam nadzieję, że te zmiany pomogą w dostosowaniu komponentu printer-posnet-card.vue zgodnie z wymaganiami.
Copy first response
Not yet included in a published release.