แต่งตั้งคณะกรรมการทดลองงาน

This commit is contained in:
setthawutttty 2024-10-17 15:36:48 +07:00
parent 77120a0f7b
commit 3ec0614e39
9 changed files with 1150 additions and 30 deletions

View file

@ -56,7 +56,6 @@ const empType = ref<string>(
: "-employee"
);
const emailVerify = ref<boolean | null>(null);
const id = ref<string>("");
const modal = ref<boolean>(false); //
const informaData = ref<ResponseObject>(); //
@ -79,7 +78,6 @@ const dataLabel = {
religion: "ศาสนา",
bloodGroup: "หมู่เลือด",
phone: "เบอร์โทร",
email: "อีเมล",
prefix: "คำนำหน้าชื่อ",
rank: "ยศ",
firstName: "ชื่อ",
@ -292,9 +290,6 @@ async function getData() {
.get(config.API.registryNewByProfileId(profileId.value, empType.value))
.then((res) => {
informaData.value = res.data.result;
emailVerify.value = res.data.result.email
? res.data.result.emailVerify
: null;
id.value = res.data.result.id;
if (res.data.result.birthDate) {
@ -516,17 +511,10 @@ onMounted(() => {
<div class="col-md-5 col-12 row">
<div class="col-5 col text-grey-6 text-weight-medium">
<div
v-for="label in Object.keys(dataLabel).slice(6, 12)"
v-for="label in Object.keys(dataLabel).slice(6, 11)"
class="q-py-xs"
>
{{ dataLabel[label as keyof typeof dataLabel] }}
<q-icon
v-if="label == 'email' && emailVerify == false"
name="mdi-alert-box"
size="sm"
color="warning"
><q-tooltip>รอยนยนอเมล</q-tooltip></q-icon
>
</div>
</div>
<!-- data -->
@ -546,9 +534,6 @@ onMounted(() => {
<div class="q-py-xs">
{{ informaData.phone ? informaData.phone : "-" }}
</div>
<div class="q-py-xs">
{{ informaData.email ? informaData.email : "-" }}
</div>
</div>
</div>
</div>