ปรับ Layout สืบสวนข้อเท็จจริง,สอบสวนความผิดทางวินัย

This commit is contained in:
Tanyalak 2023-11-07 12:13:42 +07:00
parent 7716b459ac
commit 960f996ebc
7 changed files with 577 additions and 505 deletions

View file

@ -29,6 +29,7 @@ const formData = reactive<FormData>({
position: "",
phone: "",
email: "",
role: "",
});
watch(props.data, async () => {
@ -39,6 +40,7 @@ watch(props.data, async () => {
formData.position = props.data.position;
formData.phone = props.data.phone;
formData.email = props.data.email;
formData.role = props.data.role;
});
//
@ -55,6 +57,7 @@ const lastnameRef = ref<object | null>(null);
const positionRef = ref<object | null>(null);
const phoneRef = ref<object | null>(null);
const emailRef = ref<object | null>(null);
const roleRef = ref<object | null>(null);
const formRef: FormRef = {
prefix: prefixRef,
firstname: firstnameRef,
@ -62,6 +65,7 @@ const formRef: FormRef = {
position: positionRef,
phone: phoneRef,
email: emailRef,
role: roleRef,
};
function onValidate() {