detail.wxml 4.3 KB

1
  1. <view class="repair-detail-box _div"><view class="{{['_div','repair-content',detailStatus==='unAcceptance'?'fixed-page-content':'page-content']}}"><view class="white-box page-1 _div"><view class="cell-item _div"><view class="label _p">当前企业</view><view class="tit _p">{{detail.companyName}}</view></view><view class="cell-item _div"><view class="label _p">您是想</view><view class="tit _div">{{detail.type==="1"?"报事":"咨询"}}</view></view><view class="cell-item _div"><view class="label _p">快捷选择</view><view class="tit _div">{{detail.serviceType}}</view></view><view class="block-cell-item _div"><view class="label _p">报事报修描述</view><view class="tit _div"><view class="textarea _div">{{''+(!detail.description?"暂无":detail.description)+''}}</view></view></view></view><view class="white-box page-2 _div"><view class="cell-item _div"><view class="label _p">位置</view><view class="tit _div">{{detail.position==="1"?"室内":"公区"}}</view></view><view class="block-cell-item _div"><view class="label _p">补充说明</view><view class="tit _div"><view class="annex-list-box _ul"><block wx:for="{{explainAnnexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="annex-item _li">{{''+item+''}}<image src="{{item}}" alt class="_img"></image></view></block></view></view></view><view class="cell-item flex-item _div"><view class="label _p">报事人</view><view class="tit tel-box _p"><label class="_span">{{userId2}}</label><tel-num vue-id="1638a4c5-1" num="{{detail.phone}}" showTel="{{false}}" bind:__l="__l"></tel-num></view></view><view class="cell-item _div"><view class="label _p">报事时间</view><view class="tit _p">{{detail.createdAt}}</view></view></view><view class="white-box page-3 form-part _div" style="padding-bottom:120px;"><view class="custom-item-tit _div"><view class="tit _p">处理情况</view></view><view class="block-cell-item _div"><view class="label _p">处理进展</view><view class="tit _div"><van-steps vue-id="1638a4c5-2" active="{{stepActive}}" active-color="#6600FF" steps="{{processSteps}}" data-com-type="wx" bind:__l="__l"></van-steps></view></view><view class="cell-item _div"><view class="label _p">派单人</view><view class="tit _p">{{dispatchUserId2}}</view></view><view class="cell-item _div"><view class="label _p">派单时间</view><view class="tit _p">{{detail.dispatchTime}}</view></view><view class="block-cell-item _div"><view class="label _p">备注</view><view class="tit _div"><view class="textarea _div">{{''+(!detail.remark?"":detail.remark)+''}}</view></view></view><view class="block-cell-item _div"><view class="label _p">处理后拍照<label class="tips _span">(支持图片上传限20M内,最多6张)</label></view><block wx:if="{{detail.status==='acceptance'}}"><view class="tit _div"><van-uploader vue-id="1638a4c5-3" file-list="{{handleUrlList}}" max-count="{{6}}" show-upload="{{true}}" data-event-opts="{{[['^delete',[['deleteRYXXZP']]],['^afterRead',[['afterRead']]]]}}" data-com-type="wx" bind:delete="__e" bind:afterRead="__e" bind:__l="__l"></van-uploader></view></block><block wx:else><view class="tit _div"><view class="annex-list-box _ul"><block wx:for="{{handleUrlList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="annex-item _li"><image src="{{item.url}}" alt class="_img"></image></view></block></view></view></block></view><view class="cell-item _div"><view class="label _p">结案人</view><view class="tit _p">{{handleUserId2}}</view></view><view class="cell-item _div"><view class="label _p">结案时间</view><view class="tit _p">{{detail.handleTime?detail.handleTime:""}}</view></view></view><block wx:if="{{detailStatus==='processed'||detailStatus==='evaluated'}}"><view class="white-box page-4 _div"><view class="custom-item-tit _div"><view class="tit _p">服务评价</view></view><view class="custom-white-box-content _div"><view class="evaluate-box _div"><view class="evaluate-left _p">企业对本次服务的评价</view><view class="evaluate-right _div"><van-rate vue-id="1638a4c5-4" value="{{detail.score}}" color="#ffd21e" readonly="{{true}}" data-com-type="wx" bind:__l="__l"></van-rate></view></view></view></view></block></view><block wx:if="{{detail.status==='acceptance'}}"><view class="repair-bottom bottom-button _div"><button data-event-opts="{{[['tap',[['onConfirm',['$event']]]]]}}" class="btn" bindtap="__e">提交</button></view></block></view>