Commit a049b10f by fengzhaoyu

暂存

parent 8b3dee38
...@@ -81,7 +81,7 @@ create.Page({ ...@@ -81,7 +81,7 @@ create.Page({
_that.update() _that.update()
_that.remindTimeText() _that.remindTimeText()
}, 100) }, 100)
}, },
// 选择时间 // 选择时间
selectTime(event) { selectTime(event) {
...@@ -94,7 +94,6 @@ create.Page({ ...@@ -94,7 +94,6 @@ create.Page({
// 选择时间组件回调 // 选择时间组件回调
changeSelectTime(e) { changeSelectTime(e) {
if (e.status === 1) { if (e.status === 1) {
var date1 = new Date(e.time); var date1 = new Date(e.time);
var weekList = ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] var weekList = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
var w1 = weekList[date1.getDay()]; var w1 = weekList[date1.getDay()];
...@@ -272,10 +271,7 @@ create.Page({ ...@@ -272,10 +271,7 @@ create.Page({
delta: 1 delta: 1
}) })
}) })
} }
}, },
// 关闭编辑项 // 关闭编辑项
closeEditList(event) { closeEditList(event) {
...@@ -335,7 +331,7 @@ create.Page({ ...@@ -335,7 +331,7 @@ create.Page({
this.store.data.locationName = res.data.data.location.locationName this.store.data.locationName = res.data.data.location.locationName
this.store.data.repeatable = res.data.data.repeatable this.store.data.repeatable = res.data.data.repeatable
this.store.data.aheadTimes = res.data.data.aheadTimes this.store.data.aheadTimes = res.data.data.aheadTimes
console.log( this.store.data.aheadTimes) console.log(this.store.data.aheadTimes)
this.store.data.participatorUserId = participatorUserId this.store.data.participatorUserId = participatorUserId
this.store.data.requireUserList = participatorUserId this.store.data.requireUserList = participatorUserId
this.store.data.participatorList = participatorList this.store.data.participatorList = participatorList
...@@ -484,7 +480,7 @@ create.Page({ ...@@ -484,7 +480,7 @@ create.Page({
for (let i = 0; i < index.length; i++) { for (let i = 0; i < index.length; i++) {
remindMap.set(i, text[i]) remindMap.set(i, text[i])
} }
for (let m = 0; m<this.store.data.aheadTimes.length; m++) { for (let m = 0; m < this.store.data.aheadTimes.length; m++) {
aheadText += remindMap.get(m) + '、' aheadText += remindMap.get(m) + '、'
} }
aheadText = aheadText.substring(0, aheadText.length - 1) aheadText = aheadText.substring(0, aheadText.length - 1)
......
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