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-manager-ui
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-manager-ui
Commits
119f19c8
Commit
119f19c8
authored
Apr 17, 2025
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:员工关怀调整表格内容
parent
4bcf572c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
11 deletions
+48
-11
src/components/SearchForm.vue
src/components/SearchForm.vue
+16
-3
src/views/staff/care/list.vue
src/views/staff/care/list.vue
+32
-8
No files found.
src/components/SearchForm.vue
View file @
119f19c8
...
...
@@ -28,7 +28,21 @@
>
{{
label
}}
</el-checkbox
>
</el-checkbox-group>
<el-radio-group
v-model=
"form[item.name]"
v-if=
"item.type === 'radio'"
@
change=
"onSubmit"
size=
"medium"
:border=
"true"
>
<el-radio-button
v-for=
"(label, value) in table.dict[item.name]"
:label=
"value"
:key=
"value"
>
{{
label
}}
</el-radio-button>
</el-radio-group>
<el-select
v-model=
"form[item.name]"
:filterable=
"item.filterable"
...
...
@@ -541,8 +555,7 @@ export default {
this
.
form
=
Object
.
assign
({},
this
.
form
,
newData
);
if
(
this
.
$route
.
name
==
"
check/window/workman/perform/detail/list
"
||
this
.
$route
.
name
==
"
window/perform/summary/list
"
||
this
.
$route
.
name
==
"
staff/care/list
"
this
.
$route
.
name
==
"
window/perform/summary/list
"
)
{
this
.
form
.
yearmonth
=
timestampToTime
(
new
Date
(),
2
);
this
.
form
.
year
=
timestampToTime
(
new
Date
(),
2
).
slice
(
0
,
4
);
...
...
src/views/staff/care/list.vue
View file @
119f19c8
...
...
@@ -52,8 +52,19 @@
align-items: center;
margin-right: 10px;
"
>
<span
v-if=
"$route.query.year && $route.query.month"
>
{{
$route
.
query
.
year
+
"
年
"
+
$route
.
query
.
month
+
"
月
"
}}{{
$route
.
query
.
careType
==
1
?
"
过生日的员工
"
:
"
过入职周年的员工
"
}}
}}{{
$route
.
query
.
careType
==
1
?
"
过生日的员工
"
:
"
过入职周年的员工
"
}}
</span>
<span
v-else
>
当月
{{
$route
.
query
.
careType
==
1
?
"
过生日的员工
"
:
"
过入职周年的员工
"
}}
</span>
<span
style=
"color: #1a7af8; font-size: 14px"
>
{{
`(共${
...
...
@@ -142,17 +153,18 @@ export default {
config
:
{
isshowTabPane
:
true
,
search
:
[
{
name
:
"
careType
"
,
type
:
"
radio
"
,
label
:
"
关怀类型
"
,
}
,
{
name
:
"
staffName
"
,
type
:
"
text
"
,
label
:
"
员工姓名
"
,
fuzzy
:
true
,
}
,
{
name
:
"
careType
"
,
type
:
"
select
"
,
label
:
"
关怀类型
"
,
}
,
{
name
:
"
yearmonth
"
,
type
:
"
month
"
,
...
...
@@ -298,3 +310,15 @@ export default {
}
,
}
;
<
/script
>
<
style
lang
=
"
less
"
scoped
>
/deep/
.
el
-
radio
-
button__inner
{
border
:
1
px
solid
#
dcdfe6
!
important
;
}
/deep/
.
el
-
radio
-
button__orig
-
radio
:
checked
+
.
el
-
radio
-
button__inner
{
color
:
#
fff
!
important
;
background
-
color
:
#
409
eff
!
important
;
border
-
color
:
#
409
eff
!
important
;
-
webkit
-
box
-
shadow
:
-
1
px
0
0
0
#
409
eff
!
important
;
box
-
shadow
:
-
1
px
0
0
0
#
409
eff
!
important
;
}
<
/style>
\ No newline at end of file
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