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.

1 line
6.3 KiB

<view class="data-v-645c66b0"><view class="order-page data-v-645c66b0"><u-navbar vue-id="272f6d44-1" is-back="{{false}}" title="订单管理系统" background="{{$root.a0}}" title-color="#fff" border-bottom="{{false}}" class="data-v-645c66b0" bind:__l="__l"></u-navbar><view class="b-border data-v-645c66b0"></view><view class="tabs data-v-645c66b0"><block wx:for="{{statusListStaff}}" wx:for-item="tab" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['changeTab',[idx]]]]]}}" class="{{['data-v-645c66b0','tab',[(currentTab===idx)?'active':'']]}}" bindtap="__e">{{''+tab.name+''}}</view></block></view><view class="order data-v-645c66b0"><scroll-view style="height:100%;width:100%;" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['reachBottom',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-645c66b0"><block wx:if="{{$root.g0>0}}"><block class="data-v-645c66b0"><view class="order-list data-v-645c66b0"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="order-card data-v-645c66b0"><view class="{{['order-icon','data-v-645c66b0',typeText[item.type]['class']]}}">{{''+typeText[item.type]['name']+''}}</view><view class="order-header data-v-645c66b0"><view class="order-time data-v-645c66b0">服务时间:<text class="data-v-645c66b0">{{item.time}}</text></view><view class="order-status data-v-645c66b0">{{statusListStaff[currentTab].name}}</view></view><view class="order-body data-v-645c66b0"><view class="order-left data-v-645c66b0"><block wx:if="{{item.type===2}}"><block class="data-v-645c66b0"><view class="data-v-645c66b0">{{"服务地址:"+(item.city?item.city:'')}}</view></block></block><block wx:else><block class="data-v-645c66b0"><view class="data-v-645c66b0">{{"就诊医院:"+(item.hospital?item.hospital.name:'')}}</view></block></block><view class="data-v-645c66b0">{{"被服务人:"+(item.user_archive?item.user_archive.name:'')}}</view><view class="data-v-645c66b0">{{"服务项目:"+(item.accompany_product?item.accompany_product.name:'')}}</view><view class="data-v-645c66b0">{{"订单号:"+item.no+''}}<text data-event-opts="{{[['tap',[['copy',['$0'],[[['list','id',item.id,'no']]]]]]]}}" class="copy data-v-645c66b0" bindtap="__e">复制</text></view></view><view class="order-price data-v-645c66b0">¥<text class="data-v-645c66b0">{{item.price}}</text></view></view><view class="order-footer data-v-645c66b0"><u-button vue-id="{{'272f6d44-2-'+__i0__}}" size="mini" shape="circle" type="default" custom-style="{{normalStyle}}" data-event-opts="{{[['^click',[['toUrl',['$0'],[[['list','id',item.id,'id']]]]]]]}}" bind:click="__e" class="data-v-645c66b0" bind:__l="__l" vue-slots="{{['default']}}">详情</u-button><block wx:if="{{item.pay_status===0||item.pay_status===3}}"><u-button vue-id="{{'272f6d44-3-'+__i0__}}" size="mini" shape="circle" type="default" custom-style="{{normalStyle}}" data-event-opts="{{[['^click',[['editOrder',['$0'],[[['list','id',item.id,'id']]]]]]]}}" bind:click="__e" class="data-v-645c66b0" bind:__l="__l" vue-slots="{{['default']}}">修改</u-button></block><block wx:if="{{item.pay_status===3}}"><u-button vue-id="{{'272f6d44-4-'+__i0__}}" size="mini" shape="circle" type="default" custom-style="{{normalStyle}}" data-event-opts="{{[['^click',[['passOrder',['$0'],[[['list','id',item.id,'id']]]]]]]}}" bind:click="__e" class="data-v-645c66b0" bind:__l="__l" vue-slots="{{['default']}}">通过</u-button></block><block wx:if="{{item.pay_status===3}}"><u-button vue-id="{{'272f6d44-5-'+__i0__}}" size="mini" shape="circle" type="default" custom-style="{{normalStyle}}" data-event-opts="{{[['^click',[['refuseOrder',['$0'],[[['list','id',item.id,'id']]]]]]]}}" bind:click="__e" class="data-v-645c66b0" bind:__l="__l" vue-slots="{{['default']}}">拒绝</u-button></block><block wx:if="{{currentTab===4}}"><u-button vue-id="{{'272f6d44-6-'+__i0__}}" size="mini" shape="circle" type="default" custom-style="{{normalStyle}}" data-event-opts="{{[['^click',[['assignOrder',['$0'],[[['list','id',item.id,'id']]]]]]]}}" bind:click="__e" class="data-v-645c66b0"