@@ -173,8 +174,14 @@ const fileAdd = async (val: any) => {
file.value = val
}
+const fileDelete = async (val: any) => {
+ name.value = ''
+ file.value = []
+}
+
const getData = async () => {
name.value = ''
+ file.value = []
uploader.value.reset()
loaderPage(true)
await http
diff --git a/src/modules/01_exam/components/Form/Information.vue b/src/modules/01_exam/components/Form/Information.vue
index 05c10a2..a725ccb 100644
--- a/src/modules/01_exam/components/Form/Information.vue
+++ b/src/modules/01_exam/components/Form/Information.vue
@@ -269,12 +269,11 @@
:readonly="!(status == 'register' || status == 'rejectRegister')"
:borderless="!(status == 'register' || status == 'rejectRegister')"
v-model="defaultInformation.tel"
- :rules="[
- (val) => !!val || `${'กรุณากรอก โทรศัพท์'}`,
- (val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกข้อมูลโทรศัพท์ให้ถูกต้อง'}`
- ]"
:label="`${'โทรศัพท์'}`"
/>
+
+
diff --git a/src/stores/mixin.ts b/src/stores/mixin.ts
index 932021f..c6cb335 100644
--- a/src/stores/mixin.ts
+++ b/src/stores/mixin.ts
@@ -452,7 +452,7 @@ export const useCounterMixin = defineStore('mixin', () => {
case 'checkPoint':
return 'รอเจ้าหน้าที่สรุปคะแนนสอบ'
case 'done':
- return 'สอบคัดเลือกสำเร็จ'
+ return 'คัดเลือกสำเร็จ'
case 'waiver':
return 'สละสิทธิ์สอบ'
default: