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.
43 lines
1.7 KiB
43 lines
1.7 KiB
<!-- 搜索 -->
|
|
<block>
|
|
<view class="search">
|
|
<!-- 占位符样式 placeholder-style="color:white;" -->
|
|
<van-search use-left-icon-slot shape="round" background="#eb3015" value="{{ name }}" placeholder="请输入姓名搜索" bind:change="keyWordsChange" bind:search="keyWordsSearch">
|
|
<image mode="aspectFit" class="icon-search" slot="left-icon" src="../../img/icon-search-white.png"></image>
|
|
</van-search>
|
|
</view>
|
|
<view style="height: 130rpx;"></view>
|
|
</block>
|
|
|
|
<!-- 列表 -->
|
|
<view class="table-head">
|
|
<view>姓名</view>
|
|
<view wx:if="{{type != '31'}}">待检验单</view>
|
|
<view wx:if="{{type != '31'}}">待检验电站</view>
|
|
<view wx:if="{{type == '31'}}">待整改电站</view>
|
|
<view>操作</view>
|
|
</view>
|
|
<view class="table-body">
|
|
<van-radio-group value="{{ radio }}" bind:change="onChange">
|
|
<van-cell-group>
|
|
<van-cell wx:for="{{staffLists}}" wx:key="index" data-id="{{item.id}}" data-name="{{item.name}}" bind:click="onClick" clickable>
|
|
<view class="list {{radio==item.id?'on':''}}">
|
|
<view>{{item.name}}</view>
|
|
<view>{{item.waitCount}}</view>
|
|
<view wx:if="{{type != '31'}}">{{item.waitEntryCount}}</view>
|
|
<view>
|
|
<van-radio checked-color="#333333" name="{{item.id}}"></van-radio>
|
|
</view>
|
|
</view>
|
|
</van-cell>
|
|
</van-cell-group>
|
|
</van-radio-group>
|
|
</view>
|
|
|
|
<!-- 底部按钮 -->
|
|
<view style="height: 80rpx; box-sizing: content-box; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);"></view>
|
|
<view class="footer">
|
|
<view style="flex: 1;" bindtap="back">返回</view>
|
|
<view style="flex: 2;" class="long" bind:tap="submit">提交</view>
|
|
</view>
|