- rename folder personal list
- add filter status contain ของหน่วยงาน
This commit is contained in:
parent
37b3fa9f0c
commit
0a74df75bc
11 changed files with 234 additions and 410 deletions
|
|
@ -1,43 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
const sizeCard = (val: number) => {
|
||||
if (val === 5) {
|
||||
return "width:15%;";
|
||||
}
|
||||
};
|
||||
const props = defineProps({
|
||||
color: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
label: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
amount: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<div
|
||||
:style="$q.screen.lt.md ? '' : sizeCard(5)"
|
||||
:class="$q.screen.lt.sm ? 'col-4' : ''"
|
||||
>
|
||||
<div
|
||||
class="q-card q-card--bordered q-card--flat no-shadow row fit cardNum items-center q-px-sm"
|
||||
>
|
||||
<div class="col-12 row items-center q-pa-sm">
|
||||
<div
|
||||
class="col-12 text-h5 text-weight-bold"
|
||||
:style="{ color: props.color }"
|
||||
>
|
||||
{{ props.amount }}
|
||||
</div>
|
||||
<div class="col-12 text-dark ellipsis">
|
||||
{{ props.label }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue