mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 03:49:37 +08:00
描述:会议预约时间改为分钟
This commit is contained in:
parent
c41755fe5b
commit
cee4cad324
@ -29,9 +29,9 @@ Page({
|
|||||||
showTime: false,
|
showTime: false,
|
||||||
dataList: [],
|
dataList: [],
|
||||||
filterTime(type, options) {
|
filterTime(type, options) {
|
||||||
if (type === 'minute') {
|
// if (type === 'minute') {
|
||||||
return options.filter((option) => option == '00');
|
// return options.filter((option) => option == '00');
|
||||||
}
|
// }
|
||||||
return options;
|
return options;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -68,10 +68,10 @@ Page({
|
|||||||
let paramUrl = "?meetingRoomId=" + meetingRoomId + "&startTime=" + selfFormatTimeYMDHMS(startTime) + "&endTime=" + selfFormatTimeYMDHMS(endTime);
|
let paramUrl = "?meetingRoomId=" + meetingRoomId + "&startTime=" + selfFormatTimeYMDHMS(startTime) + "&endTime=" + selfFormatTimeYMDHMS(endTime);
|
||||||
|
|
||||||
// 预约时间不能小于1小时
|
// 预约时间不能小于1小时
|
||||||
if ((1000 * 60 * 60) > (endTime - startTime)) {
|
if ((1000 * 60 * 1) > (endTime - startTime)) {
|
||||||
Notify({
|
Notify({
|
||||||
type: 'danger',
|
type: 'danger',
|
||||||
message: '预约时间不能小于1小时',
|
message: '预约时间不能小于1分钟',
|
||||||
duration: 1000,
|
duration: 1000,
|
||||||
selector: '#notify',
|
selector: '#notify',
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user