12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <wxs module="time" src="../../utils/time.wxs"></wxs>
- <van-tabs color='#3c99fa' active="{{ active0 }}" bind:change="onChange" class='tabs'>
- <van-tab title="采集记录">
- <van-tabs class='tabs1' active="{{ active1 }}" bind:change="tabsChange" color='rgba(0,0,0,0)'>
- <van-tab title="全部"></van-tab>
- <van-tab title="填全未审"></van-tab>
- <van-tab title="未完成"></van-tab>
- <van-tab title="审核中"></van-tab>
- <van-tab title="审核完成"></van-tab>
- <van-tab title="审核失败"></van-tab>
- </van-tabs>
- <view style="width:700rpx;display:flex;margin-left:25rpx;display:{{isShowTrue}}">
- <view class="top">
- <checkbox style="float:left;margin-top:-5rpx;margin-left:35rpx" checked="{{isAllTrue}}" bindtap="selectall" />
- <view style="float:left;margin-left:15rpx">全选/反选</view>
- <view style="float:right">共<text class="number"> {{listData.length}} </text>条记录</view>
- </view>
- </view>
- <scroll-view enable-back-to-top='true' id="scroll" scroll-y="true" style='height: {{scrollHeight + "px"}};width:700rpx;margin-left:25rpx;font-size:28rpx'>
- <checkbox-group bindchange="checkboxChange">
- <view wx:for="{{listData}}" wx:key="idNumber" class="checkbox_border">
- <view style="width:670rpx;margin-left:15rpx;height:60rpx;margin-top:20rpx;border-bottom:1px solid #f4f4f4">
- <checkbox style="float:left;margin-left:20rpx" disabled="{{item.status == '3'}}" value="{{item._id}}" checked="{{item.checked}}" />
- <view style="width:580rpx;height:60rpx;float:right" value="{{item.text}}" bindtap="cellClick" data-infos='{{item}}'>
- <view style="float:left;color:#333333;">{{item.name}}</view>
- <view style="float:left;color:#70c546;margin-left:10rpx" wx:if='{{item.idNumber}}'>({{item.idNumber}})</view>
- <view style="float:right;margin-right:10rpx">
- <van-icon name="arrow" color="#b5b5b5" />
- </view>
- </view>
- </view>
- <view style="height:60rpx;margin-top:20rpx;font-size:26rpx;width:100%">
- <view style="float:left;display:flex;color:#999999;margin-left:20rpx">状态:
- <view wx:if="{{item.status == '1'}}" style="color: #67C23A;font-size:28rpx;font-weight:600;">填全未审</view>
- <view wx:if="{{item.status == '0'}}" style="color: #F56C6C;font-size:28rpx;font-weight:600;">未完成</view>
- <view wx:if="{{item.status == '2'}}" style="color: #909399;font-size:28rpx;font-weight:600;">审核中</view>
- <view wx:if="{{item.status == '3'}}" style="color: #409EFF;font-size:28rpx;font-weight:600;">审核完成</view>
- <view wx:if="{{item.status == '4'}}" style="color: #E6A23C;font-size:28rpx;font-weight:600;">审核失败</view>
- </view>
- <view style="float:right;color:#999999;margin-right:20rpx" bindtap="cellClick" data-infos='{{item}}' value="{{item.text}}">{{time.formatDate(item.time)}}</view>
- <view style="float:right;color:#999999;">采集时间:</view>
- </view>
- </view>
- </checkbox-group>
- </scroll-view>
- <image wx:if='{{listData.length==0}}' style="width:220rpx;height:169rpx;position:absolute;top:400rpx;left:265rpx" src="../../images/nodata1.png"></image>
- <view wx:if='{{listData.length==0}}' style="position:absolute;top:580rpx;left:320rpx;font-size:28rpx;color:#bcdbfd">暂无数据</view>
- <view class="deletebj" bindtap="deletes" wx:if='{{listData.length!=0}}'>
- <view class="delete">
- <van-icon name="delete" color="#fd4133" size="35rpx;margin-right:10rpx" /><text>删除</text></view>
- </view>
- </van-tab>
- <van-tab title="巡访记录">
- <view class="top1" wx:if="{{list.length!=0}}">共<text class="number"> {{list.length}} </text>条巡访记录</view>
- <image wx:if='{{list.length==0}}' style="width:220rpx;height:169rpx;position:absolute;top:400rpx;left:265rpx" src="../../images/nodata1.png"></image>
- <view wx:if='{{list.length==0}}' style="position:absolute;top:580rpx;left:320rpx;font-size:28rpx;color:#bcdbfd">暂无数据</view>
- <scroll-view scroll-y="true" id="scroll1" style='height: {{scrollHeight1 + "px"}};width:700rpx;margin-left:25rpx;margin-top:20rpx;font-size:28rpx'>
- <view wx:for="{{list}}" wx:key="_id" class="checkbox_border">
- <view data-infos="{{item}}" bindtap="visitJilu">
- <view style="width:670rpx;margin-left:15rpx;height:60rpx;margin-top:20rpx;border-bottom:1px solid #f4f4f4">
- <view style="float:left;color:#333333;">{{item.oldInfo}}</view>
- <view style="float:left;color:#70c546;margin-left:10rpx">({{item.oldIdNumber}})</view>
- <view style="float:right;margin-right:10rpx" value="{{item.text}}" bindtap="cellClick" data-infos='{{item}}'>
- <van-icon name="arrow" color="#b5b5b5" />
- </view>
- </view>
- <view style="height:60rpx;margin-top:20rpx;font-size:26rpx;width:100%">
- <view style="float:left;color:#999999;margin-left:25rpx">巡访时间:</view>
- <view style="float:left;color:#999999;margin-right:20rpx">{{time.formatDate(item.visitTime)}}</view>
- </view>
- </view>
- </view>
- </scroll-view>
- </van-tab>
- </van-tabs>
|