updated
This commit is contained in:
parent
24a8d5130b
commit
c91482ef7c
1 changed files with 4 additions and 5 deletions
|
|
@ -155,7 +155,7 @@
|
|||
<q-space />
|
||||
<div v-if="roleRegistryverify || roleKeyregistry">
|
||||
<q-btn
|
||||
v-if="!isVerified && roleRegistryverify"
|
||||
v-if="!profileStore.isVerified && roleRegistryverify"
|
||||
outlined
|
||||
color="green"
|
||||
icon="verified"
|
||||
|
|
@ -165,7 +165,7 @@
|
|||
<q-tooltip>ยืนยันการตรวจสอบข้อมูล</q-tooltip>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-else-if="isVerified && roleRegistryverify"
|
||||
v-else-if="profileStore.isVerified && roleRegistryverify"
|
||||
outlined
|
||||
color="warning"
|
||||
icon="mdi-lock-open"
|
||||
|
|
@ -175,7 +175,7 @@
|
|||
<q-tooltip>ปลดล็อคให้แก้ไขข้อมูล</q-tooltip>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-else-if="isVerified && roleKeyregistry"
|
||||
v-else-if="profileStore.isVerified && roleKeyregistry"
|
||||
flat
|
||||
color="green"
|
||||
icon="verified"
|
||||
|
|
@ -942,7 +942,7 @@ onMounted(async () => {
|
|||
await checIsVerified();
|
||||
});
|
||||
|
||||
const isVerified = ref<boolean>(false);
|
||||
// const isVerified = ref<boolean>(false);
|
||||
const fetchData = async () => {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -964,7 +964,6 @@ const fetchData = async () => {
|
|||
leaveReason.value = ` (พ้นจากราชการด้วยสาเหตุ: ${data.leaveReason})`;
|
||||
}
|
||||
reasonStatus.value = reason.length > 0 ? true : false;
|
||||
isVerified.value = data.isVerified ? data.isVerified : false;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue