接入微信订阅消息并完善预约通知
自动发布开发环境 Nacos 配置 / publish (push) Successful in 20s

This commit is contained in:
2026-11-02 12:11:23 +08:00
parent 3e439543bc
commit 19ca9e2965
29 changed files with 721 additions and 18 deletions
@@ -46,7 +46,7 @@ Page({
return
}
try {
await planningApi.updateStatus(this.data.appointment.orderId, status)
await planningApi.updateStatus(this.data.appointment.orderId, status, this._cancelReason || '')
markPlanningRefresh()
wx.showToast({ title: '已更新' })
this.loadDetail()
@@ -65,7 +65,18 @@ Page({
},
cancel() {
this.updateStatus(3)
wx.showModal({
title: '取消预约',
editable: true,
placeholderText: '可填写取消原因',
content: '',
confirmText: '确认取消',
success: result => {
if (!result.confirm) return
this._cancelReason = result.content || ''
this.updateStatus(3)
}
})
},
goTransfer() {