Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
a9a1c977
Commit
a9a1c977
authored
Dec 08, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改员工格式化
parent
87db378d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
attendance-performance-manager-ui/admin/src/views/dept/drawershow.vue
...erformance-manager-ui/admin/src/views/dept/drawershow.vue
+3
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptEntity.java
...in/java/com/mortals/xhx/module/dept/model/DeptEntity.java
+2
-2
No files found.
attendance-performance-manager-ui/admin/src/views/dept/drawershow.vue
View file @
a9a1c977
...
...
@@ -7,9 +7,9 @@
size=
"50%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-row>
<Field
label=
"部门名称"
prop=
"deptName"
v-model=
"form.deptName"
type=
"textarea"
placeholder=
"请输入部门名称"
:maxLength=
"15"
/>
<Field
label=
"上级部门"
prop=
"parentId"
v-model=
"form.parentId"
type=
"select"
:enumData=
"dict.deptName"
placeholder=
"请选择上级部门"
/>
<Field
label=
"负责人"
prop=
"workId"
v-model=
"form.workId"
type=
"select"
:enumData=
"dict.workName"
placeholder=
"请选择员工"
/>
<Field
:span=
"20"
label=
"部门名称"
prop=
"deptName"
v-model=
"form.deptName"
type=
"textarea"
placeholder=
"请输入部门名称"
:maxLength=
"15"
/>
<Field
:span=
"20"
label=
"上级部门"
prop=
"parentId"
v-model=
"form.parentId"
type=
"select"
:enumData=
"dict.deptName"
placeholder=
"请选择上级部门"
/>
<Field
:span=
"20"
label=
"负责人"
prop=
"workId"
v-model=
"form.workId"
type=
"select"
:enumData=
"dict.workName"
placeholder=
"请选择员工"
/>
</el-row>
<form-buttons
@
submit=
'submitForm'
noCancelBtn
/>
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptEntity.java
View file @
a9a1c977
...
...
@@ -79,7 +79,7 @@ public class DeptEntity extends DeptVo {
public
void
initAttrValue
(){
this
.
parentId
=
-
1L
;
this
.
parentId
=
null
;
this
.
ancestors
=
""
;
...
...
@@ -93,7 +93,7 @@ public class DeptEntity extends DeptVo {
this
.
personNum
=
0
;
this
.
workId
=
-
1L
;
this
.
workId
=
null
;
this
.
workName
=
""
;
...
...
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