|
|
- <!--pages/personManger/personManger.wxml-->
- <van-search value="{{ searchValue }}" placeholder="请输入搜索关键词" use-action-slot bind:change="onChange" bind:search="onSearch">
- <view slot="action" bind:tap="onClick">搜索</view>
- </van-search>
- <view class="personList">
- <!-- <view class="add">添加人员</view> -->
- <van-button type="primary" size="mini" bindtap="addperson" data-current="0">添加人员</van-button>
- <!-- <van-button type="primary" size="mini" bindtap="personnelCheckin" class="PersonnelCheckin">选择人员</van-button> -->
- <view class="personli" wx:for="{{personList}}" wx:for-item="data" wx:key="{{index}}">
- <view class="name">{{data.name}}</view>
- <view class="operation">
- <view class="delete green" bindtap="addperson1" data-current="1" data-index="{{index}}">管理凭证</view>
- <view class="delete red" bindtap="addperson1" data-current="2" data-index="{{index}}">删除</view>
- </view>
- </view>
- <van-popup show="{{ show }}" custom-style="width: 90%" bind:close="onClose" round>
- <van-cell-group>
- <van-field value="{{ name }}" label="名称" required placeholder="请输入名称" border="{{ true }}" bind:change="onChange1" />
- <van-field value="{{ phone }}" label="手机号" required type="number" placeholder="请输入手机号" border="{{ true }}" bind:change="onChange2" />
- <van-field value="{{ number }}" label="证件号" required placeholder="请输入证件号" border="{{ true }}" bind:change="onChange3" />
- <picker mode="date" value="{{starttime}}" start="{{minDate}}" end="{{ minDate1 }}" bindchange="bindDateChange">
- <van-field value="{{ starttime }}" placeholder="请选择开始时间" label="开始时间" border="{{ true }}" readonly />
- </picker>
- <picker mode="date" value="{{endtime}}" start="{{minDate}}" end="{{ minDate1 }}" bindchange="bindDateChange1">
- <van-field value="{{ endtime }}" placeholder="请选择结束时间" label="结束时间" border="{{ true }}" readonly />
- </picker>
- <van-button type="primary" size="normal" bindtap="adduser" block>确定</van-button>
- </van-cell-group>
- </van-popup>
- </view>
|