Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
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
fengzhaoyu
schedule
Commits
f2c01991
Commit
f2c01991
authored
4 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复重复规则显示不正确
parent
b927cb63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
utils.js
pages/meetingDetail/utils.js
+9
-5
No files found.
pages/meetingDetail/utils.js
View file @
f2c01991
export
function
getSelectRepeatId
(
recurrenceModel
,
repeatList
)
{
let
id
=
0
;
for
(
let
i
=
0
;
i
<
repeatList
.
length
;
i
++
)
{
if
(
repeatList
[
i
].
recurrenceModel
.
model
===
recurrenceModel
.
model
)
{
if
(
recurrenceModel
.
model
===
"weekly"
&&
recurrenceModel
.
weekDayList
.
length
===
repeatList
[
i
].
recurrenceModel
.
weekDayList
.
length
)
{
return
repeatList
[
i
].
id
if
(
recurrenceModel
.
model
===
"weekly"
)
{
if
(
recurrenceModel
.
weekDayList
.
length
===
repeatList
[
i
].
recurrenceModel
.
weekDayList
.
length
)
{
id
=
repeatList
[
i
].
id
;
}
}
else
{
id
=
repeatList
[
i
].
id
;
}
return
repeatList
[
i
].
id
}
}
return
0
return
id
;
}
export
function
getInitialPsarticipants
(
participants
)
{
let
people
=
{}
...
...
This diff is collapsed.
Click to expand it.
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