新增历史补单与服务中状态

This commit is contained in:
2026-10-13 12:36:01 +08:00
parent 3ab615ccd4
commit bd8d95fcd9
29 changed files with 294 additions and 29 deletions
@@ -35,7 +35,7 @@ Page({
appointment,
isUnassigned: appointment.assignmentStatus === 'UNASSIGNED' || !appointment.artistId,
avatarText: String(appointment.customerName || '客').slice(0, 1),
timeText: `${(appointment.startTime || '').slice(0, 16)} - ${(appointment.endTime || '').slice(11, 16)}`,
timeText: appointment.historicalBackfill && !appointment.startTime ? '时间未记录' : `${(appointment.startTime || '').slice(0, 16)} - ${(appointment.endTime || '').slice(11, 16)}`,
loadError: ''
})
},
@@ -56,6 +56,7 @@ Page({
},
confirm() {
if (this.data.appointment.historicalBackfill) return
this.updateStatus(1)
},
@@ -68,6 +69,7 @@ Page({
},
goTransfer() {
if (this.data.appointment.historicalBackfill) return
wx.navigateTo({ url: `/pages/artist-transfer/index?id=${this.data.id}` })
},