Commit aaedc8c4 by liang ce

forever修改

parent 0e85b6e4
......@@ -223,9 +223,8 @@ create.Page({
// 保存
saveCreate() {
if (!!this.data.scheduleItem) {
if (this.store.data.isMeetingNeverStop) {
if (this.store.data.recurrenceModel.forever == '1') {
this.store.data.recurrenceModel.terminateTime = this.getTwoYearToday();
this.store.data.recurrenceModel.forever = '1';
this.update()
}
let data = {
......
......@@ -81,6 +81,7 @@ create.Page({
return d.getDate()
},
switchChange(e) {
debugger
this.store.data.recurrenceModel.forever = e.detail.value ? '1' : '0'
this.update()
},
......
......@@ -13,8 +13,7 @@ class Store {
editList: [{ icon: 'icondingwei', text: '地点' }, { icon: 'iconhuiqiantixing', text: '提醒' }, { icon: 'iconchongfu', text: '重复' }, { icon: 'icondidianmiaoshu', text: '描述' }, { icon: 'iconshanchu', text: '删除' }],
remark: '', // 会议描述
aheadTimes: [],
requireUserList: [],
isMeetingNeverStop: true
requireUserList: []
}
}
......
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