|
|
@ -1,39 +1,27 @@ |
|
|
|
<view class="screen"> |
|
|
|
<picker |
|
|
|
model:value="{{ orgIndex }}" |
|
|
|
range="{{orgList}}" |
|
|
|
range-key="label" |
|
|
|
data-key="orgIndex" |
|
|
|
bindchange="setVal" |
|
|
|
> |
|
|
|
<view class="picker"> |
|
|
|
<picker model:value="{{ orgIndex }}" range="{{orgList}}" range-key="label" data-key="orgIndex" bindchange="setVal"> |
|
|
|
<view class="picker-type {{orgIndex >= 0 ?'cur':''}}"> |
|
|
|
<text>{{ orgIndex >= 0 ? orgList[orgIndex].label : '按组织' }}</text> |
|
|
|
<image src="../../../images/down.png" mode="widthFix"/> |
|
|
|
<image src="../../../images/down.png" wx:if="orgIndex >= 0" mode="widthFix" /> |
|
|
|
<image src="../../../images/down2.png" wx:else mode="widthFix" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
</picker> |
|
|
|
<picker |
|
|
|
range="{{satisfactionSourceOptions}}" |
|
|
|
range-key="label" |
|
|
|
model:value="{{ satisfactionSourceIndex }}" |
|
|
|
bind:change="sourceChange" |
|
|
|
> |
|
|
|
<view class="picker-type"> |
|
|
|
<text>{{ satisfactionSourceIndex >= 0 ? satisfactionSourceOptions[satisfactionSourceIndex].label : '按来源' |
|
|
|
}}</text> |
|
|
|
<image src="../../../images/down2.png" mode="widthFix"/> |
|
|
|
<picker range="{{satisfactionSourceOptions}}" range-key="label" model:value="{{ satisfactionSourceIndex }}" bind:change="sourceChange"> |
|
|
|
<view class="picker-type {{satisfactionSourceIndex > 0 ?'cur':''}}"> |
|
|
|
<text>{{ satisfactionSourceIndex > 0 ? satisfactionSourceOptions[satisfactionSourceIndex].label : '按来源' }}</text> |
|
|
|
<image src="../../../images/down.png" wx:if="{{satisfactionSourceIndex > 0}}" mode="widthFix" /> |
|
|
|
<image src="../../../images/down2.png" wx:else mode="widthFix" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
</picker> |
|
|
|
<picker |
|
|
|
range="{{tagOptions}}" |
|
|
|
range-key="label" |
|
|
|
model:value="{{ tagIndex }}" |
|
|
|
> |
|
|
|
<view class="picker-type"> |
|
|
|
<text>{{ tagIndex >= 0 ? tagOptions[tagIndex].label : '按标记' |
|
|
|
}}</text> |
|
|
|
<image src="../../../images/down2.png" mode="widthFix"/> |
|
|
|
<picker range="{{tagOptions}}" range-key="label" model:value="{{ tagIndex }}"> |
|
|
|
<view class="picker-type {{tagIndex > 0 ?'cur':''}}"> |
|
|
|
<text>{{ tagIndex > 0 ? tagOptions[tagIndex].label : '按标记' }}</text> |
|
|
|
<image src="../../../images/down.png" wx:if="{{tagIndex > 0}}" mode="widthFix" /> |
|
|
|
<image src="../../../images/down2.png" wx:else mode="widthFix" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
</picker> |
|
|
|
<view class="btn" bindtap="onConfirm"> |
|
|
|
筛选 |
|
|
@ -62,4 +50,3 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
|
|
|
|