You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
2.3 KiB

1 year ago
1 year ago
  1. <!--pages/personManger/personManger.wxml-->
  2. <van-search value="{{ searchValue }}" placeholder="请输入搜索关键词" use-action-slot bind:change="onChange" bind:search="onSearch">
  3. <view slot="action" bind:tap="onClick">搜索</view>
  4. </van-search>
  5. <view class="personList">
  6. <!-- <view class="add">添加人员</view> -->
  7. <van-button type="primary" size="mini" bindtap="addperson" data-current="0">添加人员</van-button>
  8. <!-- <van-button type="primary" size="mini" bindtap="personnelCheckin" class="PersonnelCheckin">选择人员</van-button> -->
  9. <view class="personli" wx:for="{{personList}}" wx:for-item="data" wx:key="{{index}}">
  10. <view class="name">{{data.name}}</view>
  11. <view class="operation">
  12. <view class="delete green" bindtap="addperson1" data-current="3" data-index="{{index}}" wx:if="{{deviceinfo.manufactureId == '1241'}}">图像管理</view>
  13. <view class="delete green" bindtap="addperson1" data-current="1" data-index="{{index}}">管理凭证</view>
  14. <view class="delete red" bindtap="addperson1" data-current="2" data-index="{{index}}">删除</view>
  15. </view>
  16. </view>
  17. <van-popup show="{{ show }}" custom-style="width: 90%" bind:close="onClose" round>
  18. <van-cell-group>
  19. <van-field value="{{ name }}" label="名称" required placeholder="请输入名称" border="{{ true }}" bind:change="onChange1" />
  20. <van-field value="{{ phone }}" label="手机号" required type="number" placeholder="请输入手机号" border="{{ true }}" bind:change="onChange2" />
  21. <van-field value="{{ number }}" label="证件号" required placeholder="请输入证件号" border="{{ true }}" bind:change="onChange3" />
  22. <picker mode="date" value="{{starttime}}" start="{{minDate}}" end="{{ minDate1 }}" bindchange="bindDateChange">
  23. <van-field value="{{ starttime }}" placeholder="请选择开始时间" label="开始时间" border="{{ true }}" readonly />
  24. </picker>
  25. <picker mode="date" value="{{endtime}}" start="{{minDate}}" end="{{ minDate1 }}" bindchange="bindDateChange1">
  26. <van-field value="{{ endtime }}" placeholder="请选择结束时间" label="结束时间" border="{{ true }}" readonly />
  27. </picker>
  28. <van-button type="primary" size="normal" bindtap="adduser" block>确定</van-button>
  29. </van-cell-group>
  30. </van-popup>
  31. </view>