修复店务预约与小程序生产问题

This commit is contained in:
2026-07-20 01:22:37 +08:00
parent 92949f9368
commit d180880445
25 changed files with 565 additions and 70 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ Page({
avatarUploading: false
},
onLoad() {
onShow() {
this.loadEmployees()
},
@@ -43,7 +43,7 @@ Page({
name: item.nickname || item.name || item.artistName || `美甲师${index + 1}`,
shortName: (item.nickname || item.name || '师').slice(-1),
avatar: item.avatar || item.avatarUrl || '',
color: EMPLOYEE_COLORS[index % EMPLOYEE_COLORS.length],
color: item.color || EMPLOYEE_COLORS[index % EMPLOYEE_COLORS.length],
monthOrders: item.monthOrders || item.orderCount || 0,
monthAmount: item.monthAmount || item.turnover || 0,
scheduleSummary: buildScheduleSummary(item)