<view><view class="head"><view class="location">维修中心<image class="loc" src="../../static/钳子.svg" mode></image></view></view><view class="nav"><navigator url="../feedback/feedback" hover-class="navigator-hover"><image src="../../static/建议.svg" mode></image><view>评价建议</view></navigator></view><view class="content"><view class="point"></view><view class="list-text">报修订单</view><block wx:for="{{workerList}}" wx:for-item="item" wx:for-index="key" wx:key="id"><view class="content-list"><text class="num">{{"订单号："+item.orderId}}</text><text class="newList">{{(item.orderStatus==0?show:'')+''}}</text><text class="waitList">{{(item.orderStatus==1?show2:'')+''}}</text><text class="readyList">{{(item.orderStatus==2?show3:'')+''}}</text><text class="finishList">{{(item.orderStatus==3?show4:'')+''}}</text><text class="refuseList">{{(item.orderStatus==4?show5:'')+''}}</text><view class="list"><view>{{'故障类型：'+item.repairsFault.faultName+''}}</view><view>{{'维修时间：'+item.orderExpectedTime+''}}</view><view>维修人员：高××</view></view><block wx:if="{{item.orderStatus==1}}"><button data-event-opts="{{[['tap',[['open'],['getorderId',['$0'],[[['workerList','id',item.id,'orderId']]]]]]]}}" class="agreeIt" style="width:76px;height:25px;background-color:rgba(42, 130, 228, 1);color:white;font-size:12px;border-radius:14px;" bindtap="__e">接受</button></block><block wx:if="{{item.orderStatus==1}}"><button data-event-opts="{{[['tap',[['openRefuse'],['getorderStatus',['$0'],[[['workerList','id',item.id,'orderStatus']]]],['getorderId',['$0'],[[['workerList','id',item.id,'orderId']]]]]]]}}" class="refuse" style="width:76px;height:25px;background-color:rgba(42, 130, 228, 1);color:white;font-size:12px;border-radius:14px;" bindtap="__e">拒绝</button></block></view></block><block wx:if="{{flag}}"><view class="isOver">----我是有底线的----</view></block></view><block wx:if="{{vm.dialogShows}}"><view class="box"><view id="dialog"><view class="replace">通知</view><view class="uni-textarea">确定拒绝此单？</view><view data-event-opts="{{[['tap',[['closeRefuse',['$event']]]]]}}" class="cancle" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['closeRefuse'],['refuseList']]]]}}" class="agree" bindtap="__e">确定</view></view></view></block><block wx:if="{{vm.dialogShow}}"><view class="box"><view id="dialog"><view class="replace">选择维修时间</view><view class="uni-textarea"><view data-event-opts="{{[['tap',[['onShowDatePicker',['datetime']]]]]}}" class="uni-list-cell-db-2" bindtap="__e"><text style="margin-left:10px;">{{timeValue}}</text></view><mx-date-picker vue-id="3bff3eb6-1" show="{{showPicker}}" type="{{type}}" value="{{timeValue}}" show-tips="{{true}}" begin-text="开始" end-text="截至" show-seconds="{{true}}" data-event-opts="{{[['^confirm',[['onSelected']]],['^cancel',[['onSelected']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:__l="__l"></mx-date-picker></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="cancle" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['close'],['agreeList']]]]}}" class="agree" bindtap="__e">确定</view></view></view></block></view>