123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <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>
- <!-- 通知 -->
- <view class="notice-bar" a:if="{{noticeShow}}">
- <view class="notice-main">强提醒内容</view>
- <view class="close-wrapper">
- <image mode="aspectFill" src="/image/icon-close.png" class="notice-close" onTap="closeNotice"/>
- </view>
-
- </view>
- <!-- 任务提醒 -->
- <view class="common-card task-module" onTap="switchTaskRemind">
- <view class="task-top">
- <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}}">
- 今日是信息日
- </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">
- <view class="module-text">
- <view class="module-title">
- 保姆月报
- <text class="report-tips">服务时间较短,暂未生成~</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>
-
- </view>
|