123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <import-sjs from="../../../util/formateFuc.sjs" name="formate"></import-sjs>
- <view class="common-page-padding">
- <!-- 信息面板 -->
- <view class="common-card top-panel">
- <view class="info-main">
- <view class="show-name">
- <text>{{customerName}}</text>
- <image mode="aspectFill" src="/image/icon-edit.png" class="edit-btn" onTap="editCustomer"/>
- </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>
- <view class="about-right"></view>
- </view>
- </view>
- <!-- 通知 月报更新 gzybgx-->
- <view class="notice-bar" a:if="{{gzybgxShow}}">
- <view class="notice-main">月报新鲜出炉,<text class="link-view-text" onTap="viewMonthReport" data-noticeType="gzybgx">点击查看</text>我的本月表现</view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="gzybgx">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 任务设置rwsz-->
- <view class="notice-bar" a:if="{{rwszShow}}">
- <view class="notice-main">[{{customerName}}]设置了我的任务,<text class="link-view-text" onTap="viewTaskReminder" data-noticeType="rwsz">点击查看>></text></view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="rwsz">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 任务更新rwgx-->
- <view class="notice-bar" a:if="{{rwgxShow}}">
- <view class="notice-main">[{{customerName}}]更新了我的任务,<text class="link-view-text" onTap="viewTaskReminder" data-noticeType="rwgx">点击查看>></text></view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="rwgx">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 服务标准设置fwbzsz-->
- <view class="notice-bar" a:if="{{fwbzszShow}}">
- <view class="notice-main">[{{customerName}}]设置了服务标准,<text class="link-view-text" data-noticeType="fwbzsz" onTap="viewSerStan">点击查看>></text> </view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="fwbzsz">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 通知 服务标准更新fwbzgx-->
- <view class="notice-bar" a:if="{{fwbzgxShow}}">
- <view class="notice-main">[{{customerName}}]更新了服务标准,<text class="link-view-text" data-noticeType="fwbzgx" onTap="viewSerStan">点击查看>></text></view>
- <view class="close-wrapper" onTap="closeNotice" data-noticeType="fwbzgx">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" />
- </view>
- </view>
- <!-- 任务提醒 -->
- <view class="common-card task-module" >
- <view class="{{noAddTaskShow?'no-task-top':'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-task" a:if="{{noAddTaskShow}}">
- 雇主暂未设置
- </view>
- <!-- 今天无任务 -->
- <view class="no-task" a:if="{{noTaskShow}}">
- {{taskTipText}}
- </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-prefer" a:if="{{noSetSerStan}}">未设置</text>
- </view>
- <view class="module-detail">标准化服务 更贴心</view>
- </view>
- </view>
- <!-- 服务偏好 -->
- <view class="common-card module-card" onTap="switchSerHobby">
- <view class="module-text">
- <view class="module-title">
- 服务偏好
- <text class="no-service-standard" a:if="{{noSetSerHobby}}">未设置</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>
- <modal
- show="{{editModalShow}}"
- showClose="{{false}}"
- onButtonClick="onModalClose"
- buttons="{{buttonFooter}}"
- >
- <view slot="header">编辑客户姓名</view>
- <input class="input" maxlength="10" placeholder="请输入客户姓名" onInput="bindKeyInput" value="{{editCustomerName}}"/>
-
- </modal>
- <modal
- show="{{unSetModal}}"
- showClose="{{false}}"
- onButtonClick="onSetButtonClick"
- buttonsLayout="vertical"
- buttons="{{unSetBtn}}"
- >
- <view slot="header">我的偏好</view>
- 您的需求也同样重要哦
- </modal>
- <!-- 完成设置指引 -->
- <modal
- show="{{finishSetModal}}"
- showClose="{{false}}"
- onButtonClick="onFinishButtonClick"
- buttonsLayout="vertical"
- buttons="{{finishSetBtn}}"
- >
- <view slot="header">您差一点点就完成所有设置喽</view>
- 记得设置我的偏好哦
- </modal>
-
- </view>
|