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.
98 lines
4.4 KiB
98 lines
4.4 KiB
<van-popup position="bottom" show="{{ visible }}" bind:close="close" closable>
|
|
<view class="popup-container">
|
|
<view class="title">需求派单</view>
|
|
<scroll-view scroll-y class="popup-content2">
|
|
<view class="card">
|
|
<view class="items">
|
|
<view class="label">需求类别:</view>
|
|
<view class="value">{{detail.categoryName}}</view>
|
|
</view>
|
|
<view class="items">
|
|
<view class="label">需求标题:</view>
|
|
<view class="value">{{detail.title}}</view>
|
|
</view>
|
|
<view class="items">
|
|
<view class="label">详细说明:</view>
|
|
<view class="value">
|
|
{{detail.content}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="card">
|
|
<picker range="{{serviceOptions}}" range-key="label" bind:change="getServiceuserList">
|
|
<view class="items">
|
|
<view class="label label-width">服务方类型:</view>
|
|
<view class="value text-right flex {{serviceIndex >= 0 ? '' : 'gray'}}">
|
|
{{serviceIndex >= 0 ? serviceOptions[serviceIndex].label : '请选择'}}
|
|
<van-icon name="arrow"/>
|
|
</view>
|
|
</view>
|
|
</picker>
|
|
<picker range="{{serviceOptiondList}}" bind:change="serviceOptiondListChange" range-key="label">
|
|
<view class="items">
|
|
<view class="label label-width">服务方:</view>
|
|
<view class="value text-right flex {{serviceOptiondIndex >= 0 ? '' : 'gray'}}">
|
|
{{serviceOptiondIndex >= 0 ? serviceOptiondList[serviceOptiondIndex].label : '请选择'}}
|
|
<van-icon name="arrow"/>
|
|
</view>
|
|
</view>
|
|
</picker>
|
|
|
|
<view class="items">
|
|
<view class="label label-width">通知服务方:</view>
|
|
<view class="value">
|
|
<van-checkbox-group value="{{ form.noticeApproches }}"
|
|
bind:change="noticeApprochesChange">
|
|
<view class="flex">
|
|
<van-checkbox name="1">短信通知</van-checkbox>
|
|
<view style="width: 40rpx"></view>
|
|
<van-checkbox name="2">公众号通知</van-checkbox>
|
|
</view>
|
|
</van-checkbox-group>
|
|
</view>
|
|
</view>
|
|
<view class="items" bind:tap="onShowService">
|
|
<view class="label label-width">服务范围:</view>
|
|
<view class="value text-right flex {{fieldValue ? '' : 'gray'}}">
|
|
{{fieldValue ? fieldValue : '请选择'}}
|
|
<van-icon name="arrow"/>
|
|
</view>
|
|
</view>
|
|
<view class="items" bind:tap="onShowDate">
|
|
<view class="label label-width">服务时间:</view>
|
|
<view class="value text-right flex {{date ? '' : 'gray'}}">
|
|
{{date ? date : '请选择'}}
|
|
<van-icon name="arrow"/>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</scroll-view>
|
|
|
|
<view class="bottom-btn">
|
|
<view class="btn btn-gray" bind:tap="close">取消</view>
|
|
<view class="btn btn-blue" bind:tap="sure">确定</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<van-popup show="{{ showService }}" round position="bottom">
|
|
<van-cascader
|
|
field-names="{{ orgField }}"
|
|
wx:if="{{ showService }}"
|
|
value="{{ cascaderValue }}"
|
|
title="请选择服务范围"
|
|
options="{{ orgOptions }}"
|
|
bind:close="onCloseService"
|
|
bind:finish="onFinishService"
|
|
>
|
|
</van-cascader>
|
|
</van-popup>
|
|
<van-calendar
|
|
show="{{ showDate }}"
|
|
type="range"
|
|
bind:close="onCloseDate"
|
|
bind:confirm="onConfirmDate"
|
|
/>
|
|
</van-popup>
|
|
|