epmet 工作端 小程序
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.
 

117 lines
4.8 KiB

<van-popup position="bottom" show="{{ visible }}" round bind:close="close" closable>
<view class="popup-container">
<view class="title">事件派单</view>
<scroll-view scroll-y class="popup-content">
<view class="card">
<view class="items">
<view class="label">事件类型:</view>
<view class="value">{{detail.parentCategoryName}}-{{detail.categoryName}}</view>
</view>
<view class="items">
<view class="label">接收时间:</view>
<view class="value">{{detail.happenTime}}</view>
</view>
<view class="items">
<view class="label">发生地点:</view>
<view class="value">{{detail.address}}</view>
</view>
<view class="items">
<view class="label">事件描述:</view>
<view class="value">
{{detail.eventContent}}
</view>
</view>
<view class="items">
<view class="label">处理方式:</view>
<view class="value">
<van-radio-group value="{{ operationType }}"
bind:change="operationTypeChange">
<view class="flex">
<van-radio name="5">指派</van-radio>
<view style="width: 40rpx"></view>
<!-- <van-radio name="">转服务</van-radio>-->
</view>
</van-radio-group>
</view>
</view>
<view class="items" bind:tap="onOpen1">
<view class="label label-width">事件分类:</view>
<view class="value flex {{category?'':'gray'}}">
{{category ? category : '请选择'}}
<van-icon name="arrow" />
</view>
</view>
<view class="items" bind:tap="onOpen2">
<view class="label label-width">处理部门:</view>
<view class="value flex {{orgName?'':'gray'}}">
{{orgName ? orgName : '请选择'}}
<van-icon name="arrow" />
</view>
</view>
<view class="items">
<view class="label">转办意见:</view>
</view>
<view class="items">
<textarea class="textarea" model:value="{{form.content}}" bind:input="setContent"
placeholder-class="textarea-placeholder" placeholder="请填写转办意见。"/>
</view>
</view>
<view class="card">
<view class="items">
<view class="label">图片/附件:</view>
</view>
<view class="items">
<van-uploader file-list="{{ fileList }}" bind:delete="deleteFile" max-count="4" bind:after-read="afterRead" />
</view>
</view>
<view class="card">
<view class="items" bind:tap="openCalendar1">
<view class="label label-width">办结时限:</view>
<view class="value flex {{form.timeLimit?'':'gray'}}">
{{form.timeLimit ? form.timeLimit : '请选择'}}
<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>
<wux-calendar id="wux-calendar"/>
<van-popup show="{{ visible1 }}" round position="bottom">
<van-cascader
wx:if="{{ visible1 }}"
default-value="{{ value1 }}"
title="事件分类"
options="{{ casOptions }}"
bind:close="onClose1"
bind:finish="onConfirm1"
field-names="{{catField}}"
/>
</van-popup>
<van-popup show="{{ visible2 }}" round position="bottom">
<van-cascader
wx:if="{{ visible2 }}"
default-value="{{ value2 }}"
title="处理部门"
options="{{ orgOptions }}"
bind:close="onClose2"
bind:finish="onConfirm2"
field-names="{{orgField}}"
/>
</van-popup>
<van-calendar
show="{{ showDate }}"
bind:close="onCloseDate"
bind:confirm="onConfirmDate"
/>