fix: employee type
This commit is contained in:
parent
2b56c26e1b
commit
43d0caca67
2 changed files with 40 additions and 23 deletions
|
|
@ -34,7 +34,7 @@ import {
|
|||
CustomerBranch,
|
||||
CustomerBranchCreate,
|
||||
} from 'stores/customer/types';
|
||||
import { EmployeeCreate } from 'stores/employee/types';
|
||||
import { EmployeeCreate, Employee } from 'stores/employee/types';
|
||||
import { onMounted } from 'vue';
|
||||
|
||||
import FormPerson from 'src/components/02_personnel-management/FormPerson.vue';
|
||||
|
|
@ -825,7 +825,7 @@ watch(locale, () => {
|
|||
<div>
|
||||
<PersonCard
|
||||
:list="
|
||||
listEmployee.map((v) => ({
|
||||
listEmployee.map((v: Employee) => ({
|
||||
id: v.id,
|
||||
name:
|
||||
$i18n.locale === 'en-US'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue