This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-19 11:40:03 +07:00
parent 9f6c33ee54
commit e7b132d1ae
10 changed files with 66 additions and 66 deletions

View file

@ -69,7 +69,7 @@ const type = ref<string>("positionName"); //ประเภทค้นหา
const optionFilter = ref<DataOption[]>([
{ id: "positionName", name: "ตำแหน่งในสายงาน" },
{ id: "positionField", name: "สายงาน" },
{ id: "positionType", name: "ประเภทตำแหน่ง" },
{ id: "positionType", name: "ตำแหน่งประเภท" },
{ id: "positionLevel", name: "ระดับตำแหน่ง" },
{ id: "positionExecutive", name: "ตำแหน่งทางการบริหาร" },
{ id: "positionExecutiveField", name: "ด้านทางการบริหาร" },
@ -252,7 +252,7 @@ function onSubmit() {
const positionsData = rows.value.map((e: RowDetailPositions) => ({
posDictName: e.positionName, // ()
posDictField: e.positionField, //
posTypeId: e.posTypeId, //*
posTypeId: e.posTypeId, //*
posLevelId: e.posLevelId, //*
posExecutiveId: e.posExecutiveId ? e.posExecutiveId : "", //
posDictExecutiveField: e.positionExecutiveField, //
@ -261,10 +261,10 @@ function onSubmit() {
positionIsSelected: e.positionIsSelected,
}));
const body = {
posMasterNoPrefix: formData.prefixNo, //*Prefix Optional (/)
posMasterNo: Number(formData.positionNo), //*
posMasterNoSuffix: formData.suffixNo, //Suffix .
reason: formData.reason, //Suffix .
posMasterNoPrefix: formData.prefixNo, //*Prefix Optional (/)
posMasterNo: Number(formData.positionNo), //*
posMasterNoSuffix: formData.suffixNo, //Suffix .
reason: formData.reason, //Suffix .
isDirector: formData.isDirector,
// isStaff: formData.isStaff ? formData.isStaff : false,
isStaff: false,
@ -554,11 +554,11 @@ watch(
dense
outlined
for="#positionNo"
label="ตำแหน่งเลขที่"
label="เลขที่ตำแหน่ง"
lazy-rules
hide-bottom-space
:rules="[
(val:string) => !!val || `${'กรุณากรอกตำแหน่งเลขที่'}`,
(val:string) => !!val || `${'กรุณากรอกเลขที่ตำแหน่ง'}`,
]"
mask="########################"
/>
@ -570,7 +570,7 @@ watch(
dense
outlined
for="#suffixNo"
label="Suffix ตำแหน่งเลขที่"
label="Suffix เลขที่ตำแหน่ง"
/>
</div>
</div>