refactor: edit type work
This commit is contained in:
parent
fbfe8399fb
commit
03ba79a401
2 changed files with 3 additions and 3 deletions
|
|
@ -686,7 +686,6 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
|||
|
||||
employeeWork: [
|
||||
{
|
||||
workEndDate: null,
|
||||
workPermitExpireDate: null,
|
||||
workPermitIssueDate: null,
|
||||
workPermitNo: '',
|
||||
|
|
@ -694,7 +693,6 @@ export const useEmployeeForm = defineStore('form-employee', () => {
|
|||
jobType: '',
|
||||
positionName: '',
|
||||
ownerName: '',
|
||||
remark: '',
|
||||
},
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ export type EmployeeWork = {
|
|||
workPermitExpireDate: Date;
|
||||
workPermitIssueDate: Date;
|
||||
workPermitNo: string;
|
||||
identityNo: string;
|
||||
workplace: string;
|
||||
jobType: string;
|
||||
positionName: string;
|
||||
|
|
@ -205,10 +206,11 @@ export type EmployeeWork = {
|
|||
};
|
||||
|
||||
export type EmployeeWorkCreate = {
|
||||
workEndDate?: Date | null;
|
||||
workPermitExpireDate?: Date | null;
|
||||
workPermitIssueDate?: Date | null;
|
||||
workPermitNo?: string;
|
||||
workPermitIssueAt?: string;
|
||||
identityNo?: string;
|
||||
workplace?: string;
|
||||
jobType?: string;
|
||||
positionName?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue