index.axml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <import-sjs from='../../../utils/index/utils.sjs' name='util'>
  2. <view class="page">
  3. <view class="main" onTap="clickAudio">
  4. <top-title urlPath='../../../' titleText="受访人列表" />
  5. <view class="content">
  6. <view class="search-box flex1">
  7. <view a:for="{{ searchList }}" class="search-item">
  8. <text>{{item.name}}</text>
  9. <input
  10. class="input"
  11. value="{{searchForm[item.val]}}"
  12. onInput="getVal"
  13. data-key="{{item.val}}"
  14. />
  15. </view>
  16. <view class="flex1">
  17. <view class="inquire magnify" onTap="inquireFun">查询</view>
  18. <view class="clear magnify" onTap="clearFun">清空</view>
  19. </view>
  20. </view>
  21. <view class="table">
  22. <view class="table-tit flex1">
  23. <view class="table-item one">序号</view>
  24. <view class="table-item two">姓名</view>
  25. <view class="table-item three">手机号</view>
  26. <view class="table-item three1">身份证号</view>
  27. <view class="table-item four">单位名称</view>
  28. <view class="table-item five">部门</view>
  29. <view class="table-item six">楼层</view>
  30. <view class="table-item seven">房间号</view>
  31. <view class="table-item eight">显示标题</view>
  32. </view>
  33. <view a:for="{{ tableList }}" class="table-content flex1">
  34. <view class="table-item col one">{{(index+1+sliceStart)}}</view>
  35. <view class="table-item col two">
  36. {{ util.desensitization(item.name, 1, 2)}}
  37. </view>
  38. <view class="table-item col three">
  39. {{util.desensitization(item.phone, 3, 7)}}
  40. </view>
  41. <view class="table-item col three1">
  42. {{util.desensitization(item.idNumber, 6, 14)}}
  43. </view>
  44. <view class="table-item col l-h four">{{item.company}}</view>
  45. <view class="table-item col l-h five">{{item.unitName}}</view>
  46. <view class="table-item col l-h six">{{item.floor}}</view>
  47. <view class="table-item col l-h seven">{{item.room}}</view>
  48. <view class="table-item col l-h eight">{{item.showTitle}}</view>
  49. </view>
  50. <tail-tip total='{{total}}' pageNum='{{pageNum}}'>
  51. </tail-tip>
  52. </view>
  53. <view a:if="{{ total>0 }}" class="bottom flex1">
  54. <view class="previous magnify" onTap="previousFun">上一页</view>
  55. <view class="next magnify" onTap="nextFun">下一页</view>
  56. <view class="total">共{{total}}条记录【 {{pageSize}}/{{pageNum}}】</view>
  57. </view>
  58. </view>
  59. <bottom-parnel suerName="{{'确定'}}" onSure="sure" logOut="{{formPath?'/pages/home/index':'/pages/settings/index/index'}}" />
  60. </view>
  61. </view>