提交 Salon 小程序现有调整

This commit is contained in:
2026-10-20 18:02:49 +08:00
parent 527754af02
commit 68533738e0
34 changed files with 98 additions and 95 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ async function run() {
page.data.viewMode = 'month'
page.data.monthDisplayMode = 'count'
const monthDays = definition.buildMonthDays.call(page, {
artists: [{ id: 1, name: '员工', shortName: '员', color: '#000' }],
artists: [{ id: 1, name: '美甲师', shortName: '员', color: '#000' }],
daySummaries: [{ date: dateUtil.formatDate(dateUtil.startOfMonth(page.data.currentDateText)), totalCount: 2, unassignedCount: 1, artistCounts: [] }]
})
assert.strictEqual(monthDays.length, 42)
@@ -69,7 +69,7 @@ async function run() {
const dayState = dayPage.buildDayView({
businessStartTime: '10:00',
businessEndTime: '22:00',
artists: [{ id: 1, name: '员工', color: '#000' }],
artists: [{ id: 1, name: '美甲师', color: '#000' }],
appointments: [{ orderItemId: 8, date: '2026-10-12', startTime: '2026-10-12 14:00:00', durationMinutes: 60, artistId: null }]
})
assert.strictEqual(dayState.dayLanes[0].artistId, '__unassigned__')