| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <van-search class="search" value="{{ params.content.where.condition }}" shape="round" placeholder="请输入搜索关键词" bind:search='startSearch' bind:clear='onClear' />
- <view class="div" style="height: 20rpx;" />
- <Yl_ListBox id='ListBox' bind:getlist='getList'>
- <navigator class="setclient-list-item" url="#" wx:for="{{list}}" wx:key="{{idname}}" data-id="{{item[idname]}}" bindtap="changeResult">
- <view class="con">
- <van-checkbox wx:if="{{!radio}}" value="{{ handle.isCheck(item[idname],result) }}" shape="square" icon-size='28rpx' />
- <view class="mian">
- <view class="title">
- <text class="projecttype" style="background-color: #3874F6;" wx:if="{{item.projecttype}}">{{item.projecttype}}</text>
- <text class="tradefield" style="background-color: #5AB73F;" wx:if="{{item.tradefield}}">{{item.tradefield}}</text>
- <view class="line-1">
- {{item.projectname}}
- </view>
- </view>
- <view class="row" style="margin-top: 16rpx;">
- <view class="left">
- 业务员:{{item.name||' --'}}
- </view>
- <view class="right">
- 项目阶段:{{item.stagename||' --'}}
- </view>
- </view>
- <view class="row" style="margin-top: 8rpx;">
- <view class="left">
- 预计签约金额:{{item.signamount_due||' --'}}
- </view>
- <view class="right">
- 预计签约时间:{{item.signdate_due||' --'}}
- </view>
- </view>
- </view>
- </view>
- </navigator>
- <view style="height: 150rpx;" />
- <My_empty wx:if="{{!list.length}}" />
- </Yl_ListBox>
- <view style="height: 130rpx;" />
- <block wx:if="{{!radio}}">
- <view class="footer">
- <view class="count">
- 已选:{{result.length}}
- </view>
- <van-button custom-class='but' disabled='{{result.length==0}}' bind:click="submit">确定</van-button>
- </view>
- <wxs module="handle">
- module.exports = {
- isCheck: function (id, list) {
- return list.some(function (v) {
- return v == id
- });
- },
- }
- </wxs>
- </block>
|