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.
113 lines
4.7 KiB
113 lines
4.7 KiB
<view class="complete-info" >
|
|
<view class="content">
|
|
<view class="personal-info">
|
|
<view class="basic-info">
|
|
<view class="item">
|
|
<view class="field" >
|
|
<text class="must">*</text>
|
|
<view class="field-text">处理方式</view>
|
|
</view>
|
|
<view class="value">
|
|
<radio-group class="radio-group" bind:change="handleChangeType">
|
|
<radio checked="{{tabVal === '0'}}" value="0" checked="true" color="#4193fe" class="radio small-radio" style="font-size: 12px;">回复</radio>
|
|
<radio checked="{{tabVal === '5'}}" value="5" color="#4193fe" class="radio small-radio" style="font-size: 12px;">指派</radio>
|
|
<radio checked="{{tabVal === '6'}}" value="6" color="#4193fe" class="radio small-radio" style="font-size: 12px;">完成并回复</radio>
|
|
</radio-group>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="field" >
|
|
<text class="must">*</text>
|
|
<view class="field-text">事件分类</view>
|
|
</view>
|
|
<view class="value-dl" bind:tap="onOpen1">
|
|
<view class="di-name">{{category?category:'请选择'}}</view>
|
|
<image class="di-but" src="../../../../images/right.png" mode="aspectFit" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="item" wx:if="{{tabVal == 5}}">
|
|
<view class="field">
|
|
<text class="must">*</text>
|
|
<view class="field-text">处理部门</view>
|
|
</view>
|
|
<view class="value-dl" bind:tap="onOpen2">
|
|
<view class="{{orgName?'di-name':'di-name1'}}">{{orgName?orgName:'请选择'}}</view>
|
|
|
|
<image class="di-but" src="../../../../images/right.png" mode="aspectFit" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="add-issue">
|
|
<view class="issue-content">
|
|
<view class="item">
|
|
<view class="field">
|
|
<text class="must">*</text>
|
|
<view class="field-text">{{tabVal === '5'?'转办意见':'回复内容'}}</view>
|
|
</view>
|
|
</view>
|
|
<textarea maxlength="500" value="{{form.content}}" bindblur="bindTextareaInput" bindinput="bindTextareaInput" bindfocus="bindTextareaFocus" placeholder="请输入事件描述(不超过500字)">
|
|
</textarea>
|
|
</view>
|
|
</view>
|
|
<!-- 上传附件 -->
|
|
<view class="item" wx:if="{{tabVal == 5 || tabVal==6}}">
|
|
<view class="field">
|
|
<text class="must"></text>
|
|
<view class="field-text">附件</view>
|
|
</view>
|
|
<view>
|
|
<van-uploader file-list="{{ fileList }}" bind:delete="deleteFile" max-count="4" bind:after-read="afterRead" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="item" wx:if="{{tabVal == 0 || tabVal==5}}" bind:tap="openCalendar1">
|
|
<view class="field">
|
|
<text class="must">*</text>
|
|
<view class="field-text">办结时限</view>
|
|
</view>
|
|
<view class="value flex {{form.timeLimit?'':'gray'}}">
|
|
{{form.timeLimit ? form.timeLimit : '请选择'}}
|
|
<van-icon name="arrow" />
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="submit-button">
|
|
<button bindtap="submitEventReplyInfo" hover-class="hover-submit" >保存</button>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<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"
|
|
/>
|