fix: show gender

This commit is contained in:
puriphatt 2024-06-28 08:36:37 +00:00
parent 3458517de4
commit 4ab245834d
3 changed files with 4 additions and 2 deletions

View file

@ -57,6 +57,7 @@ export default {
uploadFile: 'Upload File', uploadFile: 'Upload File',
newUpload: 'New Upload', newUpload: 'New Upload',
baseOnDevice: 'Base on Device', baseOnDevice: 'Base on Device',
person: 'Person',
...status, ...status,
...main, ...main,
...address, ...address,

View file

@ -57,6 +57,7 @@ export default {
uploadFile: 'อัปโหลดไฟล์', uploadFile: 'อัปโหลดไฟล์',
newUpload: 'อัปโหลดใหม่', newUpload: 'อัปโหลดใหม่',
baseOnDevice: 'สีตามอุปกรณ์', baseOnDevice: 'สีตามอุปกรณ์',
person: 'คน',
...status, ...status,
...main, ...main,
...address, ...address,

View file

@ -1370,7 +1370,7 @@ watch([inputSearch, currentStatus], async () => {
size="18px" size="18px"
/> />
<div v-if="statsEmployeeGender"> <div v-if="statsEmployeeGender">
{{ statsEmployeeGender.female }} คน {{ statsEmployeeGender.female ?? 0 }} {{ $t('person') }}
</div> </div>
</div> </div>
</template> </template>
@ -1389,7 +1389,7 @@ watch([inputSearch, currentStatus], async () => {
> >
<q-icon name="mdi-gender-male" class="q-mr-sm" size="18px" /> <q-icon name="mdi-gender-male" class="q-mr-sm" size="18px" />
<div v-if="statsEmployeeGender"> <div v-if="statsEmployeeGender">
{{ statsEmployeeGender.male }} คน {{ statsEmployeeGender.male ?? 0 }} {{ $t('person') }}
</div> </div>
</div> </div>
</template> </template>