Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
huamu
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
郭铭瑶
huamu
Commits
9a3dc005
Commit
9a3dc005
authored
Oct 21, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改党龄相减逻辑
parent
f0138be1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
filter-drawer.vue
src/view/components/filter-drawer.vue
+1
-1
No files found.
src/view/components/filter-drawer.vue
View file @
9a3dc005
...
@@ -490,7 +490,7 @@ async function searchMember(type) {
...
@@ -490,7 +490,7 @@ async function searchMember(type) {
partyEnd
.
value
=
null
partyEnd
.
value
=
null
if
(
partyAge
.
value
)
{
if
(
partyAge
.
value
)
{
const
year
=
dayjs
()
const
year
=
dayjs
()
.
subtract
(
+
partyAge
.
value
-
1
,
'year'
)
.
subtract
(
+
partyAge
.
value
+
1
,
'year'
)
.
format
(
'YYYY'
)
.
format
(
'YYYY'
)
query
.
push
(
`paths @ "加入中共党组织日期" && string @ "
${
year
}
"`
)
query
.
push
(
`paths @ "加入中共党组织日期" && string @ "
${
year
}
"`
)
}
}
...
...
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