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 EmployerFormContact from './EmployerFormContact.vue';
|
||||||
import { CustomerCreate } from 'stores/customer/types';
|
import { CustomerCreate } from 'stores/customer/types';
|
||||||
import EmployerFormAbout from './EmployerFormAbout.vue';
|
import EmployerFormAbout from './EmployerFormAbout.vue';
|
||||||
import EmployerFormBasicInfo from './EmployerFormBasicInfo.vue';
|
|
||||||
|
import { FormCitizen } from 'components/upload-file/';
|
||||||
|
|
||||||
import useOcrStore from 'stores/ocr';
|
import useOcrStore from 'stores/ocr';
|
||||||
|
|
||||||
|
|
@ -19,6 +20,7 @@ import {
|
||||||
import UploadFile from 'src/components/upload-file/UploadFile.vue';
|
import UploadFile from 'src/components/upload-file/UploadFile.vue';
|
||||||
import { uploadFileListCustomer } from '../../constant';
|
import { uploadFileListCustomer } from '../../constant';
|
||||||
|
|
||||||
|
const statusOcr = ref(false);
|
||||||
const customer = defineModel<CustomerCreate>('customer', { required: true });
|
const customer = defineModel<CustomerCreate>('customer', { required: true });
|
||||||
const item = defineModel<NonNullable<CustomerCreate['customerBranch']>[number]>(
|
const item = defineModel<NonNullable<CustomerCreate['customerBranch']>[number]>(
|
||||||
'customerBranch',
|
'customerBranch',
|
||||||
|
|
@ -40,7 +42,7 @@ defineProps<{
|
||||||
prefixId?: string;
|
prefixId?: string;
|
||||||
actionDisabled?: boolean;
|
actionDisabled?: boolean;
|
||||||
customerType?: 'CORP' | 'PERS';
|
customerType?: 'CORP' | 'PERS';
|
||||||
treeFile?: { lable: string; file: { lable: string }[] }[];
|
treeFile?: { label: string; file: { label: string }[] }[];
|
||||||
}>();
|
}>();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -171,6 +173,7 @@ defineProps<{
|
||||||
<UploadFile
|
<UploadFile
|
||||||
hide-action
|
hide-action
|
||||||
:dropdown-list="uploadFileListCustomer"
|
:dropdown-list="uploadFileListCustomer"
|
||||||
|
v-model:status-ocr="statusOcr"
|
||||||
v-model:file="item.file"
|
v-model:file="item.file"
|
||||||
:tree-file="treeFile"
|
:tree-file="treeFile"
|
||||||
@send-ocr="
|
@send-ocr="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue