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
9d17f290
Commit
9d17f290
authored
Feb 18, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dd635443
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
createOrEditSchedule.js
pages/createOrEditSchedule/createOrEditSchedule.js
+8
-3
No files found.
pages/createOrEditSchedule/createOrEditSchedule.js
View file @
9d17f290
...
...
@@ -227,6 +227,9 @@ create.Page({
this
.
store
.
data
.
recurrenceModel
.
forever
=
'1'
;
this
.
update
()
}
console
.
log
(
1111111
)
console
.
log
(
JSON
.
stringify
(
this
.
data
.
addUserList
))
console
.
log
(
1111111
)
let
data
=
{
shcheduleType
:
'common'
,
deleteUserList
:
this
.
data
.
deleteUserList
,
...
...
@@ -382,7 +385,7 @@ create.Page({
deleteModel
:
'only'
}
dd
.
confirm
({
title
:
'温馨提示'
,
title
:
'温馨提示'
,
content
:
'确认删除本次日程吗'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -417,8 +420,8 @@ create.Page({
},
// 数组取差值 原先的数组与现在的比较 增加与减少
arrayPoor
(
origin
,
now
)
{
console
.
log
(
origin
)
console
.
log
(
now
)
console
.
log
(
JSON
.
stringify
(
origin
)
)
console
.
log
(
JSON
.
stringify
(
now
)
)
let
originMap
=
new
Map
()
let
nowMap
=
new
Map
()
let
add
=
[]
...
...
@@ -439,6 +442,8 @@ create.Page({
del
.
push
(
x
)
}
}
console
.
log
(
1111
)
console
.
log
(
JSON
.
stringify
(
add
))
this
.
setData
({
addUserList
:
add
,
deleteUserList
:
del
...
...
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