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
ec6e2c90
Commit
ec6e2c90
authored
Dec 12, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复编辑问题
parent
f6f15916
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
146 additions
and
2 deletions
+146
-2
guard.ts
apps/web-antd/src/router/guard.ts
+1
-1
apply-transfer-model.vue
...b-antd/src/views/hr/employeeInfo/apply-transfer-model.vue
+36
-0
form.vue
apps/web-antd/src/views/hr/employeeInfo/form.vue
+72
-0
form.vue
apps/web-antd/src/views/hr/partTimeInfo/form.vue
+36
-0
preset-interceptors.ts
...effects/request/src/request-client/preset-interceptors.ts
+1
-1
No files found.
apps/web-antd/src/router/guard.ts
View file @
ec6e2c90
...
...
@@ -63,7 +63,7 @@ function setupAccessGuard(router: Router) {
}
// accessToken 检查
console
.
log
(
'[accessStore.accessToken]'
,
accessStore
.
accessToken
);
//
console.log('[accessStore.accessToken]', accessStore.accessToken);
if
(
!
accessStore
.
accessToken
)
{
// 明确声明忽略权限访问权限,则可以访问
if
(
to
.
meta
.
ignoreAccess
)
{
...
...
apps/web-antd/src/views/hr/employeeInfo/apply-transfer-model.vue
View file @
ec6e2c90
...
...
@@ -55,6 +55,42 @@ const formSchema: VbenFormSchema[] = [
},
disabled
:
true
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'plate'
,
label
:
'板块'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'firstLevelDepartment'
,
label
:
'一级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'secondLevelDepartment'
,
label
:
'二级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'thirdLevelDepartment'
,
label
:
'三级部门'
,
},
{
component
:
'Input'
,
fieldName
:
'name'
,
...
...
apps/web-antd/src/views/hr/employeeInfo/form.vue
View file @
ec6e2c90
...
...
@@ -55,6 +55,78 @@ const formSchema: VbenFormSchema[] = [
fieldName
:
'id'
,
label
:
'id'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'plate'
,
label
:
'板块'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'firstLevelDepartment'
,
label
:
'一级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'secondLevelDepartment'
,
label
:
'二级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'thirdLevelDepartment'
,
label
:
'三级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'concurrentPlate'
,
label
:
'兼岗板块'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'concurrentFirstDept'
,
label
:
'兼岗一级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'concurrentSecondDept'
,
label
:
'兼岗二级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'concurrentThirdDept'
,
label
:
'兼岗三级部门'
,
},
{
component
:
'Divider'
,
componentProps
:
{
...
...
apps/web-antd/src/views/hr/partTimeInfo/form.vue
View file @
ec6e2c90
...
...
@@ -35,6 +35,42 @@ const formSchema: VbenFormSchema[] = [
fieldName
:
'id'
,
label
:
'id'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'plate'
,
label
:
'板块'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'firstLevelDepartment'
,
label
:
'一级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'secondLevelDepartment'
,
label
:
'二级部门'
,
},
{
component
:
'Input'
,
dependencies
:
{
show
:
()
=>
false
,
triggerFields
:
[
''
],
},
fieldName
:
'thirdLevelDepartment'
,
label
:
'三级部门'
,
},
{
component
:
'Divider'
,
componentProps
:
{
...
...
packages/effects/request/src/request-client/preset-interceptors.ts
View file @
ec6e2c90
...
...
@@ -30,7 +30,7 @@ export const defaultResponseInterceptor = ({
return
response
;
}
console
.
log
(
'[defaultResponseInterceptor]'
,
status
,
responseData
,
config
);
//
console.log('[defaultResponseInterceptor]', status, responseData, config);
if
(
status
>=
200
&&
status
<
400
)
{
if
(
config
.
responseReturn
===
'body'
)
{
...
...
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