ดาวโหลดไฟล์
This commit is contained in:
parent
39b14d7026
commit
6bf655220a
2 changed files with 27 additions and 3 deletions
|
|
@ -184,7 +184,9 @@ async function fetchProfileGov(id: string) {
|
|||
|
||||
function redirecToRegistry() {
|
||||
router.push(
|
||||
`/registry-${props.type.toLocaleLowerCase() == "employee" ? "employee" : "officer"}/${props.id}`
|
||||
`/registry-${
|
||||
props.type.toLocaleLowerCase() == "employee" ? "employee" : "officer"
|
||||
}/${props.id}`
|
||||
);
|
||||
modal.value = false;
|
||||
}
|
||||
|
|
@ -499,7 +501,9 @@ async function fetchProfile(id: string, avatarName: string) {
|
|||
<q-card
|
||||
bordered
|
||||
style="border: 1px solid #d6dee1"
|
||||
v-if="checkRoute && props.type.toLocaleLowerCase() === 'officer'"
|
||||
v-if="
|
||||
checkRoute && props.type.toLocaleLowerCase() === 'officer'
|
||||
"
|
||||
>
|
||||
<CardPosition :id="props.id" :type="props.type" />
|
||||
</q-card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue