You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
6.1 KiB

<view class="data-v-62538e44"><view data-event-opts="{{[['tap',[['editPeople',['add']]]]]}}" style="width:90%;height:80rpx;line-height:80rpx;text-align:center;background:#088FEB;color:#fff;margin:20rpx auto;border-radius:10px;" bindtap="__e" class="data-v-62538e44"> 新增到达站</view><uni-card vue-id="0bf163e8-1" title="到达站列表" class="data-v-62538e44" bind:__l="__l" vue-slots="{{['default']}}"><uni-list vue-id="{{('0bf163e8-2')+','+('0bf163e8-1')}}" class="data-v-62538e44" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{staffList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-list-item vue-id="{{('0bf163e8-3-'+index)+','+('0bf163e8-2')}}" direction="row" clickable="{{true}}" class="data-v-62538e44" bind:__l="__l" vue-slots="{{['header','footer']}}"><view class="avatar-wrap data-v-62538e44" slot="header"><text class="staff-name data-v-62538e44">{{item.stationName}}</text></view><view style="display:flex;" class="data-v-62538e44" slot="footer"><view data-event-opts="{{[['tap',[['around',['$0'],[[['staffList','',index]]]]]]]}}" style="width:80px;height:60rpx;line-height:60rpx;text-align:center;background:#088FEB;color:#fff;border-radius:10px;" bindtap="__e" class="data-v-62538e44"> 中转站</view><view data-event-opts="{{[['tap',[['editPeople',['edit','$0'],[[['staffList','',index]]]]]]]}}" bindtap="__e" class="data-v-62538e44"><u-icon vue-id="{{('0bf163e8-4-'+index)+','+('0bf163e8-3-'+index)}}" name="edit-pen-fill" size="28" class="data-v-62538e44" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['delItem',['$0'],[[['staffList','',index]]]]]]]}}" bindtap="__e" class="data-v-62538e44"><u-icon vue-id="{{('0bf163e8-5-'+index)+','+('0bf163e8-3-'+index)}}" name="trash-fill" size="28" class="data-v-62538e44" bind:__l="__l"></u-icon></view></view></uni-list-item></block></uni-list></uni-card><uni-popup vue-id="0bf163e8-6" background-color="#fff" is-mask-click="{{true}}" data-ref="linePopup" class="data-v-62538e44 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="type-popup data-v-62538e44" style="width:600rpx;"><view style="height:120rpx;font-size:36rpx;font-weight:bold;line-height:120rpx;text-align:center;" class="data-v-62538e44"> 提示 </view><view style="text-align:center;" class="data-v-62538e44"> 您有多条线路,请选择其中一条进行操作 </view><block wx:for="{{lineList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkLine',['$0'],[[['lineList','',index,'circuitId']]]]]]]}}" style="height:80rpx;line-height:80rpx;text-align:center;border-radius:10px;border:1px solid #eee;margin-top:10px;" bindtap="__e" class="data-v-62538e44">{{''+item.circuitName+''}}</view></block></view></uni-popup><uni-popup vue-id="0bf163e8-7" background-color="#fff" is-mask-click="{{true}}" data-ref="inputDialog" class="data-v-62538e44 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="type-popup data-v-62538e44"><block wx:if="{{addType=='add'}}"><view style="height:120rpx;font-size:36rpx;font-weight:bold;line-height:120rpx;text-align:center;" class="data-v-62538e44"> 新增到达站 </view></block><block wx:if="{{addType=='edit'}}"><view style="height:120rpx;font-size:36rpx;font-weight:bold;line-height:120rpx;text-align:center;" class="data-v-62538e44"> 编辑信息 </view></block><uni-forms vue-id="{{('0bf163e8-8')+','+('0bf163e8-7')}}" modelValue="{{addForm}}" validateTrigger="bind" rules="{{rules}}" label-width="130rpx" label-align="right" data-ref="addForm" class="data-v-62538e44 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('0bf163e8-9')+','+('0bf163e8-8')}}" label="名称" required="{{true}}" name="stationName" class="data-v-62538e44" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('0bf163e8-10')+','+('0bf163e8-9')}}" type="text" placeholder="请输入名称" value="{{addForm.stationName}}" data-event-opts="{{[['^input',[['__set_model',['$0','stationName','$event',[]],['addForm']]]]]}}" class="data-v-62538e44" bind:__l="__l">