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.
65 lines
3.1 KiB
65 lines
3.1 KiB
<wux-popup position="bottom" visible="{{ visible }}" bind:close="close" closable>
|
|
<view class="popup-container">
|
|
<view class="title">资源调度</view>
|
|
<view class="screen">
|
|
<view class="screen-left">
|
|
<picker
|
|
range="{{options}}"
|
|
range-key="label"
|
|
model:value="{{ typeIndex }}"
|
|
bind:change="typeChange"
|
|
>
|
|
<view class="picker-type">
|
|
<text>{{ typeIndex >= 0 ? options[typeIndex].label : '' }}</text>
|
|
<image src="../../images/statistics/down2.png" mode="widthFix"/>
|
|
</view>
|
|
</picker>
|
|
<picker
|
|
range="{{subTypeOptions}}"
|
|
range-key="label"
|
|
model:value="{{ subTypeIndex }}"
|
|
>
|
|
<view class="picker-type">
|
|
<text>{{ subTypeIndex >= 0 ? subTypeOptions[subTypeIndex].label : '' }}</text>
|
|
<image src="../../images/statistics/down2.png" mode="widthFix"/>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<view class="btn" bindtap="search">
|
|
筛选
|
|
</view>
|
|
</view>
|
|
|
|
<scroll-view scroll-y class="popup-content" bind:scrolltolower="scrolltolower">
|
|
<view class="resource-list">
|
|
<view class="resource-items" wx:for="{{list}}" wx:key="index">
|
|
<view class="userInfo">
|
|
<view class="name">{{item.name || item.principalName || item.contact}} {{item.mobile || item.principalPhone || item.contactMobile}}</view>
|
|
<!-- <view class="status">巡查中</view>-->
|
|
</view>
|
|
<view class="address">
|
|
<view class="grid">{{item.orgName || item.agencyName}}</view>
|
|
<!-- <view class="distance">1.5Km</view>-->
|
|
</view>
|
|
|
|
<view class="handle">
|
|
<view class="btn btn-green" bind:tap="handleViews" data-obj="{{item}}">
|
|
<image src="../../images/statistics/views.png" mode="widthFix"/>
|
|
<text>查看</text>
|
|
</view>
|
|
<view class="btn btn-orange" bind:tap="handleDispatchOrder" data-id="1">
|
|
<image src="../../images/statistics/order.png" mode="widthFix"/>
|
|
<text>派单</text>
|
|
</view>
|
|
<view class="btn btn-blue" bind:tap="handleCallPhone" data-mobile="{{item.mobile || item.principalPhone || item.contactMobile}}">
|
|
<image src="../../images/statistics/phone.png" mode="widthFix"/>
|
|
<text>拨打</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
</view>
|
|
</wux-popup>
|
|
<ResourceInfo visible="{{isShowViews}}" data="{{viewData}}" bind:close="viewsClose"/>
|
|
|