完善店务员工工时与订单记录

This commit is contained in:
2026-07-24 14:23:13 +08:00
parent 3a543f1d69
commit eff4e73427
20 changed files with 440 additions and 225 deletions
@@ -11,7 +11,10 @@
<view wx:else class="avatar" style="background: {{employee.color}};">{{employee.shortName}}</view>
<view>
<text class="employee-name">{{employee.name}}</text>
<text class="tag" style="background: {{employee.color}}; color: #fff;">员工色</text>
<view class="head-tag-row">
<text class="tag" style="background: {{employee.color}}; color: #fff;">{{employee.roleText}}</text>
<text class="tag ghost">员工色</text>
</view>
</view>
</view>
@@ -30,10 +33,44 @@
</view>
</view>
<view wx:if="{{!loadError}}" class="section">
<view class="section-title">基础信息</view>
<view class="card info-card">
<view class="info-row">
<text class="info-label">姓名</text>
<text class="info-value">{{employee.name}}</text>
</view>
<view class="info-row">
<text class="info-label">角色</text>
<text class="info-value">{{employee.roleText}}</text>
</view>
<view class="info-row">
<text class="info-label">登录账号</text>
<text class="info-value">{{employee.accountText}}</text>
</view>
<view class="info-row">
<text class="info-label">手机号</text>
<text class="info-value">{{employee.phoneText}}</text>
</view>
<view class="info-row">
<text class="info-label">联系电话</text>
<text class="info-value">{{employee.contactPhoneText}}</text>
</view>
<view class="info-row">
<text class="info-label">微信号</text>
<text class="info-value">{{employee.wechatIdText}}</text>
</view>
<view class="info-row">
<text class="info-label">身份</text>
<text class="info-value">{{employee.identityText}}</text>
</view>
</view>
</view>
<view wx:if="{{!loadError}}" class="section">
<view class="menu-grid">
<view class="card menu-card" data-url="/pages/schedule-setting/index" bindtap="go">排班设置</view>
<view class="card menu-card" data-url="/pages/leave-management/index" bindtap="go">请假管理</view>
<view class="card menu-card" data-url="/pages/leave-management/index" bindtap="go">工时管理</view>
<view class="card menu-card" data-url="/pages/color-setting/index" bindtap="go">颜色设置</view>
<view class="card menu-card" data-url="/pages/employee-orders/index" bindtap="go">订单记录</view>
</view>