โครงสร้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-21 12:48:12 +07:00
parent 112f650623
commit 0f706b8e75
11 changed files with 123 additions and 13 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, reactive, watch, } from "vue";
import { ref, reactive, watch } from "vue";
import { useQuasar } from "quasar";
import http from "@/plugins/http";
@ -232,6 +232,8 @@ async function clearFormPositionSelect() {
formPositionSelect.positionExecutive = "";
formPositionSelect.positionExecutiveField = "";
formPositionSelect.positionArea = "";
shape.value = "false";
posExecutive.value = "";
isSpecial.value = false;
setTimeout(async () => {
isDisValidate.value = false;
@ -376,7 +378,7 @@ watch(
hide-bottom-space
:rules="
!isDisValidate
? [(val) => !!val || `${'กรุณากรอกตำแหน่งในสายงาน'}`]
? [(val:string) => !!val || `${'กรุณากรอกตำแหน่งในสายงาน'}`]
: []
"
/>
@ -407,7 +409,7 @@ watch(
hide-bottom-space
:rules="
!isDisValidate
? [(val) => !!val || `${'กรุณากรอกสายงาน'}`]
? [(val:string) => !!val || `${'กรุณากรอกสายงาน'}`]
: []
"
/>
@ -430,7 +432,7 @@ watch(
hide-bottom-space
:rules="
!isDisValidate
? [(val) => !!val || `${'กรุณาเลือกประเภทตำแหน่ง'}`]
? [(val:string) => !!val || `${'กรุณาเลือกประเภทตำแหน่ง'}`]
: []
"
/>
@ -453,7 +455,7 @@ watch(
hide-bottom-space
:rules="
!isDisValidate
? [(val) => !!val || `${'กรุณาเลือกระดับตำแหน่ง'}`]
? [(val:string) => !!val || `${'กรุณาเลือกระดับตำแหน่ง'}`]
: []
"
/>