update anjungan dan styling color

This commit is contained in:
bagus-arie05
2025-09-02 14:44:56 +07:00
parent 3abb8de83a
commit d6ffc5ee9e
6 changed files with 51 additions and 47 deletions

View File

@@ -70,7 +70,7 @@
<!-- Custom slot untuk keterangan --> <!-- Custom slot untuk keterangan -->
<template v-slot:item.keterangan="{ item }"> <template v-slot:item.keterangan="{ item }">
<span v-if="item.keterangan" class="text-red font-weight-bold"> <span v-if="item.keterangan" class="text-green font-weight-medium">
{{ item.keterangan }} {{ item.keterangan }}
</span> </span>
<span v-else>-</span> <span v-else>-</span>
@@ -192,6 +192,6 @@ watch(search, () => {
<style scoped> <style scoped>
.text-red { .text-red {
color: #d32f2f; color: #383838;
} }
</style> </style>

View File

@@ -2,31 +2,31 @@
<div> <div>
<!-- Filter Section --> <!-- Filter Section -->
<v-row class="mb-4"> <v-row class="mb-4">
<v-col cols="12" md="3"> <v-col cols="12" class="d-flex align-center flex-wrap">
<v-text-field <div style="width: 200px;" class="mr-4">
v-model="filterDate" <v-text-field
type="date" v-model="filterDate"
label="Tanggal" type="date"
density="compact" label="Tanggal"
hide-details density="compact"
variant="outlined" hide-details
/> variant="outlined"
</v-col> />
<v-col cols="12" md="3"> </div>
<v-select <div style="width: 150px;" class="mr-4">
v-model="filterStatus" <v-select
:items="statusOptions" v-model="filterStatus"
label="Status" :items="statusOptions"
density="compact" label="Status"
hide-details density="compact"
variant="outlined" hide-details
/> variant="outlined"
</v-col> />
<v-col cols="12" md="6" class="d-flex align-center gap-2"> </div>
<v-btn color="primary" @click="searchData"> <v-btn color="primary" @click="searchData" class="mr-3">
Search SEARCH
</v-btn> </v-btn>
<v-btn color="success" variant="outlined" @click="exportLaporan"> <v-btn color="success" variant="outlined" @click="exportLaporan" class="mr-3">
Laporan Pasien Laporan Pasien
</v-btn> </v-btn>
<v-btn color="info" variant="outlined" @click="exportLaporanPerKlinik"> <v-btn color="info" variant="outlined" @click="exportLaporanPerKlinik">
@@ -39,14 +39,15 @@
<v-row class="mb-3"> <v-row class="mb-3">
<v-col cols="12" md="6" class="d-flex align-center"> <v-col cols="12" md="6" class="d-flex align-center">
<span class="mr-2">Show</span> <span class="mr-2">Show</span>
<v-select <div style="width: 100px;">
v-model="itemsPerPage" <v-select
:items="[10, 25, 50, 100]" v-model="itemsPerPage"
density="compact" :items="[10, 25, 50, 100]"
hide-details density="compact"
style="width: 80px" hide-details
variant="outlined" variant="outlined"
/> />
</div>
<span class="ml-2">entries</span> <span class="ml-2">entries</span>
</v-col> </v-col>
<v-col cols="12" md="6" class="d-flex justify-end"> <v-col cols="12" md="6" class="d-flex justify-end">
@@ -268,7 +269,8 @@ const exportLaporan = () => {
} }
const exportLaporanPerKlinik = () => { const exportLaporanPerKlinik = () => {
emit('export-laporan-per-klinik') // Navigate to laporan pasien per klinik page
navigateTo('/laporan-pasien-per-klinik')
} }
const getStatusColor = (status) => { const getStatusColor = (status) => {

View File

@@ -4,12 +4,12 @@
<!-- App bar di bagian atas layout --> <!-- App bar di bagian atas layout -->
<v-app-bar app color=#ff9248 dark> <v-app-bar app color=#ff9248 dark>
<v-app-bar-nav-icon @click="rail = !rail"></v-app-bar-nav-icon> <v-app-bar-nav-icon @click="rail = !rail"></v-app-bar-nav-icon>
<v-toolbar-title class="ml-2">Antrean RSSA</v-toolbar-title> <v-toolbar-title class="ml-2" style="color: white;">Antrean RSSA</v-toolbar-title>
<v-spacer></v-spacer>++++++++++++++ <v-spacer></v-spacer>
<v-btn icon> <v-btn icon>
<v-icon>mdi-account-circle</v-icon> <v-icon color="white">mdi-account-circle</v-icon>
</v-btn> </v-btn>
<span class="mr-2">Ragil Bayu Nogroho</span> <span class="mr-2" style="color:white">Adam Sulfat</span>
</v-app-bar> </v-app-bar>
<!-- Komponen sidebar (v-navigation-drawer) yang Anda berikan --> <!-- Komponen sidebar (v-navigation-drawer) yang Anda berikan -->

View File

@@ -3,7 +3,7 @@
<v-card> <v-card>
<v-card-title class="d-flex justify-space-between align-center"> <v-card-title class="d-flex justify-space-between align-center">
<span>Master Loket</span> <span>Master Loket</span>
<v-btn color="primary" @click="tambahLoket">Tambah Baru</v-btn> <v-btn color=#ff9248 @click="tambahLoket" style="color:white;">Tambah Baru</v-btn>
</v-card-title> </v-card-title>
<TabelData <TabelData
:headers="loketHeaders" :headers="loketHeaders"
@@ -11,8 +11,8 @@
title="Master Loket" title="Master Loket"
> >
<template #actions="{ item }"> <template #actions="{ item }">
<v-btn small color="info" @click="editLoket(item)" class="mr-2">Edit</v-btn> <v-btn small color=#ff9248 @click="editLoket(item)" class="mr-2" style="color:white;">Edit</v-btn>
<v-btn small color="error" @click="deleteLoket(item)">Delete</v-btn> <v-btn small color="grey-lighten-4" @click="deleteLoket(item)">Delete</v-btn>
</template> </template>
</TabelData> </TabelData>
</v-card> </v-card>

View File

@@ -70,8 +70,9 @@
<v-btn <v-btn
icon="mdi-pencil" icon="mdi-pencil"
size="small" size="small"
color="primary" color=#ff9248
@click="editScreen(item)" @click="editScreen(item)"
style="color:white;"
></v-btn> ></v-btn>
</template> </template>
</v-data-table> </v-data-table>

View File

@@ -5,8 +5,8 @@
<div class="d-flex justify-space-between align-center mb-4"> <div class="d-flex justify-space-between align-center mb-4">
<h2>Data Pasien</h2> <h2>Data Pasien</h2>
<div class="d-flex gap-2"> <div class="d-flex gap-2">
<v-btn color="primary" prepend-icon="mdi-plus" @click="addPatient"> <v-btn color=#ff9248 prepend-icon="mdi-plus" @click="addPatient" style="color:white">
Add Patient Tambah Pasien
</v-btn> </v-btn>
</div> </div>
</div> </div>
@@ -23,14 +23,15 @@
<v-btn <v-btn
size="small" size="small"
color="primary" color=#ff9248
variant="flat" variant="flat"
@click="viewPasien(item)" @click="viewPasien(item)"
style="color:white;"
>VIEW</v-btn> >VIEW</v-btn>
<v-btn <v-btn
size="small" size="small"
color="warning" color="grey-lighten-4"
variant="flat" variant="flat"
@click="editPasien(item)" @click="editPasien(item)"
>EDIT</v-btn> >EDIT</v-btn>