audit.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!--pages/audit/audit.wxml-->
  2. <view class="searchWrap">
  3. <i class="iconfont icon-search"></i>
  4. <input bindconfirm="search" class="input shadow" placeholder="操作人员姓名" confirm-type="search" placeholder-class="placeholderStyle"></input>
  5. </view>
  6. <view class="pickerGroup">
  7. <picker bindchange="setType" value="{{typeIndex}}" range="{{typeList}}" class="picker shadow">
  8. <view class="inner">
  9. <text wx:if="{{typeIndex!==''}}" class="text">{{typeList[typeIndex]}}</text>
  10. <text wx:if="{{typeIndex===''}}" class="text">全部类型</text>
  11. <view wx:if="{{typeIndex!==''}}" catchtap="clearType" class="iconfont icon-fail"></view>
  12. </view>
  13. </picker>
  14. <picker bindchange="setStart" mode="date" class="picker shadow">
  15. <view class="inner">
  16. <text wx:if="{{startTime}}" class="text">{{startTime}}</text>
  17. <text wx:if="{{startTime===''}}" class="text">开始时间</text>
  18. <view wx:if="{{startTime!==''}}" catchtap="clearStart" class="iconfont icon-fail"></view>
  19. </view>
  20. </picker>
  21. <picker bindchange="setEnd" mode="date" class="picker shadow">
  22. <view class="inner">
  23. <text wx:if="{{endTime}}" class="text">{{endTime}}</text>
  24. <text wx:if="{{endTime===''}}" class="text">结束时间</text>
  25. <view wx:if="{{endTime!==''}}" catchtap="clearEnd" class="iconfont icon-fail"></view>
  26. </view>
  27. </picker>
  28. </view>
  29. <view class="topPlaceholder"></view>
  30. <view class="auditList">
  31. <view wx:for="{{list}}" wx:key="index" class="auditItem shadow">
  32. <!-- <view class="lineGroup">日期:{{item.createTime}}</view> -->
  33. <view class="lineGroup">时间:{{item.createTime}}</view>
  34. <view class="lineGroup">用户手机号:{{item.mobile}}</view>
  35. <!-- <view class="lineGroup">用户名:{{item.userName}}</view> -->
  36. <view class="lineGroup">操作类型:{{item.opType}}</view>
  37. <view class="lineGroup">操作描述:{{item.opDesc}}</view>
  38. </view>
  39. </view>
  40. <loadmore loadmore="{{pages>0&&finish===false}}" finish="{{pages>0&&finish===true}}" nodata="{{pages===0}}"></loadmore>
  41. <ipx-placeholder></ipx-placeholder>