新增历史补单与服务中状态
This commit is contained in:
@@ -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}` })
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user