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.
80 lines
3.9 KiB
80 lines
3.9 KiB
<!-- components/processList/processList.wxml -->
|
|
<!-- 处理进度 -->
|
|
<view class="bgfff paddingX24 marginB12">
|
|
<view class="process-title">处理进展</view>
|
|
<view class="process-list content {{isShow ? 'on' : ''}}">
|
|
<wux-timeline>
|
|
<wux-timeline-item custom wx:for="{{processList}}" wx:key="processList {{index}}">
|
|
<view slot="dot" class="process-icon" wx:if="{{!item.lastProcess}}"></view>
|
|
<view slot="dot" class="process-icon-1000" wx:if="{{item.lastProcess}}"></view>
|
|
<view>
|
|
<view class="process-box">
|
|
<view class="process-state">
|
|
【{{item.state === 0 ? "审核通过" : item.state === 1 ? "回应" : item.state === 2 ? "关闭" : item.state === 3 ? "转议题" : ""}}】
|
|
</view>
|
|
<view class="process-time">{{item.createdTime}}</view>
|
|
</view>
|
|
<view wx:if="{{item.state == '3'}}">
|
|
<view class="process-dept flex justify-start">
|
|
<view class="process-dept-left-160">来源社群</view>
|
|
<view class="process-dept-right-160">
|
|
<view class="process-text {{item.firstProcess ? 'process-text-first' : ''}}">
|
|
{{item.groupName}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="process-advice flex justify-start">
|
|
<view class="process-dept-left-160">处理人:</view>
|
|
<view class="process-dept-right-160">
|
|
<view class="process-text {{item.firstProcess ? 'process-text-first' : ''}}">
|
|
{{item.handlerDept}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="process-advice flex justify-start">
|
|
<view class="process-dept-left-160">处理人电话:</view>
|
|
<view class="process-dept-right-160">
|
|
<view class="process-text {{item.firstProcess ? 'process-text-first' : ''}}">
|
|
{{item.mobile}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view wx:else>
|
|
<view class="process-dept flex justify-start">
|
|
<view class="process-dept-left-160">处理部门:</view>
|
|
<view class="process-dept-right-160">
|
|
<view class="process-text {{item.firstProcess ? 'process-text-first' : ''}}">
|
|
{{item.handlerDept}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="process-advice flex justify-start">
|
|
<view class="process-dept-left-160">处理意见:</view>
|
|
<view class="process-dept-right-160">
|
|
<view class="process-text {{item.firstProcess ? 'process-text-first' : ''}}">
|
|
{{item.advice}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 回应图片 -->
|
|
<view class="grit">
|
|
<block wx:for="{{item.images}}" wx:for-item="itemImages" wx:key="process-image {{index}}">
|
|
<image wx:if="{{item.images.length===1}}" class="content-image content-image1" data-id="{{item.id}}" data-src="{{itemImages}}" bindtap="preview" src="{{itemImages}}"></image>
|
|
<image wx:if="{{item.images.length===2}}" class="content-image content-image2" data-id="{{item.id}}" data-src="{{itemImages}}" bindtap="preview" src="{{itemImages}}"></image>
|
|
<image wx:if="{{item.images.length===3}}" class="content-image content-image3" data-id="{{item.id}}" data-src="{{itemImages}}" bindtap="preview" src="{{itemImages}}"></image>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</wux-timeline-item>
|
|
</wux-timeline>
|
|
</view>
|
|
|
|
<view class="border-bottom"></view>
|
|
<view class="last-title" wx:if= "{{isShow == false}}" bindtap="toChange">展开 ∨</view>
|
|
<view class="last-title" wx:else bindtap="toChange">收起 ∧</view>
|
|
</view>
|