<view><view class="status_bar"></view><view style="position:fixed;z-index:100;top:40px;"><uni-nav-bar vue-id="2b87a309-1" left-icon="back" left-text="返回" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="bases_search"><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="bases_search_text" bindtap="__e"><u-icon class="search" vue-id="{{('2b87a309-2')+','+('2b87a309-1')}}" name="search" data-event-opts="{{[['^click',[['search']]]]}}" bind:click="__e" bind:__l="__l"></u-icon><input type="text" placeholder="设备ID搜索" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['$0','search','$event',[]],['data']]]]]}}" value="{{data.search}}" bindinput="__e"/></view></view></uni-nav-bar></view><image class="expertimages" src="http://www.hnyfwlw.com:8006/bigdata_app/image/afterSale/dcd7147f4b15d00c5c90006738b8453.png"></image><block wx:if="{{aftersaleTF}}"><view class="aftersaleTF">暂无数据</view></block><block wx:else><view class="aftersale"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="aftersale_item"><view class="aftersale_item_title"><u-icon vue-id="{{'2b87a309-3-'+index}}" name="calendar" color="#71D8AF" size="34" bind:__l="__l"></u-icon><label class="_span">{{"设备 ID："+item.$orig.device_id}}</label></view><view class="aftersale_item_con"><view class="_p">{{"联系人："+item.$orig.user}}</view><view class="_p">{{"联系电话："+item.$orig.userphone}}</view><view class="_p">{{"位置："+item.$orig.addr}}</view><view class="_p">{{"故障上报时间："+item.f0}}</view></view><view class="aftersale_item_operate"><button class="{{[item.$orig.errordesc?'fault':'none']}}" disabled="{{!item.$orig.errordesc}}" data-event-opts="{{[['tap',[['fault',['$0'],[[['faultdata','',index,'errordesc']]]]]]]}}" bindtap="__e">故障原因</button><button class="{{[item.$orig.errorimg?'imgs':'none']}}" disabled="{{!item.$orig.errorimg}}" data-event-opts="{{[['tap',[['faultImg',['$0'],[[['faultdata','',index,'errorimg']]]]]]]}}" bindtap="__e">图片</button><button class="{{[item.$orig.errorvideo?'video':'none']}}" disabled="{{!item.$orig.errorvideo}}" data-event-opts="{{[['tap',[['faultVideo',['$0'],[[['faultdata','',index,'errorvideo']]]]]]]}}" bindtap="__e">视频</button></view><view class="aftersale_item_icon"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app/image/afterSale/'+item.$orig.device_type+'.png'}}" mode></image></view></view></block></view></block><view data-event-opts="{{[['tap',[['addf',['$event']]]]]}}" class="addindent" bindtap="__e">新 增 售 后 单</view><u-modal bind:input="__e" class="model" vue-id="2b87a309-4" mask-close-able="{{maskcloseable}}" show-confirm-button="{{showconfirmbutton}}" title="{{title}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="model_box"><block wx:if="{{faultinfo_tf}}"><view class="_p">{{faultinfo}}</view></block><block wx:if="{{faultimg_tf}}"><u-swiper class="uswiper" style="width:100%;" vue-id="{{('2b87a309-5')+','+('2b87a309-4')}}" list="{{faultimg}}" height="400" data-event-opts="{{[['^click',[['examine',['$0'],['faultimg']]]]]}}" bind:click="__e" bind:__l="__l"></u-swiper></block><block wx:if="{{faultvideo_tf}}"><video style="width:90%;" src="{{BASE_URL+faultvideo}}" controls="{{true}}"></video></block></view></u-modal><block wx:if="{{isTop}}"><view data-event-opts="{{[['tap',[['top',['$event']]]]]}}" class="top" bindtap="__e"><image src="{{'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/6209a98f0cb3b5086f2ca36152c9269.png'}}" mode></image></view></block></view>