Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hr-admin-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
anjia-hr
hr-admin-view
Commits
fc705dcd
Commit
fc705dcd
authored
Nov 20, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复离职详情
parent
630bf5d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
employee-detail-drawer.vue
...antd/src/views/hr/employeeInfo/employee-detail-drawer.vue
+5
-1
data.ts
apps/web-antd/src/views/hr/resignEmployee/data.ts
+1
-1
No files found.
apps/web-antd/src/views/hr/employeeInfo/employee-detail-drawer.vue
View file @
fc705dcd
...
...
@@ -14,6 +14,7 @@ import {
}
from
'ant-design-vue'
;
import
{
apiInfoDetail
}
from
'#/api/hr/employeeInfo'
;
import
{
apiInfoDetail
as
resignInfoDetail
}
from
'#/api/hr/resignEmployee'
;
const
[
BasicDrawer
,
drawerApi
]
=
useVbenDrawer
({
onOpenChange
:
handleOpenChange
,
...
...
@@ -38,7 +39,10 @@ async function handleOpenChange(open: boolean) {
return
null
;
}
isResign
.
value
=
!!
resignFlag
;
const
data
=
await
apiInfoDetail
(
id
);
const
data
=
await
(
isResign
.
value
?
resignInfoDetail
(
id
)
:
apiInfoDetail
(
id
));
// const data = await apiInfoDetail(id);
currentEmployee
.
value
=
data
;
}
...
...
apps/web-antd/src/views/hr/resignEmployee/data.ts
View file @
fc705dcd
...
...
@@ -29,7 +29,7 @@ export const querySchema: VbenFormSchema[] = [
},
{
component
:
'Input'
,
fieldName
:
'employee
Id
'
,
fieldName
:
'employee
No
'
,
label
:
'工号'
,
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment