index.wxml 3.5 KB

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