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
84ab667d
Commit
84ab667d
authored
Apr 17, 2025
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:员工关怀调整表格内容
parent
119f19c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
src/components/SearchForm.vue
src/components/SearchForm.vue
+14
-8
No files found.
src/components/SearchForm.vue
View file @
84ab667d
...
...
@@ -567,11 +567,16 @@ export default {
}
if
(
this
.
$route
.
name
==
"
staff/care/list
"
)
{
this
.
form
.
careType
=
"
1
"
;
delete
this
.
$route
.
query
.
yearmonth
;
delete
this
.
$route
.
query
.
year
;
delete
this
.
$route
.
query
.
month
;
}
this
.
onSubmit
();
},
onSubmit
()
{
let
{
path
,
query
}
=
this
.
$route
;
if
(
this
.
form
.
yearmonth
)
{
let
arr
=
this
.
form
.
yearmonth
.
split
(
"
-
"
);
this
.
form
.
year
=
arr
[
0
];
...
...
@@ -580,7 +585,11 @@ export default {
this
.
form
.
month
=
undefined
;
}
if
(
this
.
form
.
year
)
{
this
.
form
.
year
=
this
.
form
.
year
;
if
(
this
.
$route
.
name
==
"
staff/care/list
"
&&
!
this
.
form
.
month
)
{
this
.
form
.
year
=
undefined
;
}
else
{
this
.
form
.
year
=
this
.
form
.
year
;
}
}
else
{
this
.
form
.
year
=
undefined
;
}
...
...
@@ -718,13 +727,10 @@ export default {
}
}
console
.
log
(
{
...
query
,
...
data
,
},
123123123123
);
console
.
log
({
...
query
,
...
data
,
});
this
.
$router
.
push
({
path
:
path
,
query
:
{
...
...
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