feat: add status ocr model
This commit is contained in:
parent
0a13d1d29d
commit
2f9d84d892
1 changed files with 4 additions and 0 deletions
|
|
@ -2299,11 +2299,13 @@ const emptyCreateDialog = ref(false);
|
|||
"
|
||||
v-model:file="currentFromDataEmployee.file"
|
||||
hide-action
|
||||
v-model:status-ocr="employeeFormState.ocr"
|
||||
:readonly="!employeeFormState.isEmployeeEdit"
|
||||
:dropdown-list="uploadFileListEmployee"
|
||||
@send-ocr="
|
||||
async (_, file) => {
|
||||
if (file) await ocrStore.sendOcr({ file });
|
||||
employeeFormState.ocr = false;
|
||||
}
|
||||
"
|
||||
/>
|
||||
|
|
@ -3228,11 +3230,13 @@ const emptyCreateDialog = ref(false);
|
|||
"
|
||||
v-model:file="currentFromDataEmployee.file"
|
||||
hide-action
|
||||
v-model:status-ocr="employeeFormState.ocr"
|
||||
:readonly="!employeeFormState.isEmployeeEdit"
|
||||
:dropdown-list="uploadFileListEmployee"
|
||||
@send-ocr="
|
||||
async (_, file) => {
|
||||
if (file) await ocrStore.sendOcr({ file });
|
||||
employeeFormState.ocr = false;
|
||||
}
|
||||
"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue