Commit f8e539f0 by liang ce

修改:00时间问题

parent 9b142178
......@@ -242,8 +242,8 @@ create.Page({
latitude: '10',
locationName: this.store.data.locationName || ''
},
startTime: `${this.data.time1.replace(/\//g, "-")}:00`,
endTime: `${this.data.time2.replace(/\//g, '-')}:00`,
startTime: `${this.data.time1.replace(/\//g, "-")}`,
endTime: `${this.data.time2.replace(/\//g, '-')}`,
scheduleType: 'common',
noticeType: 'dd_notice',
participatorList: this.store.data.participatorList,
......@@ -269,8 +269,8 @@ create.Page({
locationName: this.store.data.locationName || ''
},
shcheduleType: 'common',
startTime: `${this.data.time1.replace(/\//g, "-")}:00`,
endTime: `${this.data.time2.replace(/\//g, '-')}:00`,
startTime: `${this.data.time1.replace(/\//g, "-")}`,
endTime: `${this.data.time2.replace(/\//g, '-')}`,
scheduleType: 'common',
noticeType: 'dd_notice',
participatorList: this.store.data.participatorList,
......@@ -311,8 +311,8 @@ create.Page({
conflict() {
this.store.data.conflictPeople = []
let data = {
startTime: `${this.data.time1.replace(/\//g, "-")}:00`,
endTime: `${this.data.time2.replace(/\//g, "-")}:00`,
startTime: `${this.data.time1.replace(/\//g, "-")}`,
endTime: `${this.data.time2.replace(/\//g, "-")}`,
userIds: this.store.data.participatorUserId
}
getUserScheduleInTime(data).then(res => {
......
......@@ -84,8 +84,8 @@ create.Page({
conflict() {
this.store.data.conflictPeople = []
let data = {
startTime: `${this.data.time1}:00`,
endTime: `${this.data.time2}:00`,
startTime: `${this.data.time1}`,
endTime: `${this.data.time2}`,
userIds: this.store.data.participatorUserId
}
getUserScheduleInTime(data).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment