Files
westone-ui/send-to-fo/components/report.vue
2024-08-28 09:02:07 +07:00

74 lines
2.7 KiB
Vue

<template>
<v-card>
<v-row class="pa-5">
<v-col cols="12">
<v-row>
<v-spacer></v-spacer>
<v-col cols="auto" class="px-2">
<v-btn variant="tonal" class="text-body-1" @click="selfService">{{
$t('message.report.selfservice') }}</v-btn>
</v-col>
<v-col cols="auto" class="px-2">
<v-btn variant="tonal" class="text-body-1" @click="patientAddress">{{
$t('message.report.patientAddress') }}</v-btn>
</v-col>
<v-col cols="auto" class="px-2">
<v-btn variant="tonal" class="text-body-1" @click="senderAddress">{{
$t('message.report.senderAddress') }}</v-btn>
</v-col>
</v-row>
</v-col>
<v-col cols="12">
<v-card-text>
<object style="overflow: hidden;" width="100%" :height="xheight" :data="xurl"></object>
</v-card-text>
<!-- <v-card-text> -->
<!-- <object style="overflow: hidden;" width="100%" :height="xheight" :data="xurl"></object> -->
<!-- <one-dialog-print :title="printtitle" :width="printwidth" :height="550" :status="openprintnote"
:urlprint="urlprintnote" @close-dialog-print="openprintnote = false"></one-dialog-print> -->
<!-- </v-card-text> -->
<!-- <v-card-actions>
<v-spacer></v-spacer>
<v-btn color="primary" flat onClick="window.location.reload();" @click="savetutup()">
TUTUP
</v-btn>
</v-card-actions> -->
</v-col>
</v-row>
</v-card>
</template>
<script>
export default {
name: "ReportComponent",
data() {
return {
xheight: 800,
printtitle: '',
printwidth: '90%',
urlprintnote: '',
xurl: "http://riau/birt/run?__report=report/one/rekap/executive_summary_mcu_001.rptdesign&__format=pdf&PID=12&username=Administrator"
};
},
methods: {
selfService() {
// Implementasi fungsi selfService
console.log("Self Service button clicked");
},
patientAddress() {
// Implementasi fungsi patientAddress
console.log("Patient Address button clicked");
},
senderAddress() {
// Implementasi fungsi senderAddress
console.log("Sender Address button clicked");
},
},
};
</script>
<style scoped></style>