แก้ไขสอบคัดเลือก
This commit is contained in:
parent
710a805177
commit
a89370434a
1 changed files with 21 additions and 19 deletions
|
|
@ -385,10 +385,8 @@
|
||||||
<template v-slot:option="scope">
|
<template v-slot:option="scope">
|
||||||
<q-item v-bind="scope.itemProps">
|
<q-item v-bind="scope.itemProps">
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label>{{
|
<q-item-label>{{ scope.opt.name }}</q-item-label>
|
||||||
scope.opt.positionName
|
<!-- <q-item-label caption>
|
||||||
}}</q-item-label>
|
|
||||||
<q-item-label caption>
|
|
||||||
<q-icon
|
<q-icon
|
||||||
class="q-mr-sm"
|
class="q-mr-sm"
|
||||||
size="15px"
|
size="15px"
|
||||||
|
|
@ -401,7 +399,7 @@
|
||||||
{{
|
{{
|
||||||
scope.opt.positionExecutiveSide
|
scope.opt.positionExecutiveSide
|
||||||
}}</q-item-label
|
}}</q-item-label
|
||||||
>
|
> -->
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -412,9 +410,9 @@
|
||||||
square
|
square
|
||||||
class="q-my-none q-ml-xs q-mr-none"
|
class="q-my-none q-ml-xs q-mr-none"
|
||||||
>
|
>
|
||||||
{{ scope.opt.positionName }}
|
{{ scope.opt.name }}
|
||||||
</q-chip>
|
</q-chip>
|
||||||
<q-item-label caption>
|
<!-- <q-item-label caption>
|
||||||
<q-icon
|
<q-icon
|
||||||
class="q-mr-sm"
|
class="q-mr-sm"
|
||||||
size="15px"
|
size="15px"
|
||||||
|
|
@ -425,7 +423,7 @@
|
||||||
{{ scope.opt.positionType }}
|
{{ scope.opt.positionType }}
|
||||||
{{ scope.opt.positionExecutive }}
|
{{ scope.opt.positionExecutive }}
|
||||||
{{ scope.opt.positionExecutiveSide }}</q-item-label
|
{{ scope.opt.positionExecutiveSide }}</q-item-label
|
||||||
>
|
> -->
|
||||||
</template>
|
</template>
|
||||||
</selector>
|
</selector>
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
@ -1021,8 +1019,8 @@ const myFormPayment = ref<any>();
|
||||||
const myFormPosition = ref<any>();
|
const myFormPosition = ref<any>();
|
||||||
const positionPathOptions = ref<DataOption[]>([]);
|
const positionPathOptions = ref<DataOption[]>([]);
|
||||||
const governmentCodeOption = ref<DataOption[]>([]);
|
const governmentCodeOption = ref<DataOption[]>([]);
|
||||||
const organizationShortName = ref<DataOption>({ id: "", name: "" });
|
const organizationShortName = ref<DataOption>();
|
||||||
const organizationName = ref<DataOption>({ id: "", name: "" });
|
const organizationName = ref<DataOption>();
|
||||||
const organizationNameOptions = ref<DataOption[]>([]);
|
const organizationNameOptions = ref<DataOption[]>([]);
|
||||||
const examTypeOptions = [
|
const examTypeOptions = [
|
||||||
{ name: "ทั่วไป", id: "normol" },
|
{ name: "ทั่วไป", id: "normol" },
|
||||||
|
|
@ -1221,14 +1219,18 @@ const fetchData = async () => {
|
||||||
data.paymentStartDate != null && data.paymentEndDate != null
|
data.paymentStartDate != null && data.paymentEndDate != null
|
||||||
? [new Date(data.paymentStartDate), new Date(data.paymentEndDate)]
|
? [new Date(data.paymentStartDate), new Date(data.paymentEndDate)]
|
||||||
: null;
|
: null;
|
||||||
organizationShortName.value = {
|
if (data.organizationCodeId != null) {
|
||||||
id: data.organizationCodeId,
|
organizationShortName.value = {
|
||||||
name: data.organizationCodeName,
|
id: data.organizationCodeId,
|
||||||
};
|
name: data.organizationCodeName,
|
||||||
organizationName.value = {
|
};
|
||||||
id: data.organizationId,
|
}
|
||||||
name: data.organizationName,
|
if (data.organizationId != null) {
|
||||||
};
|
organizationName.value = {
|
||||||
|
id: data.organizationId,
|
||||||
|
name: data.organizationName,
|
||||||
|
};
|
||||||
|
}
|
||||||
rowsPosition.value = positionData;
|
rowsPosition.value = positionData;
|
||||||
pay.value = data.paymentKrungThai;
|
pay.value = data.paymentKrungThai;
|
||||||
rowsPayment.value = bankData;
|
rowsPayment.value = bankData;
|
||||||
|
|
@ -1369,7 +1371,7 @@ const sendData = () => {
|
||||||
highDegree: r.highDegree ? true : false,
|
highDegree: r.highDegree ? true : false,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
const valueData: RequestPeriodExam = {
|
const valueData: any = {
|
||||||
announcementDate:
|
announcementDate:
|
||||||
dateAnnounce.value != null ? dateToISO(dateAnnounce.value) : null,
|
dateAnnounce.value != null ? dateToISO(dateAnnounce.value) : null,
|
||||||
announcementEndDate:
|
announcementEndDate:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue