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.

120 lines
4.8 KiB

<wux-popup position="bottom" visible="{{ visible }}" 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">
<wux-selectable color="positive" value="5" name="processingMethod" defaultChecked>指派
</wux-selectable>
<!-- <wux-selectable style="margin-left: 10rpx" color="positive" value="" name="processingMethod">
转服务
</wux-selectable>-->
</view>
</view>
<view class="items">
<view class="label">事件分类:</view>
<view class="value" bind:tap="onOpen1">
{{category?category:'请选择'}}
</view>
</view>
<view class="items">
<view class="label">处理部门:</view>
<view class="value" bind:tap="onOpen2">
{{orgName?orgName:'请选择'}}
<!-- <wux-cascader-picker-view
value="{{ value2 }}"
options="{{ orgOptions }}"
bind:valueChange="onValueChange2"
/>-->
</view>
</view>
<view class="items">
<view class="label">转办意见:</view>
<view class="value">
</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">
<wux-upload
listType="picture-card"
defaultFileList="{{ fileList }}"
max="4"
url="{{url}}"
header="{{header }}"
bind:change="onChange"
bind:success="onSuccess"
bind:fail="onFail"
bind:complete="onComplete"
bind:preview="onPreview"
>
<text>+</text>
</wux-upload>
</view>
</view>
<view class="card">
<wux-cell
title="办结时限"
extra="{{ value1 }}"
is-link
bind:click="openCalendar1"
></wux-cell>
</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>
</wux-popup>
<wux-calendar id="wux-calendar" />
<wux-cascader
visible="{{ visible1 }}"
default-value="{{ value1 }}"
title="事件分类"
options="{{ casOptions }}"
bind:close="onClose1"
bind:change="onChange1"
bind:confirm="onConfirm1"
defaultFieldNames="{{catField}}"
/>
<wux-cascader
visible="{{ visible2 }}"
default-value="{{ value2 }}"
title="处理部门"
options="{{ orgOptions }}"
bind:close="onClose2"
bind:change="onChange2"
bind:confirm="onConfirm2"
defaultFieldNames="{{orgField}}"
/>