no message

This commit is contained in:
setthawutttty 2024-10-21 16:04:02 +07:00
parent bfbccf16d4
commit 0676e8a644
2 changed files with 124 additions and 1 deletions

View file

@ -171,6 +171,7 @@ function fetchProfile() {
/** popup รายละเอียดของ ขอปรับปรุงข้อมูลจากกรมการปกครอง */
function onInfo(val: string) {
formData.document = null;
if (val == "ขอปรับปรุงข้อมูลจากกรมการปกครอง") {
modalInfo.value = true;
}
@ -238,10 +239,19 @@ watch(
<q-file
:class="classInput(isReadOnly)"
v-model="formData.document"
label="อัปโหลดเอกสารหลักฐาน"
:label="
formData.topic == 'ขอแก้ไขรูปภาพประจำตัว'
? 'อัปโหลดรูปภาพประจำตัว'
: 'อัปโหลดเอกสารหลักฐาน'
"
flat
dense
outlined
:accept="
formData.topic == 'ขอแก้ไขรูปภาพประจำตัว'
? 'image/*'
: '.pdf,.xlsx,.docx'
"
hide-bottom-space
:rules="[(val:any) => !!val || `${'กรุณาเลือกไฟล์'}`]"
/>