Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m58s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m58s
This commit is contained in:
commit
0303046e7a
1 changed files with 2 additions and 2 deletions
|
|
@ -400,7 +400,7 @@ async function checkSave() {
|
||||||
|
|
||||||
// เช็ค validation form ตำแหน่ง
|
// เช็ค validation form ตำแหน่ง
|
||||||
const isPositionFormValid = await myFormPosition.value?.validate();
|
const isPositionFormValid = await myFormPosition.value?.validate();
|
||||||
if (!isPositionFormValid) return;
|
if (!isPositionFormValid && announcementExam.value) return;
|
||||||
|
|
||||||
// เช็คการเพิ่มตำแหน่ง
|
// เช็คการเพิ่มตำแหน่ง
|
||||||
if (announcementExam.value && rowsPosition.value.length === 0) {
|
if (announcementExam.value && rowsPosition.value.length === 0) {
|
||||||
|
|
@ -889,7 +889,7 @@ function fetchPosition(level: number) {
|
||||||
* @param val ค่าประเภทตำแหน่ง 0 = ประเภททั่วไป ,1 = ประเภทวิชาการ
|
* @param val ค่าประเภทตำแหน่ง 0 = ประเภททั่วไป ,1 = ประเภทวิชาการ
|
||||||
* @param index ตำแหน่งของข้อมูล
|
* @param index ตำแหน่งของข้อมูล
|
||||||
*/
|
*/
|
||||||
function onUpdateHighDegree(val: string, index: string) {
|
function onUpdateHighDegree(val: string, index: number) {
|
||||||
rowsPosition.value[index].position = null;
|
rowsPosition.value[index].position = null;
|
||||||
rowsPosition.value[index].level =
|
rowsPosition.value[index].level =
|
||||||
val === "0" ? optionPosLevel1.value[0] : optionPosLevel2.value[0];
|
val === "0" ? optionPosLevel1.value[0] : optionPosLevel2.value[0];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue