<!--pages/audit/audit.wxml-->
<view class="searchWrap">
	<i class="iconfont icon-search"></i>
	<input bindconfirm="search" class="input shadow" placeholder="操作人员姓名" confirm-type="search" placeholder-class="placeholderStyle"></input>
</view>
<view class="pickerGroup">
	<picker bindchange="setType" value="{{typeIndex}}" range="{{typeList}}" class="picker shadow">
		<view class="inner">
			<text wx:if="{{typeIndex!==''}}" class="text">{{typeList[typeIndex]}}</text>
			<text wx:if="{{typeIndex===''}}" class="text">全部类型</text>
			<view wx:if="{{typeIndex!==''}}" catchtap="clearType" class="iconfont icon-fail"></view>
		</view>
	</picker>
	<picker bindchange="setStart" mode="date" class="picker shadow">
		<view class="inner">
			<text wx:if="{{startTime}}" class="text">{{startTime}}</text>
			<text wx:if="{{startTime===''}}" class="text">开始时间</text>
			<view wx:if="{{startTime!==''}}" catchtap="clearStart" class="iconfont icon-fail"></view>
		</view>
	</picker>
	<picker bindchange="setEnd" mode="date" class="picker shadow">
		<view class="inner">
			<text wx:if="{{endTime}}" class="text">{{endTime}}</text>
			<text wx:if="{{endTime===''}}" class="text">结束时间</text>
			<view wx:if="{{endTime!==''}}" catchtap="clearEnd" class="iconfont icon-fail"></view>
		</view>
	</picker>
</view>
<view class="topPlaceholder"></view>
<view class="auditList">
	<view wx:for="{{list}}" wx:key="index" class="auditItem shadow">
		<!-- <view class="lineGroup">日期：{{item.createTime}}</view> -->
		<view class="lineGroup">时间：{{item.createTime}}</view>
		<view class="lineGroup">用户手机号：{{item.mobile}}</view>
    	<!-- <view class="lineGroup">用户名：{{item.userName}}</view> -->
		<view class="lineGroup">操作类型：{{item.opType}}</view>
		<view class="lineGroup">操作描述：{{item.opDesc}}</view>
	</view>
</view>
<loadmore loadmore="{{pages>0&&finish===false}}" finish="{{pages>0&&finish===true}}" nodata="{{pages===0}}"></loadmore>
<ipx-placeholder></ipx-placeholder>