123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <import-sjs from="../../../util/formateFuc.sjs" name="formate"></import-sjs>
- <view class="common-page-padding tasks-page">
- <!---客户信息-->
- <view class="tasks-head">
- <view class="cell-title">
- <label>{{servantName}}</label>
- <view class="cell-right" onTap="changeotherhome" a:if="{{homecssname}}">
- <image mode="scaleToFill" src="/image/switch-blue.png"/>
- <label class="homecssname">切换到其他家庭</label>
- </view>
- <view class="cell-right" onTap="changeotherhome" a:if="{{!homecssname}}">
- <image mode="scaleToFill" src="/image/switch-grey.png"/>
- <label>切换到其他保姆</label>
- </view>
- </view>
- <view class="cell-list">
- {{weekday}}
- </view>
- <view class="cell-typecontnet">
- 保姆工种:<label>{{formate.serviceType(servantTypeValue)}}</label>
- </view>
- </view>
- <!---一周任务查看器-->
- <view class="tasks-line">
- <view class="common-page-padding tasks-tik">
- <view class="tik-title">
- <label>{{nowselectTime}}</label>
- <view class="tik-right" onTap="showtime">
- <image mode="scaleToFill" src="/image/icon-calendar.png"/>
- <label>查看其它日期</label>
- </view>
- </view>
- <view class="tik-week" a:for="{{datelist}}" key="{{index}}">
- <view class="tik-week-item {{item.cssName}}" onTap="changeWeekTime" data-value="{{item.date}}" data-id="{{item.id}}">
- <view class="tik-week-item-view">{{item.title}}</view>
- <view class="tik-week-item-view">{{item.day}}
- <text a:if={{item.cssName}}></text>
- <view a:if={{item.cssName}} class="littletik"> </view>
- </view>
- </view>
- </view>
- </view>
- <!--任务列表-->
- <view class="common-page-padding tasks-list">
- <view class="cell-title">
- <label>任务提醒</label>
- <view class="tik-right" onTap="switchEditTask"><image mode="scaleToFill" src="/image/icon-edit.png"/><label>编辑每日任务</label></view>
- </view>
- <!--有提醒任务-->
- <view a:if="{{isreminds}}" a:for="{{taskList}}" key="{{index}}">
- <view class="tasks-list-item" a:if="{{item.state == 0}}">
- <text> {{item.itemName}}</text>
- <view class="tasks-item-red">
- <text> 未完成</text>
- </view>
-
- </view>
- <view class="tasks-list-item" a:if="{{item.state == 1}}">
- <text> {{item.itemName}}</text>
- <view class="tasks-item-yes">
- <text> 已完成</text>
- </view>
- </view>
- <view class="tasks-list-item" a:if="{{item.state == 2}}">
- <text>{{item.itemName}}</text>
- <label class="nogood" a:if="{{item.incompleteReason == 1}}">任务太多</label>
- <label class="nogood" a:if="{{item.incompleteReason == 2}}">我不会</label>
- <label class="nogood" a:if="{{item.incompleteReason == 3}}">任务不详细</label>
- <view class="tasks-item-red">
- <text> 未完成</text>
- </view>
- </view>
- </view>
- </view>
- <!--没有任务-->
- <view a:if="{{!isreminds}}">
- <view class="notasks">
- <text>还没有任务</text>
- </view>
- </view>
- <!---没有任务花销计算不显示-->
- <view a:if="{{isreminds}}" class="tast-moneybox">
- <view class="tasks-list-money">
- <view class="tasks-list-pay">今日花销合计</view>
-
- <text> {{selectDailyCost}}元</text>
- </view>
- </view>
- </view>
- <!---弹出日历--->
- <modal show="{{showchangetime}}">
- <calendar
- type="single"
- onSelect="handleSelect" />
- </modal>
- <!--弹出取消原因-->
- <modal show="{{showcancelbox}}">
- <view class="cancel-box">
- <text>取消原因</text>
- <radio-group class="radio-group weui-input">
- <label a:for="{{cancellist}}" a:key={{value}}>
- <radio value="{{item.value}}" class="radio" checked="{{item.checked}}" color="#09AFFF"/>{{item.label}}
- </label>
- </radio-group>
- </view>
- <view class="am-modal-buttons--vertical" onTap="hidecnacelbox" >
- 取消
- </view>
- <view class="am-modal-buttons--vertical">
- 确认选择
- </view>
- </modal>
- </view>
|