1 |
- <view class="page-wrap data-v-145d70ba"><view class="title data-v-145d70ba"><uni-list-item vue-id="7751278c-1" show-switch="{{true}}" title="按周排班" class="data-v-145d70ba" bind:__l="__l" vue-slots="{{['footer']}}"><view class="tip data-v-145d70ba" slot="footer"><text class="data-v-145d70ba">第</text><view class="week data-v-145d70ba"><uni-tag vue-id="{{('7751278c-2')+','+('7751278c-1')}}" text="{{''+week}}" size="mini" type="primary" class="data-v-145d70ba" bind:__l="__l"></uni-tag></view><text class="data-v-145d70ba">周</text><text class="time data-v-145d70ba">{{startDate+"至"+endDate}}</text></view></uni-list-item></view><view class="selectbox data-v-145d70ba"><uni-data-select class="item-select year data-v-145d70ba" vue-id="7751278c-3" localdata="{{years}}" clear="{{false}}" value="{{year}}" data-event-opts="{{[['^change',[['getData']]],['^input',[['__set_model',['','year','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select><uni-data-select class="item-select data-v-145d70ba" vue-id="7751278c-4" localdata="{{weeks}}" clear="{{false}}" value="{{week}}" data-event-opts="{{[['^change',[['getData']]],['^input',[['__set_model',['','week','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-select></view><uni-list vue-id="7751278c-5" class="data-v-145d70ba" bind:__l="__l" vue-slots="{{['default']}}"><uni-swipe-action vue-id="{{('7751278c-6')+','+('7751278c-5')}}" data-ref="itemSwipe" class="data-v-145d70ba vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{items}}" wx:for-item="item" wx:for-index="idx" wx:key="id"><uni-swipe-action-item vue-id="{{('7751278c-7-'+idx)+','+('7751278c-6')}}" auto-close="{{true}}" class="data-v-145d70ba" bind:__l="__l" vue-slots="{{['default','right']}}"><view class="slot-button data-v-145d70ba" slot="right"><view data-event-opts="{{[['tap',[['swipeHandle',[['o',['type',1],['item',item]]]]]]]}}" class="bt edit data-v-145d70ba" bindtap="__e"><text class="slot-button-text data-v-145d70ba">编辑</text></view><view data-event-opts="{{[['tap',[['swipeHandle',[['o',['type',2],['item',item]]]]]]]}}" class="bt del data-v-145d70ba" bindtap="__e"><text class="slot-button-text data-v-145d70ba">删除</text></view></view><uni-list-item vue-id="{{('7751278c-8-'+idx)+','+('7751278c-7-'+idx)}}" title="{{item.accountName}}" note="{{item.remark}}" thumb="/static/images/avatar.png" rightText="{{item.posName}}" class="data-v-145d70ba" bind:__l="__l" vue-slots="{{['footer']}}"><view class="rtbox _div data-v-145d70ba" slot="footer"><view class="rt data-v-145d70ba"><view class="positionName data-v-145d70ba"><uni-tag vue-id="{{('7751278c-9-'+idx)+','+('7751278c-8-'+idx)}}" text="{{item.positionName}}" size="mini" type="primary" class="data-v-145d70ba" bind:__l="__l"></uni-tag></view><view class="posName data-v-145d70ba"><uni-tag vue-id="{{('7751278c-10-'+idx)+','+('7751278c-8-'+idx)}}" text="{{item.posName}}" size="mini" type="success" class="data-v-145d70ba" bind:__l="__l"></uni-tag></view></view></view></uni-list-item></uni-swipe-action-item></block></uni-swipe-action></uni-list><view data-event-opts="{{[['tap',[['onAdd',['$event']]]]]}}" class="addbt _div data-v-145d70ba" bindtap="__e"><view class="word data-v-145d70ba"><uni-icons vue-id="7751278c-11" type="plusempty" size="30" color="#fff" class="data-v-145d70ba" bind:__l="__l"></uni-icons></view></view><add-form bind:success="__e" vue-id="7751278c-12" data-ref="add" data-event-opts="{{[['^success',[['getData']]]]}}" class="data-v-145d70ba vue-ref" bind:__l="__l"></add-form></view>
|