完善规划页特殊日期弹窗
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
<view class="empty-date-head">
|
||||
<view class="empty-date-title-wrap">
|
||||
<text class="empty-date-title">{{pendingEmptyDateTitle}}</text>
|
||||
<text class="empty-date-subtitle">当前日期暂无预约,可以直接创建预约或设为特殊休息日</text>
|
||||
<text class="empty-date-subtitle">当前日期暂无预约,可以直接创建预约或设为特殊日期</text>
|
||||
</view>
|
||||
<button class="empty-date-close" bindtap="closeEmptyDateAction">×</button>
|
||||
</view>
|
||||
@@ -172,12 +172,35 @@
|
||||
<text class="empty-date-action-desc">进入预约表单,并自动带入日期;员工沿用当前筛选</text>
|
||||
</view>
|
||||
</button>
|
||||
<button class="empty-date-action rest" loading="{{savingRestDate}}" bindtap="setEmptyDateAsRest">
|
||||
<view class="empty-date-action-icon">休</view>
|
||||
<view class="empty-date-action-copy">
|
||||
<text class="empty-date-action-title">设为特殊休息日期</text>
|
||||
<text class="empty-date-action-desc">保存后月历标记为“休”,当天不再生成可约时间</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="empty-date-special">
|
||||
<text class="empty-date-section-title">特殊日期</text>
|
||||
<view class="empty-date-type-list">
|
||||
<button wx:for="{{specialDateTypes}}" wx:key="value" class="empty-date-type {{item.tone}} {{item.active ? 'active' : ''}}" data-value="{{item.value}}" bindtap="selectEmptyDateSpecialType">
|
||||
<view class="empty-date-action-icon">{{item.icon}}</view>
|
||||
<view class="empty-date-action-copy">
|
||||
<text class="empty-date-action-title">{{item.label}}</text>
|
||||
<text class="empty-date-action-desc">{{item.desc}}</text>
|
||||
</view>
|
||||
<text class="empty-date-type-check">{{item.active ? '已选' : ''}}</text>
|
||||
</button>
|
||||
</view>
|
||||
<view wx:if="{{pendingSpecialDateRequiresTime}}" class="empty-date-time-fields">
|
||||
<picker mode="time" value="{{pendingSpecialDateStartTime}}" bindchange="onEmptyDateStartTimeChange">
|
||||
<view class="empty-date-time-field">
|
||||
<text class="empty-date-time-label">开始</text>
|
||||
<text class="empty-date-time-value">{{pendingSpecialDateStartTime}}</text>
|
||||
</view>
|
||||
</picker>
|
||||
<picker mode="time" value="{{pendingSpecialDateEndTime}}" bindchange="onEmptyDateEndTimeChange">
|
||||
<view class="empty-date-time-field">
|
||||
<text class="empty-date-time-label">结束</text>
|
||||
<text class="empty-date-time-value">{{pendingSpecialDateEndTime}}</text>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
<button class="empty-date-save" loading="{{savingSpecialDate}}" bindtap="saveEmptyDateSpecialDate">
|
||||
<text>保存{{pendingSpecialDateTypeLabel}}</text>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user