12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!--pages/logisticsOrderMan/index.wxml-->
- <view class="container paddingBottom120">
- <block wx:if="{{!requestStatu}}">
- <van-sticky>
- <view class="topSeach">
- <view class="rightBox" style="position: relative;">
- <van-search value="{{ searchVal }}" shape="round" placeholder="请输入" bind:change="onChange" bind:search="onSearch" bind:cancel="onCancel" use-action-slot>
- <van-icon slot="action" class-prefix="iconfont" name="arrow3-right_fill" size="28px" color="#4B70EA" bind:tap="toSearch" />
- </van-search>
- </view>
- </view>
- </van-sticky>
- <block wx:if="{{resData.length>0}}">
- <!-- 列表 -->
- <block wx:for="{{resData}}" wx:key="index">
- <!-- 列表样式 -->
- <navigator url="info?id={{item.id}}&name={{item.name}}&account={{item.account}}&index={{index}}" class="listItem">
- <view class="title van-ellipsis">
- <van-icon class='iconfont' name='/images/licensePlate.png' size="36rpx"></van-icon><text>{{item.vehicleNo}}</text>
- <text wx:if="{{item.registStatus}}" class="status status{{item.registStatus}}">{{item.registStatusName}}</text>
- </view>
- <view class="info">
- <text>项目名称:{{item.projectName?item.projectName:'未填写'}}</text>
- </view>
- <view class="info">
- <text>司机:{{item.driverName?item.driverName:'未填写'}}</text>
- </view>
- <view class="time"><text>预约时间:{{item.appointmentTime?item.appointmentTime:''}}</text></view>
- <view class="bottomBtn">
- <van-button type="info" size="small" data-id="{{item.id}}" catchtap="toUpdate" wx:if="{{(roleCodeList!='6d76cxil3s'&&(item.appointmentStatus=='2'||item.appointmentStatus=='3'))||(roleCodeList=='6d76cxil3s'&&(item.appointmentStatus=='2'||item.appointmentStatus=='3'))}}" style="margin-right: 20rpx;">修改</van-button>
- <van-button type="danger" size="small" data-id="{{item.id}}" data-vehicle-no="{{item.vehicleNo}}" catchtap="delFun" wx:if="{{(roleCodeList!='6d76cxil3s'&&item.appointmentStatusName!='已完成'&&item.registStatusName!='已结束')||(roleCodeList=='6d76cxil3s'&&item.appointmentStatusName=='待提交'&&item.registStatusName!='已结束')}}" style="margin-right: 20rpx;">删除</van-button>
- <van-button type="warning" size="small" data-id="{{item.id}}" catchtap="sendFun" wx:if="{{item.appointmentStatus=='3'}}" style="margin-right: 20rpx;">提交</van-button>
- <van-button type="primary" size="small" data-id="{{item.id}}" data-approve-type="one" wx:if="{{(roleCodeList=='levelOneAudit'&&item.appointmentStatus=='4')||roleCodeList=='bizAdmin'&&item.appointmentStatus=='0'}}" catchtap="showPopup">审核</van-button>
- </view>
- </navigator>
- </block>
- <!-- 底部加载动画 -->
- <view class='more'>
- <van-loading size="24px" color="#3764FF" wx:if="{{more}}">加载中...</van-loading>
- <block wx:else>{{nomore}}</block>
- </view>
- </block>
- <block wx:else>
- <van-empty description="暂无相关数据" image="/images/null4.png" />
- </block>
- </block>
- <block wx:else>
- <view>
- <van-empty image="/images/loginNull.png">
- <view slot="description" style="text-align: center;">
- <text style="display:block;margin-bottom: 20rpx;">您还未登录,登录后查看更多~</text>
- <van-button type="info" bindtap="toLogin">立即登录</van-button>
- </view>
- </van-empty>
- </view>
- </block>
- </view>
|