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.

24 lines
1.5 KiB

1 year ago
  1. <!--pages/selectPersonnel/selectPersonnel.wxml-->
  2. <van-search value="{{ searchValue }}" placeholder="请输入搜索关键词" use-action-slot bind:change="onChange" class="searchInput">
  3. <view slot="action" bind:tap="onClick">搜索</view>
  4. </van-search>
  5. <view class="mTop">
  6. <view class="" wx:for="{{personList}}" wx:for-item="data" wx:key="index">
  7. <van-cell-group>
  8. <van-cell title="{{data.name}}" value="{{data.phone}}" bind:click="clickOnPeople" data-item="{{data}}" border="{{ false }}" />
  9. </van-cell-group>
  10. </view>
  11. </view>
  12. <van-popup show="{{ show }}" custom-style="width: 90%" bind:close="onClose" round>
  13. <van-cell-group>
  14. <van-field value="{{ personInfo.name }}" label="名称" placeholder="请输入名称" border="{{ true }}" disabled="{{true}}" />
  15. <van-field value="{{ personInfo.content.userTelephone }}" label="手机号" type="number" placeholder="请输入手机号" border="{{ true }}" disabled="{{true}}" />
  16. <picker mode="date" value="{{starttime}}" start="{{minDate}}" bindchange="bindDateChange">
  17. <van-field value="{{ starttime }}" placeholder="请选择开始时间" label="开始时间" border="{{ true }}" readonly />
  18. </picker>
  19. <picker mode="date" value="{{endtime}}" start="{{minDate1}}" bindchange="bindDateChange1">
  20. <van-field value="{{ endtime }}" placeholder="请选择结束时间" label="结束时间" border="{{ true }}" readonly />
  21. </picker>
  22. <van-button type="primary" size="normal" bindtap="addperson" block>确定</van-button>
  23. </van-cell-group>
  24. </van-popup>