123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <import-sjs from="../../../util/formateFuc.sjs" name="formate"></import-sjs>
- <view class="common-page-padding">
- <!-- 信息面板 -->
- <view class="common-card top-panel {{isBind?'':'un-bind'}}">
- <view class="info-main">
- <view class="show-name">
- <text>{{servantName}}</text>
- <image mode="aspectFill" src="/image/icon-edit.png" class="edit-btn" onTap="editServant"/>
- </view>
- <view class="switch-list" onTap="switchList">
- <image mode="aspectFill" src="/image/switch-grey.png" class="switch-btn" a:if="{{isOnlyOne}}"/>
- <image mode="aspectFill" src="/image/switch-blue.png" class="switch-btn" a:if="{{!isOnlyOne}}"/>
- <text class="{{isOnlyOne?'':'switch-text'}}">切换到其他保姆</text>
- </view>
-
- </view>
- <view class="work-day">{{workDay}}</view>
- <view class="about-detail">
- <view class="about-left">
- <view class="service-model">保姆工种:{{formate.serviceType(serviceType)}}</view>
- <view class="bind-code" a:if="{{!isBind}}">
- <text>关联码:{{bindCode}}</text>
- <text class="copy-btn" onTap="copyCode">复制</text>
- </view>
- </view>
- <view class="about-right" onTap="switchSerHobby">保姆偏好</view>
- </view>
- </view>
- <!-- 通知 月报更新 bmybgx-->
- <view class="notice-bar" a:if="{{bmybgxShow}}">
- <view class="notice-main">月报新鲜出炉,<text class="link-view-text" onTap="viewMonthReport" data-noticeType="bmybgx">点击查看</text>保姆本月表现</view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="bmybgx">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 任务无法完成rwwfwc-->
- <view class="notice-bar" a:if="{{rwwfwcShow}}">
- <view class="notice-main">[{{servantName}}]表示有任务无法完成,<text class="link-view-text" onTap="viewTaskReminder" data-noticeType="rwwfwc">点击查看原因>></text></view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="rwwfwc">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 偏好设置phsz-->
- <view class="notice-bar" a:if="{{phszShow}}">
- <view class="notice-main">[{{servantName}}]设置了保姆偏好,<text class="link-view-text" data-noticeType="phsz" onTap="viewSerHobby">点击查看>></text> </view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="phsz">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 偏好更新phgx-->
- <view class="notice-bar" a:if="{{phgxShow}}">
- <view class="notice-main">[{{servantName}}]更新了保姆偏好,<text class="link-view-text" data-noticeType="phgx" onTap="viewSerHobby">点击查看>></text></view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="phgx">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 任务提醒 -->
- <view class="common-card task-module" >
- <view class="task-top" onTap="switchTaskRemind">
- <view class="module-title">任务提醒
- <text class="task-schedule" a:if="{{taskListShow}}">完成进度{{completeTaskCount}}/{{totalTaskCount}}</text>
- </view>
- <view class="module-detail">高效沟通 任务提醒更可靠</view>
- </view>
- <!-- 暂未添加 -->
- <view class="no-add" a:if="{{noAddTaskShow}}" onTap="switchAddTask">
- +快速添加
- </view>
- <!-- 今天无任务 -->
- <view class="no-task" a:if="{{noTaskShow}}">
- 今天保姆休息
- </view>
- <!-- 任务列表 -->
- <view class="task-list" a:if="{{taskListShow}}">
- <view class="task-item" a:for="{{taskList}}" key="{{index}}">
- {{item.itemName}}
- </view>
- </view>
-
- </view>
- <!-- 服务标准 -->
- <view class="common-card module-card" onTap="switchSerStandard">
- <view class="module-text">
- <view class="module-title">
- 服务标准
- <text class="no-service-standard" a:if="{{noSetSerStan}}">未设置</text>
- </view>
- <view class="module-detail">标准化服务 更贴心</view>
- </view>
- </view>
- <!-- 月报 -->
- <view class="common-card module-card" onTap="switchReportList">
- <view class="module-text">
- <view class="module-title">
- 保姆月报
- <text class="report-tips" a:if="{{noReportShow}}">服务时间较短,暂未生成~</text>
- </view>
- <view class="module-detail">服务回顾 发现问题</view>
- </view>
- </view>
- <!-- 敬请期待 -->
- <view class="common-card future-module">
- <view class="forward-title">敬请期待</view>
- <view class="forward-unit-wrapper">
- <view class="forward-unit">
- <image mode="aspectFit" src="/image/future-1.png"/>
- <text>服务合同</text>
- </view>
- <view class="forward-unit">
- <image mode="aspectFit" src="/image/future-2.png"/>
- <text>保险查询</text>
- </view>
- <view class="forward-unit">
- <image mode="aspectFit" src="/image/future-3.png"/>
- <text>薪资收发</text>
- </view>
- <!-- <view class="forward-unit">
- <image mode="widthFix" src=""/>
- </view> -->
- </view>
- </view>
- <!-- 设置服务标准提醒 -->
- <modal
- show="{{unSetServiceModal}}"
- showClose="{{false}}"
- onButtonClick="onSetServiceButtonClick"
- buttonsLayout="vertical"
- buttons="{{unSetBtn}}"
- >
- <view slot="header">您尚未设置服务标准</view>
- 先设置服务标准
- </modal>
- <!-- 设置任务提醒 -->
- <modal
- show="{{unSetTaskModal}}"
- showClose="{{false}}"
- onButtonClick="onSetTaskButtonClick"
- buttonsLayout="vertical"
- buttons="{{unSetBtn}}"
- >
- <view slot="header">您尚未设置任务提醒</view>
- 先设置任务提醒
- </modal>
- <!-- 完成设置指引 -->
- <modal
- show="{{finishSetModal}}"
- showClose="{{false}}"
- onButtonClick="onFinishButtonClick"
- buttonsLayout="vertical"
- buttons="{{finishSetBtn}}"
- >
- <view slot="header">{{finishTitle}}</view>
- {{finishTips}}
- </modal>
- </view>
|