no message
This commit is contained in:
parent
bfbccf16d4
commit
0676e8a644
2 changed files with 124 additions and 1 deletions
|
|
@ -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 || `${'กรุณาเลือกไฟล์'}`]"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue