refactor: add statusOcr
This commit is contained in:
parent
22fae293e3
commit
381f1c18e6
1 changed files with 5 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ import EmployerFormBusiness from './EmployerFormBusiness.vue';
|
|||
import EmployerFormContact from './EmployerFormContact.vue';
|
||||
import { CustomerCreate } from 'stores/customer/types';
|
||||
import EmployerFormAbout from './EmployerFormAbout.vue';
|
||||
import EmployerFormBasicInfo from './EmployerFormBasicInfo.vue';
|
||||
|
||||
import { FormCitizen } from 'components/upload-file/';
|
||||
|
||||
import useOcrStore from 'stores/ocr';
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ import {
|
|||
import UploadFile from 'src/components/upload-file/UploadFile.vue';
|
||||
import { uploadFileListCustomer } from '../../constant';
|
||||
|
||||
const statusOcr = ref(false);
|
||||
const customer = defineModel<CustomerCreate>('customer', { required: true });
|
||||
const item = defineModel<NonNullable<CustomerCreate['customerBranch']>[number]>(
|
||||
'customerBranch',
|
||||
|
|
@ -40,7 +42,7 @@ defineProps<{
|
|||
prefixId?: string;
|
||||
actionDisabled?: boolean;
|
||||
customerType?: 'CORP' | 'PERS';
|
||||
treeFile?: { lable: string; file: { lable: string }[] }[];
|
||||
treeFile?: { label: string; file: { label: string }[] }[];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
|
|
@ -171,6 +173,7 @@ defineProps<{
|
|||
<UploadFile
|
||||
hide-action
|
||||
:dropdown-list="uploadFileListCustomer"
|
||||
v-model:status-ocr="statusOcr"
|
||||
v-model:file="item.file"
|
||||
:tree-file="treeFile"
|
||||
@send-ocr="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue