refactor: add uploadFileList
This commit is contained in:
parent
ae88c19964
commit
b36a92c050
1 changed files with 10 additions and 2 deletions
|
|
@ -12,6 +12,8 @@ import {
|
|||
DeleteButton,
|
||||
UndoButton,
|
||||
} from 'components/button';
|
||||
import UploadFile from 'src/components/upload-file/UploadFile.vue';
|
||||
import { uploadFileList } from '../../constant';
|
||||
|
||||
const item = defineModel<NonNullable<CustomerCreate['customerBranch']>[number]>(
|
||||
'customerBranch',
|
||||
|
|
@ -160,10 +162,16 @@ defineProps<{
|
|||
/>
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="attachment">
|
||||
<EmployerFormAttachment
|
||||
<UploadFile
|
||||
:dropdown-list="uploadFileList"
|
||||
v-model:file="item.file"
|
||||
hide-action
|
||||
/>
|
||||
|
||||
<!-- <EmployerFormAttachment
|
||||
:readonly="readonly"
|
||||
v-model:attachment="item.file"
|
||||
/>
|
||||
/> -->
|
||||
</q-tab-panel>
|
||||
</q-tab-panels>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue