| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <van-search value="{{ params.content.where.condition }}" shape='round' placeholder="请输入搜索关键词" use-action-slot bind:clear='onClear' bind:search="startSearch">
- </van-search>
- <view class="global-total">总共{{params.content.total}}个</view>
- <Yl_ListBox id='ListBox' bind:getlist='getList'>
- <navigator url="#" class="project-item global-card" data-id="{{item.sa_agentsid}}" bind:tap="changeResult" wx:for="{{list}}" wx:key="sa_agentsid">
- <view class="label">
- <view class="title line-1">{{item.enterprisename}}</view>
- <view class="state" style="background-color: {{sColors[item.status]}}">{{item.status}}</view>
- </view>
- <view class="tag-box">
- <view class="systemtag" wx:for="{{item.tag_sys}}" wx:key="item">{{language[item]||item}}</view>
- <view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{language[item]||item}}</view>
- </view>
- <view class="replenish">
- <text style="color: #666;">编号:</text>
- <text>{{item.agentnum || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">合作状态:</text>
- <text>{{item.cooperatetype || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">营销区域:</text>
- <text>{{item.areanames || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">省市县:</text>
- <text>{{item.province + item.city +item.county || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">总经理:</text>
- <text>{{item.gmname || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">业务员:</text>
- <text>{{item.salernames || ' --'}}</text>
- </view>
- <view class="replenish">
- <text style="color: #666;">备注:</text>
- <text>{{item.remarks || ' --'}}</text>
- </view>
- </navigator>
- <view wx:if="{{!radio}}" style="height: 70rpx;" />
- <My_empty wx:if="{{!list.length}}" />
- </Yl_ListBox>
- <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>
|