| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <van-search class="search" value="{{ params.content.where.condition }}" shape="round" placeholder="请输入搜索关键词" bind:search='startSearch' use-action-slot bind:clear='onClear'>
- <view slot='action' class="action" catchtap="openFiltrate">
- <text class="iconfont icon-shaixuan" />筛选
- </view>
- </van-search>
- <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>
- <Yl_Filtrate1 show='{{showFiltrate}}' list='{{filtratelist}}' bindhandle="handleFilter" />
|