123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <block wx:for="{{detail}}" wx:key="index">
- <view class="repair_detail" wx:if="{{item.value!=='apply_content'}}">
- <view> {{item.name}}</view>
- <view class="repair_text" wx:if="{{item.value=='status'}}">{{status[base_info[item.value]]}}</view>
- <view class="repair_text" wx:elif="{{item.value=='area'}}">
- {{area_list[base_info[item.value]]}}
- </view>
- <view class="repair_text" wx:else>{{base_info[item.value]}}</view>
- </view>
- <!-- <view wx:else="" class="apply_content">
- <view>{{item.name}}</view>
- <view class="apply_content_value">{{base_info[item.value]}}</view>
- </view> -->
- </block>
- <view class="repair_list">
- <view class="repair_list_title">工单进度</view>
- <view class="weui-steps weui-steps_vertical">
- <block wx:for="{{list}}" wx:key="index">
- <view wx:if="{{index==0}}" class="weui-steps__item weui-steps__item_success reapir_process" style="padding-bottom: 0;">
- <view class="weui-steps__item__inner" style="padding-left: 0;">
- <view class="list_header">
- <text class="weui-steps__item__title green">提交任务</text>
- <text class="handle_time">{{item.handle_time}}</text>
- </view>
- <view class="user">
- <text class="user_phone">任务描述:{{base_info["apply_content"]}}</text>
- </view>
- <view class="pics">
- <block wx:for="{{base_info.apply_pic}}" wx:key="index">
- <image wx:if="{{item}}" class="apply_pic" src="{{item}}" data-index="{{index}}" bindtap="chickImage" />
- </block>
- </view>
- </view>
- </view>
- <view wx:elif="{{index==list.length-1}}" class="weui-steps__item weui-steps__item_success reapir_process" style="padding-bottom: 0;">
- <view class="weui-steps__item__inner" style="padding-left: 0;">
- <view class="list_header">
- <text class="weui-steps__item__title green">{{item.status}}</text>
- <text class="handle_time">{{item.handle_time}}</text>
- </view>
- <view class="user">
- <text class="user_phone">处理人:</text>
- <text class="green">{{item.user}}</text>
- </view>
- <view class="phone">
- <text class="user_phone">处理人电话:</text>
- <text class="green">{{item.phone}}</text>
- </view>
- <view class="pics">
- <block wx:for="{{base_info.repair_pic}}" wx:key="index">
- <image wx:if="{{item}}" class="apply_pic" src="{{item}}" data-index="{{index}}" bindtap="chickRepair" />
- </block>
- </view>
- </view>
- </view>
- <view wx:else="" class="weui-steps__item weui-steps__item_success reapir_process" style="padding-bottom: 0;">
- <view class="weui-steps__item__inner" style="padding-left: 0;">
- <view class="list_header">
- <text class="weui-steps__item__title green">{{item.status}}</text>
- <text class="handle_time">{{item.handle_time}}</text>
- </view>
- <view class="user">
- <text class="user_phone">处理人:</text>
- <text class="green">{{item.user}}</text>
- </view>
- <view class="phone">
- <text class="user_phone">处理人电话:</text>
- <text class="green">{{item.phone}}</text>
- </view>
- </view>
- </view>
- </block>
- </view>
- </view>
- <block wx:if="{{base_info.status==3}}">
- <view class="evaluate" wx:if="{{base_info.return_visit_level==0}}">请对我的服务做出评价</view>
- <view class="evaluate" wx:else="">我的服务评价</view>
- <form bindsubmit="submit">
- <view class="visit">
- <view>满意度</view>
- <block wx:if="{{base_info.return_visit_level==0}}">
- <radio-group name="return_visit_level">
- <label class="radio radio_text">
- <radio value="1" />满意
- </label>
- <label class="radio radio_text">
- <radio value="2" />不满意
- </label>
- </radio-group>
- </block>
- <block wx:else="">
- <radio-group name="return_visit_level">
- <label class="radio radio_text gray">
- <radio value="1" checked="{{flag}}" disabled="true" />满意
- </label>
- <label class="radio radio_text gray">
- <radio value="2" checked="{{!flag}}" disabled="true" />不满意
- </label>
- </radio-group>
- </block>
- </view>
- <view class="visit_text">
- <text>评价</text>
- <block wx:if="{{base_info.return_visit_level==0}}">
- <textarea name="return_visit_content" class="weui-textarea" placeholder="请输入评价详情" placeholder-class="weui-input__placeholder" rows="3"></textarea>
- </block>
- <block wx:else="">
- <textarea name="return_visit_content"
- disabled="true"
- class="weui-textarea gray" placeholder="请输入评价详情" value="{{base_info.return_visit_content}}" placeholder-class="weui-input__placeholder" rows="3"></textarea>
- </block>
- </view>
- <view class="commitBtn" wx:if="{{base_info.return_visit_level==0}}">
- <button type="primary" form-type="submit">提交</button>
- </view>
- </form>
- </block>
|