no message
This commit is contained in:
parent
8558cf9b45
commit
345f8f47e9
3 changed files with 3 additions and 8 deletions
|
|
@ -86,7 +86,7 @@ function onSubmitSelectEdit() {
|
||||||
posDictField: formPositionSelect.positionField, //สายงาน
|
posDictField: formPositionSelect.positionField, //สายงาน
|
||||||
posTypeId: formPositionSelect.positionType, //*ประเภทตำแหน่ง
|
posTypeId: formPositionSelect.positionType, //*ประเภทตำแหน่ง
|
||||||
posLevelId: formPositionSelect.positionLevel, //*ระดับตำแหน่ง
|
posLevelId: formPositionSelect.positionLevel, //*ระดับตำแหน่ง
|
||||||
posExecutiveId: formPositionSelect.positionExecutive, //ตำแหน่งทางการบริหาร
|
posExecutiveId: formPositionSelect.positionExecutive == '' ? null:formPositionSelect.positionExecutive, //ตำแหน่งทางการบริหาร
|
||||||
posDictExecutiveField: formPositionSelect.positionExecutiveField, //ด้านทางการบริหาร
|
posDictExecutiveField: formPositionSelect.positionExecutiveField, //ด้านทางการบริหาร
|
||||||
posDictArea: formPositionSelect.positionArea, //ด้าน/สาขา
|
posDictArea: formPositionSelect.positionArea, //ด้าน/สาขา
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ interface FormPositionSelectDialog {
|
||||||
positionField: string;
|
positionField: string;
|
||||||
positionType: string;
|
positionType: string;
|
||||||
positionLevel: string;
|
positionLevel: string;
|
||||||
positionExecutive: string;
|
positionExecutive: string|null;
|
||||||
positionExecutiveField: string;
|
positionExecutiveField: string;
|
||||||
positionArea: string;
|
positionArea: string;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ const {
|
||||||
messageError,
|
messageError,
|
||||||
success,
|
success,
|
||||||
dialogRemove,
|
dialogRemove,
|
||||||
dialogMessageNotify,
|
|
||||||
} = mixin;
|
} = mixin;
|
||||||
const selected = ref<any>([]);
|
const selected = ref<any>([]);
|
||||||
const search = ref<string>("");
|
const search = ref<string>("");
|
||||||
|
|
@ -310,11 +309,7 @@ function validateForm() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasError.every((result) => result === true)) {
|
if (hasError.every((result) => result === true)) {
|
||||||
if (rows.value.length !== 0) {
|
onSubmit();
|
||||||
onSubmit();
|
|
||||||
} else {
|
|
||||||
dialogMessageNotify($q, "กรุณาเลือกตำแหน่งอย่างน้อย 1 ตำแหน่ง");
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue