แก้ไขอัพโหลดไฟล์เพิ่ม docx

This commit is contained in:
AnandaTon 2023-09-07 09:32:27 +07:00
parent 74f4f8991b
commit 98c7504a50
6 changed files with 162 additions and 159 deletions

View file

@ -42,8 +42,8 @@
icon="mdi-file-document-outline"
@click="openFile(props.row.file)"
>
<q-tooltip>ไฟลเอกสารหลกฐาน</q-tooltip>
</q-btn>
<q-tooltip>ไฟลเอกสารหลกฐาน</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
@ -53,9 +53,8 @@
icon="mdi-history"
@click="clickHistory(props.row)"
>
<q-tooltip>ประวการเปลยนช-นามสก
</q-tooltip>
</q-btn>
<q-tooltip>ประวการเปลยนช-นามสก </q-tooltip>
</q-btn>
</q-td>
</q-tr>
</template>
@ -172,9 +171,9 @@
class="full-width"
text-color="white"
:max-size="10000000"
accept=".jpg,.png,.pdf,.csv,.doc"
accept=".jpg,.png,.pdf,.csv,.doc,.docx"
bordered
label="[ไฟล์ jpg,png,pdf,csv,doc ขนาดไม่เกิน 10MB]"
label="[ไฟล์ jpg,png,pdf,csv,doc,docx ขนาดไม่เกิน 10MB]"
@added="fileAdd"
>
<template v-slot:header="scope">
@ -205,7 +204,7 @@
/>
<div class="col">
<div class="q-uploader__title">
{{ "[ไฟล์ jpg,png,pdf,csv,doc ขนาดไม่เกิน 10MB]" }}
{{ "[ไฟล์ jpg,png,pdf,csv,doc,docx ขนาดไม่เกิน 10MB]" }}
</div>
<div class="q-uploader__subtitle">
{{ scope.uploadSizeLabel }} /