diff --git a/src/components/home/PersonCard.vue b/src/components/home/PersonCard.vue
index 9f5841a7..d590e29e 100644
--- a/src/components/home/PersonCard.vue
+++ b/src/components/home/PersonCard.vue
@@ -51,15 +51,22 @@ const status = ref(false);
'person-box__disabled': v.disabled,
'person-box__no-hover': noHover,
}"
+ @click="$emit('enterCard', v.id)"
style="padding: 0"
v-for="(v, i) in list"
:key="i"
- @click="$emit('enterCard', v.id)"
>
-
+
('/keycloak/role');
res.data.map((item) => {
+ const formattedName = item.name
+ .replace(/_/g, ' ')
+ .toLowerCase()
+ .split(' ')
+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
+ .join(' ');
userOption.value.roleOpts.push({
- label: item.name,
+ label: formattedName,
value: item.id,
});
});
@@ -508,6 +514,7 @@ watch(
emit-value
map-options
options-dense
+ hide-bottom-space
class="col-6"
bg-color="white"
option-label="label"
@@ -524,6 +531,7 @@ watch(
emit-value
map-options
options-dense
+ hide-bottom-space
class="col-6"
label="รหัสสาขา"
bg-color="white"
@@ -539,6 +547,7 @@ watch(
emit-value
map-options
options-dense
+ hide-bottom-space
class="col-3"
bg-color="white"
option-value="value"
@@ -554,6 +563,7 @@ watch(
emit-value
map-options
options-dense
+ hide-bottom-space
class="col-3"
bg-color="white"
label="สิทธิ์ผู้ใช้งาน"
@@ -566,6 +576,7 @@ watch(