123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <wxs src="../../../utils/format.wxs" module="format" />
- <view class="whole-page" >
- <!-- 日历-月维度 -->
- <!-- wx:if="{{!stickShow}}" -->
- <view class="calendar-wrapper">
- <view class="month-title">
- <view class="month-title-left">
- <view>工作日历</view>
- <image mode="aspectFit" src="/static/images/upgrade/icon-calendar.png"></image>
- </view>
- <view class="month-title-right">
- <block>
- <image bindtap="lastMonth" mode="aspectFit" src="/static/images/upgrade/icon-arrow-left.png"></image>
- <view bindtap="lastMonth" class="last-month">上月</view>
- </block>
- <block>
- <view class="next-month" bindtap="nextMonth">
- 下月</view>
- <image bindtap="nextMonth" mode="aspectFit" src="/static/images/upgrade/icon-arrow-right.png"></image>
- </block>
- </view>
- </view>
- <view class="current-month">
- {{currentMonth}}
- </view>
- <view class="whole-calendar">
- <view class="{{currentDay==item1.day?'selected-calendar':''}} calendar-item" wx:for="{{workerDayInfoList}}"
- wx:for-item="item1" bindtap="switchDay" data-day="{{item1.day}}" wx:key="index1" wx:for-index="index1" data-item="{{item1}}">
- <view class="calendar-week" wx:if="{{index1<=6}}">
- {{item1.dayOfWeek}}
- </view>
- <view class="calendar-day">
- {{format.substrText(item1.day,8,10)}}</view>
- <view class="selected-dot">
- </view>
- <!-- <view class="appoint-time" wx:if="{{item1.appointmentCount!=null}}">{{item1.appointmentCount==null?'':(''+item1.appointmentCount)}}</view> -->
-
- </view>
- </view>
- <!-- 折叠收起 -->
- <view wx:if="{{!calcendarFold}}" class="fold-calcendar" bindtap="calcendarCollapse">
- <image mode="aspectFit" src="/static/images/upgrade/icon-unfold.png"></image>
- <view>收起</view>
- </view>
- <view wx:else class="fold-calcendar" bindtap="calcendarCollapse">
- <image mode="aspectFit" src="/static/images/upgrade/icon-fold.png"></image>
- <view>展开</view>
- </view>
- </view>
- <!-- 日历-日维度 -->
- <!-- wx:if="{{stickShow}}" -->
- <van-sticky>
- <!-- 日期 -->
- <view class="current-date">
- <view class="day">{{currentDay}}</view>
- <view class="today" wx:if="{{currentDay==today}}">今天</view>
- </view>
- <van-tabs active="{{ activeTab }}" color="#1677FF" id="tabs" bind:change="onTabChange">
- <van-tab title="匹配中({{waitMatchCount}})" name="7"></van-tab>
- <van-tab title="待履约({{waitServiceCount}})" name="1"></van-tab>
- <van-tab title="全部({{totalCount}})" name="0"></van-tab>
- </van-tabs>
- </van-sticky>
- <!-- 服务工单 -->
- <view wx:if="{{serviceList.length>0}}">
- <view class="service-order {{item.status=='已取消'||item.status=='已退款'?'cancel-order':''}}"
- wx:for="{{serviceList}}" wx:key="index">
- <view class="service-title">
- <view class="ser-title-left">
- <image mode="aspectFit"
- src="{{item.status=='已取消'?'/static/images/upgrade/order.png':'/static/images/upgrade/order@selected.png'}}">
- </image>
- <view>服务工单
- </view>
- </view>
- <view class="ser-title-right">
- <!-- <image mode="aspectFit" src="/static/images/upgrade/jzlife-logo.png"></image> -->
- <view>{{item.channelName}}</view>
- </view>
- </view>
- <view class="related-info" wx:if="{{item.status!='已取消'}}">
- <view class="column">
- <view class="title">相关信息</view>
- <view wx:if="{{item.serviceTimes>1}}">周期卡:{{item.servicedTimes}}/{{item.serviceTimes}}</view>
- </view>
- <!-- 消息 -->
- <!-- <view class="notice" wx:if="{{item.rebuySpeach!=''}}">
- <image mode="aspectFit" src="/static/images/upgrade/icon-alert.png"></image>
- <view>
- {{item.rebuySpeach}}
- </view>
-
- </view> -->
- <!-- <view class="row">服务内容:{{item.goodsName}} </view> -->
- <!-- <view class="row">客户信息: {{item.syncTag}} {{item.cusStatus}}</view>
- <view class="column">
- <view>订单类型:{{item.itemType}}</view>
- <view>此次服务进度:{{item.serviceProcess}}</view>
- </view> -->
- <view class="row">商品简称:{{item.orderType}}</view>
- <view class="row">订单渠道:{{item.channelName}}</view>
- <!--<view class="row">需求备注:{{item.preCollectInfo}}</view> -->
- </view>
- <view class="service-info">
- <view class="order-num">
- <view>服务单号:{{item.serviceId}}</view>
- <image src="/static/images/upgrade/icon-copy.png" mode="aspectFit" class="copy-img" bindtap="copyNum"
- data-bookno="{{item.serviceId}}"></image>
- </view>
- <view class="row service-status">
- <view>当前状态:{{item.statusVal}}</view>
- <!--
- <view class="invite-comment" wx:if="{{item.canEval}}">可邀评</view>
- <view class="hp-wrapper" wx:if="{{item.evalType=='好评'}}">
- <image src="/static/images/upgrade/icon-hp.png" mode="aspectFit" class="hp-img" ></image>
- <text>好评</text>
- </view> -->
- <!--
- <view class="cp-wrapper" wx:if="{{item.evalType=='差评'}}">
- <image src="/static/images/upgrade/icon-cp.png" mode="aspectFit" class="cp-img"></image>
- <text>差评</text>
- </view> -->
- </view>
- <view class="row">价格:{{item.price}}</view>
- <view class="row">服务时间:{{item.bookDate}} {{item.bookStartTime}}-{{item.bookEndTime}}</view>
- <!-- <view class="row">服务人员:{{item.workerName}}</view>
- <view class="row">服务者手机号:{{item.workerTel}}</view>
- <view class="row">预约联系人:{{item.consignee}}</view> -->
- <view class="row" wx:for="{{item.workerInfoList}}" wx:for-item="item2" wx:for-index="index2" >
- 服务人员{{index2+1}}:{{item2.workerName}}({{item2.servantType}}){{item2.workerTel}}
- </view>
- <view class="column">
- <view bindtap="callUp" data-serviceid="{{item.serviceId}}" data-phone="{{item.mobile}}"
- data-statusval="{{item.statusVal}}" data-status="{{item.status}}">预约电话:{{item.mobile}}</view>
- <image src="/static/images/upgrade/icon-phone1.png" mode="aspectFit" class="callup-img" bindtap="callUp"
- data-phone="{{item.mobile}}" wx:if="{{item.status=='1'||item.status=='2'||item.status=='7'}}"
- data-status="{{item.status}}"></image>
- </view>
- <view class="row">服务小区:{{item.addressName}}</view>
- <view class="address">
- <view>服务地址:</view>
- <view class="detail">{{item.address}}</view>
- <image src="/static/images/upgrade/icon-map1.png" bindtap="openMap" data-status="{{item.status}}"
- data-lnglat="{{item.addrDetail}}" data-address="{{item.addr}}"
- wx:if="{{item.status=='待履约'||item.status=='服务中'}}"></image>
- </view>
- <view class="row">客户备注:{{item.message}}</view>
- <view wx:if="{{item.serviceHistory}}" style="color:blue;font-size: 26rpx;">*曾经服务过该客户</view>
- <view class="service-tag-line">
- <view class="{{item.level==1?'tag-important':'tag-common'}}" wx:for="{{item.labelList}}" wx:key="index">{{item.resultName}}</view>
-
- </view>
- </view>
- <view class="operate-block">
- <!-- 待履约: 修改 完成 取消
- 待匹配:接单 转发 修改 取消-->
- <!-- <view class="operate-item" wx:if="{{item.status=='7'}}" data-serviceid="{{item.serviceId}}" bindtap="handleTake">
- <image src="/static/images/upgrade/icon-qjsq.png" mode="widthFix" style="width:28rpx;">
- </image>
- <view>接单</view>
- </view> -->
- <view class="operate-item" data-serviceid="{{item.serviceId}}" bindtap="supplyCode">
- <view>补差</view>
- </view>
- <view class="operate-item" wx:if="{{item.status=='7'}}" data-serviceid="{{item.serviceId}}" bindtap="handleCopy">
- <image src="/static/images/upgrade/icon-copy.png" mode="widthFix" style="width:36rpx;"></image>
- <view>复制</view>
- </view>
- <view class="operate-item" wx:if="{{item.status=='7'}}" data-serviceid="{{item.serviceId}}" bindtap="handleSend">
- <image src="/static/images/upgrade/icon-qtjm.png"></image>
- <view>转发</view>
- </view>
- <view class="operate-item" wx:if="{{item.status=='1'||item.status=='7'}}" data-item="{{item}}" bindtap="handleAppoint">
- <image src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-gdth.png"></image>
- <view>派单及修改预约</view>
- </view>
- <view class="operate-item" wx:if="{{item.status=='1'||item.status=='2'}}" data-serviceid="{{item.serviceId}}" bindtap="handleFinish">
- <image src="/static/images/upgrade/icon-fwwc.png"></image>
- <view>完成工单</view>
- </view>
- <!-- <view class="operate-item" wx:if="{{item.status=='1'||item.status=='7'}}" data-serviceid="{{item.serviceId}}" bindtap="handleCancel">
- <image src="/static/images/upgrade/icon-ycbb.png"></image>
- <view>取消工单</view>
- </view> -->
-
-
- </view>
- </view>
- </view>
- <view wx:else="" style="text-align: center;padding: 40rpx;color: #bbb4b4; font-size: 24rpx;">选中日期无服务单</view>
- <!-- 退出登录 -->
- <!-- <view class="logout" bindtap="exitLogin">退出登录</view> -->
- </view>
|