feat(escort): 病历与诉求改为多材料录入与四段摘要确认
新增独立编辑页,支持 PDF、图片、语音和文字输入,解析任务可跨页面 恢复,四段结果可手动修改后确认保存;详情页改为四段只读展示, 移除原两段文本弹窗。
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"pages/escort/recordlist",
|
||||
"pages/escort/agreement",
|
||||
"pages/escort/recorddetail",
|
||||
"pages/escort/inquiryedit",
|
||||
"pages/escort/guide",
|
||||
"pages/health/profilelist",
|
||||
"pages/health/profileedit",
|
||||
|
||||
@@ -0,0 +1,512 @@
|
||||
const API = require('../../utils/api.js')
|
||||
|
||||
const MAX_MATERIALS = 6
|
||||
const MAX_SINGLE_BYTES = 6 * 1024 * 1024
|
||||
// wx.request 请求体约 10MB 上限,base64 会膨胀 4/3:
|
||||
// 与 ai 聊天页同口径,材料原始字节收到 7MB(编码后约 9.3MB)
|
||||
const MAX_TOTAL_BYTES = 7 * 1024 * 1024
|
||||
const JOB_STORAGE_PREFIX = 'inquiry_parse_job_'
|
||||
|
||||
const EMPTY_FIELDS = {
|
||||
basicHealth: '',
|
||||
treatmentHistory: '',
|
||||
medications: '',
|
||||
demand: ''
|
||||
}
|
||||
|
||||
const JOB_TEXT = {
|
||||
queued: '已提交,等待解析',
|
||||
processing: '正在识别和整理',
|
||||
waiting_confirmation: '解析完成,请核对四段摘要',
|
||||
failed: '解析未完成',
|
||||
confirmed: '已保存',
|
||||
cancelled: '任务已取消'
|
||||
}
|
||||
|
||||
Page({
|
||||
data: {
|
||||
recordId: '',
|
||||
loading: true,
|
||||
loadError: '',
|
||||
saving: false,
|
||||
creating: false,
|
||||
fields: { ...EMPTY_FIELDS },
|
||||
sourceText: '',
|
||||
focusSourceText: false,
|
||||
materials: [],
|
||||
recording: false,
|
||||
jobId: '',
|
||||
jobStatus: '',
|
||||
jobStatusText: '',
|
||||
jobError: '',
|
||||
jobProcessing: false,
|
||||
uncertainties: []
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
if (!options.id) {
|
||||
wx.showToast({ title: '缺少订单参数', icon: 'none' })
|
||||
setTimeout(() => wx.navigateBack(), 800)
|
||||
return
|
||||
}
|
||||
this.setData({ recordId: options.id })
|
||||
this.initRecorder()
|
||||
},
|
||||
|
||||
onShow() {
|
||||
this._visible = true
|
||||
if (!this.data.recordId) return
|
||||
this.loadRecord()
|
||||
if (this.data.jobId && this.data.jobProcessing) this.startPolling()
|
||||
else this.resumeJob()
|
||||
},
|
||||
|
||||
onHide() {
|
||||
this._visible = false
|
||||
this.stopPolling()
|
||||
if (this.data.recording && this.recorderManager) {
|
||||
// 切后台/来电打断的录音不保留,避免用户回到页面看到半截材料。
|
||||
this._discardRecording = true
|
||||
this.recorderManager.stop()
|
||||
}
|
||||
},
|
||||
|
||||
onUnload() {
|
||||
this._visible = false
|
||||
this._unloaded = true
|
||||
this._payloads = {}
|
||||
this.stopPolling()
|
||||
if (this.recorderManager) {
|
||||
if (this._onRecorderStop) this.recorderManager.offStop(this._onRecorderStop)
|
||||
if (this._onRecorderError) this.recorderManager.offError(this._onRecorderError)
|
||||
if (this.data.recording) this.recorderManager.stop()
|
||||
}
|
||||
},
|
||||
|
||||
storageKey() {
|
||||
return `${JOB_STORAGE_PREFIX}${this.data.recordId}`
|
||||
},
|
||||
|
||||
async loadRecord(force = false) {
|
||||
try {
|
||||
await getApp().waitForAuth()
|
||||
const res = await API.escort.getRecordById(this.data.recordId)
|
||||
if (res.code !== 0 || !res.data?.record) throw new Error(res.msg || '订单加载失败')
|
||||
const inquiry = res.data.record.inquiry || {}
|
||||
const hasStructured = inquiry.basicHealth || inquiry.treatmentHistory || inquiry.medications
|
||||
const fields = {
|
||||
basicHealth: inquiry.basicHealth || '',
|
||||
treatmentHistory: hasStructured ? (inquiry.treatmentHistory || '') : (inquiry.medicalHistory || ''),
|
||||
medications: inquiry.medications || '',
|
||||
demand: inquiry.demand || ''
|
||||
}
|
||||
this.setData({ loadError: '' })
|
||||
// 解析草稿优先:订单请求与任务查询并行返回时,不能用订单旧值覆盖草稿。
|
||||
if ((force || !this._loaded) && !this.data.jobStatus) {
|
||||
this.setData({ fields })
|
||||
this._loaded = true
|
||||
}
|
||||
} catch (err) {
|
||||
this.setData({ loadError: err.message || '订单加载失败' })
|
||||
wx.showToast({ title: err.message || '订单加载失败', icon: 'none' })
|
||||
} finally {
|
||||
this.setData({ loading: false })
|
||||
}
|
||||
},
|
||||
|
||||
onRetryLoad() {
|
||||
this.setData({ loading: true, loadError: '' })
|
||||
this.loadRecord(true)
|
||||
},
|
||||
|
||||
async resumeJob() {
|
||||
const jobId = wx.getStorageSync(this.storageKey())
|
||||
if (!jobId || this.data.jobStatus) return
|
||||
try {
|
||||
await getApp().waitForAuth()
|
||||
} catch (err) {
|
||||
return
|
||||
}
|
||||
if (this._unloaded) return
|
||||
this.setData({ jobId })
|
||||
this.fetchJob(jobId)
|
||||
},
|
||||
|
||||
async fetchJob(jobId) {
|
||||
if (this._fetchingJob) return
|
||||
this._fetchingJob = true
|
||||
try {
|
||||
const res = await API.escort.getInquiryParseJob(this.data.recordId, jobId)
|
||||
if (res.code !== 0 || !res.data?.job) {
|
||||
if (res.code === 404) this.clearStoredJob()
|
||||
else wx.showToast({ title: res.msg || '任务状态获取失败', icon: 'none' })
|
||||
this.stopPolling()
|
||||
return
|
||||
}
|
||||
this.applyJob(res.data.job)
|
||||
if (['queued', 'processing'].includes(res.data.job.status)) this.startPolling()
|
||||
} catch (err) {
|
||||
this.stopPolling()
|
||||
wx.showToast({ title: '任务状态获取失败,请重新进入页面', icon: 'none' })
|
||||
} finally {
|
||||
this._fetchingJob = false
|
||||
}
|
||||
},
|
||||
|
||||
applyJob(job) {
|
||||
const previousStatus = this.data.jobStatus
|
||||
const processing = ['queued', 'processing'].includes(job.status)
|
||||
this.setData({
|
||||
jobId: job.id,
|
||||
jobStatus: job.status,
|
||||
jobStatusText: JOB_TEXT[job.status] || '解析任务',
|
||||
jobError: job.errorMessage || '',
|
||||
jobProcessing: processing,
|
||||
uncertainties: job.uncertainties || []
|
||||
})
|
||||
if (job.status === 'waiting_confirmation' && previousStatus !== 'waiting_confirmation') {
|
||||
this.setData({
|
||||
fields: { ...EMPTY_FIELDS, ...(job.draft || {}) }
|
||||
})
|
||||
this.clearMaterials()
|
||||
this.stopPolling()
|
||||
} else if (['failed', 'cancelled', 'confirmed'].includes(job.status)) {
|
||||
this.stopPolling()
|
||||
}
|
||||
},
|
||||
|
||||
startPolling() {
|
||||
if (this.pollTimer || !this._visible) return
|
||||
this.pollTimer = setInterval(() => {
|
||||
if (this.data.jobId) this.fetchJob(this.data.jobId)
|
||||
}, 2000)
|
||||
},
|
||||
|
||||
stopPolling() {
|
||||
if (this.pollTimer) clearInterval(this.pollTimer)
|
||||
this.pollTimer = null
|
||||
},
|
||||
|
||||
clearStoredJob() {
|
||||
wx.removeStorageSync(this.storageKey())
|
||||
this.stopPolling()
|
||||
this.setData({
|
||||
jobId: '',
|
||||
jobStatus: '',
|
||||
jobStatusText: '',
|
||||
jobError: '',
|
||||
jobProcessing: false,
|
||||
uncertainties: []
|
||||
})
|
||||
},
|
||||
|
||||
onFieldInput(e) {
|
||||
this.setData({ [`fields.${e.currentTarget.dataset.field}`]: e.detail.value })
|
||||
},
|
||||
|
||||
onSourceTextInput(e) {
|
||||
this.setData({ sourceText: e.detail.value })
|
||||
},
|
||||
|
||||
onFocusText() {
|
||||
this.setData({ focusSourceText: false })
|
||||
setTimeout(() => this.setData({ focusSourceText: true }), 0)
|
||||
},
|
||||
|
||||
onChoosePdf() {
|
||||
if (!this.canAddMaterials()) return
|
||||
wx.chooseMessageFile({
|
||||
count: 1,
|
||||
type: 'file',
|
||||
extension: ['pdf'],
|
||||
success: async (res) => {
|
||||
const file = res.tempFiles?.[0]
|
||||
if (!file) return
|
||||
try {
|
||||
if (!/\.pdf$/i.test(file.name || file.path || '')) throw new Error('请选择 PDF 文件')
|
||||
if (file.size > MAX_SINGLE_BYTES) throw new Error('PDF 不能超过 6MB')
|
||||
const data = await this.readFileBase64(file.path)
|
||||
this.addMaterial({
|
||||
type: 'pdf',
|
||||
typeText: 'PDF 报告',
|
||||
name: file.name || 'PDF 报告',
|
||||
mime: 'application/pdf',
|
||||
data
|
||||
})
|
||||
} catch (err) {
|
||||
wx.showToast({ title: err.message || 'PDF 读取失败', icon: 'none' })
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
onChooseImages() {
|
||||
const count = this.canAddMaterials()
|
||||
if (!count) return
|
||||
wx.chooseMedia({
|
||||
count,
|
||||
mediaType: ['image'],
|
||||
sourceType: ['album', 'camera'],
|
||||
sizeType: ['compressed'],
|
||||
camera: 'back',
|
||||
success: async (res) => {
|
||||
const baseCount = this.data.materials.length
|
||||
for (const [index, file] of (res.tempFiles || []).entries()) {
|
||||
try {
|
||||
if (file.size > MAX_SINGLE_BYTES) throw new Error('单张图片不能超过 6MB')
|
||||
const data = await this.readFileBase64(file.tempFilePath)
|
||||
const added = this.addMaterial({
|
||||
type: 'image',
|
||||
typeText: '图片',
|
||||
name: `病历图片 ${baseCount + index + 1}`,
|
||||
mime: this.resolveImageMime(file.tempFilePath),
|
||||
tempFilePath: file.tempFilePath,
|
||||
width: file.width || 0,
|
||||
height: file.height || 0,
|
||||
kind: 'auto',
|
||||
data
|
||||
})
|
||||
if (!added) break
|
||||
} catch (err) {
|
||||
wx.showToast({ title: err.message || '图片读取失败', icon: 'none' })
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
canAddMaterials() {
|
||||
const remaining = MAX_MATERIALS - this.data.materials.length
|
||||
if (remaining <= 0) {
|
||||
wx.showToast({ title: '每次最多添加 6 份材料', icon: 'none' })
|
||||
return 0
|
||||
}
|
||||
if (this.totalMaterialBytes() >= MAX_TOTAL_BYTES) {
|
||||
wx.showToast({ title: '材料总大小不能超过 7MB', icon: 'none' })
|
||||
return 0
|
||||
}
|
||||
return remaining
|
||||
},
|
||||
|
||||
addMaterial(material) {
|
||||
const bytes = this.estimateBytes(material.data)
|
||||
if (!bytes) {
|
||||
wx.showToast({ title: '文件内容为空', icon: 'none' })
|
||||
return false
|
||||
}
|
||||
if (bytes > MAX_SINGLE_BYTES) {
|
||||
wx.showToast({ title: '单个文件不能超过 6MB', icon: 'none' })
|
||||
return false
|
||||
}
|
||||
if (this.totalMaterialBytes() + bytes > MAX_TOTAL_BYTES) {
|
||||
wx.showToast({ title: '材料总大小不能超过 7MB,请分批整理', icon: 'none' })
|
||||
return false
|
||||
}
|
||||
const item = {
|
||||
...material,
|
||||
id: `${Date.now()}_${Math.random().toString(36).slice(2, 8)}`,
|
||||
bytes,
|
||||
sizeText: this.formatSize(bytes)
|
||||
}
|
||||
// base64 不能进 data:setData 走视图层序列化,多张图会超过 ~1MB 上限。
|
||||
// 二进制只挂在页面实例上,data 里仅保留展示字段。
|
||||
this._payloads = this._payloads || {}
|
||||
this._payloads[item.id] = item.data
|
||||
delete item.data
|
||||
this.setData({ materials: [...this.data.materials, item] })
|
||||
return true
|
||||
},
|
||||
|
||||
onRemoveMaterial(e) {
|
||||
const index = Number(e.currentTarget.dataset.index)
|
||||
const removed = this.data.materials[index]
|
||||
if (removed && this._payloads) delete this._payloads[removed.id]
|
||||
const materials = this.data.materials.filter((_, i) => i !== index)
|
||||
this.setData({ materials })
|
||||
},
|
||||
|
||||
clearMaterials() {
|
||||
this._payloads = {}
|
||||
this.setData({ materials: [], sourceText: '' })
|
||||
},
|
||||
|
||||
totalMaterialBytes() {
|
||||
return this.data.materials.reduce((sum, item) => sum + (item.bytes || 0), 0)
|
||||
},
|
||||
|
||||
initRecorder() {
|
||||
if (!wx.getRecorderManager) return
|
||||
this.recorderManager = wx.getRecorderManager()
|
||||
this._onRecorderStop = (res) => this.handleRecorderStop(res)
|
||||
this._onRecorderError = () => {
|
||||
if (this._unloaded) return
|
||||
this.setData({ recording: false })
|
||||
wx.showToast({ title: '录音失败,请检查麦克风权限', icon: 'none' })
|
||||
}
|
||||
this.recorderManager.onStop(this._onRecorderStop)
|
||||
this.recorderManager.onError(this._onRecorderError)
|
||||
},
|
||||
|
||||
onToggleVoice() {
|
||||
if (!this.recorderManager) {
|
||||
wx.showToast({ title: '当前微信版本不支持录音', icon: 'none' })
|
||||
return
|
||||
}
|
||||
if (this.data.recording) {
|
||||
this.recorderManager.stop()
|
||||
return
|
||||
}
|
||||
if (!this.canAddMaterials()) return
|
||||
this.recorderManager.start({
|
||||
duration: 60000,
|
||||
format: 'mp3',
|
||||
sampleRate: 16000,
|
||||
numberOfChannels: 1,
|
||||
encodeBitRate: 48000
|
||||
})
|
||||
this.setData({ recording: true })
|
||||
},
|
||||
|
||||
async handleRecorderStop(res) {
|
||||
const discard = this._discardRecording
|
||||
this._discardRecording = false
|
||||
if (this._unloaded) return
|
||||
this.setData({ recording: false })
|
||||
if (discard) return
|
||||
if (!res.tempFilePath || Number(res.duration || 0) < 500) {
|
||||
wx.showToast({ title: '录音时间太短,请重新录制', icon: 'none' })
|
||||
return
|
||||
}
|
||||
try {
|
||||
const data = await this.readFileBase64(res.tempFilePath)
|
||||
this.addMaterial({
|
||||
type: 'audio',
|
||||
typeText: '语音',
|
||||
name: `语音 ${Math.max(1, Math.round((res.duration || 0) / 1000))} 秒`,
|
||||
mime: 'audio/mpeg',
|
||||
format: 'mp3',
|
||||
sampleRate: 16000,
|
||||
channels: 1,
|
||||
data
|
||||
})
|
||||
} catch (err) {
|
||||
wx.showToast({ title: err.message || '录音读取失败', icon: 'none' })
|
||||
}
|
||||
},
|
||||
|
||||
async onStartParse() {
|
||||
if (this.data.creating || this.data.recording || this.data.jobProcessing || this.data.loadError) return
|
||||
if (['waiting_confirmation'].includes(this.data.jobStatus)) {
|
||||
wx.showToast({ title: '请先保存或取消当前草稿', icon: 'none' })
|
||||
return
|
||||
}
|
||||
const text = this.data.sourceText.trim()
|
||||
if (!text && !this.data.materials.length) {
|
||||
wx.showToast({ title: '请先添加材料或输入文字', icon: 'none' })
|
||||
return
|
||||
}
|
||||
const payloads = this._payloads || {}
|
||||
const materials = []
|
||||
for (const item of this.data.materials) {
|
||||
const data = payloads[item.id]
|
||||
// 实例上的原始内容可能因页面重进而丢失:此时提示重新添加,不发空材料。
|
||||
if (!data) {
|
||||
wx.showToast({ title: `${item.name} 需重新添加`, icon: 'none' })
|
||||
return
|
||||
}
|
||||
const payload = { type: item.type, name: item.name, mime: item.mime, data }
|
||||
if (item.type === 'image') Object.assign(payload, { width: item.width, height: item.height, kind: 'auto' })
|
||||
if (item.type === 'audio') Object.assign(payload, { format: 'mp3', sampleRate: 16000, channels: 1 })
|
||||
materials.push(payload)
|
||||
}
|
||||
this.setData({ creating: true, jobError: '' })
|
||||
try {
|
||||
const res = await API.escort.createInquiryParseJob(this.data.recordId, { text, materials })
|
||||
if (res.code !== 0 || !res.data?.job) throw new Error(res.msg || '解析任务创建失败')
|
||||
wx.setStorageSync(this.storageKey(), res.data.job.id)
|
||||
this.applyJob(res.data.job)
|
||||
this.startPolling()
|
||||
} catch (err) {
|
||||
this.setData({ jobError: err.message || '解析任务创建失败' })
|
||||
wx.showToast({ title: err.message || '解析任务创建失败', icon: 'none' })
|
||||
} finally {
|
||||
this.setData({ creating: false })
|
||||
}
|
||||
},
|
||||
|
||||
async onCancelJob() {
|
||||
if (!this.data.jobId) return
|
||||
try {
|
||||
const res = await API.escort.cancelInquiryParseJob(this.data.recordId, this.data.jobId)
|
||||
if (res.code !== 0) throw new Error(res.msg || '取消失败')
|
||||
this.clearStoredJob()
|
||||
await this.loadRecord(true)
|
||||
wx.showToast({ title: '已取消解析', icon: 'none' })
|
||||
} catch (err) {
|
||||
wx.showToast({ title: err.message || '取消失败', icon: 'none' })
|
||||
}
|
||||
},
|
||||
|
||||
async onSave() {
|
||||
if (this.data.saving || this.data.jobProcessing || this.data.loadError) return
|
||||
const fields = Object.fromEntries(
|
||||
Object.keys(EMPTY_FIELDS).map((key) => [key, String(this.data.fields[key] || '').trim()])
|
||||
)
|
||||
this.setData({ saving: true })
|
||||
try {
|
||||
const waiting = this.data.jobStatus === 'waiting_confirmation' && this.data.jobId
|
||||
const res = waiting
|
||||
? await API.escort.confirmInquiryParseJob(this.data.recordId, this.data.jobId, fields)
|
||||
: await API.escort.updateRecord(this.data.recordId, {
|
||||
'inquiry.basicHealth': fields.basicHealth,
|
||||
'inquiry.treatmentHistory': fields.treatmentHistory,
|
||||
'inquiry.medications': fields.medications,
|
||||
'inquiry.demand': fields.demand
|
||||
})
|
||||
if (res.code !== 0) throw new Error(res.msg || '保存失败')
|
||||
this.clearStoredJob()
|
||||
wx.showToast({ title: '保存成功', icon: 'success' })
|
||||
setTimeout(() => wx.navigateBack(), 600)
|
||||
} catch (err) {
|
||||
wx.showToast({ title: err.message || '保存失败', icon: 'none' })
|
||||
} finally {
|
||||
this.setData({ saving: false })
|
||||
}
|
||||
},
|
||||
|
||||
onBack() {
|
||||
if (this.data.recording && this.recorderManager) {
|
||||
this._discardRecording = true
|
||||
this.recorderManager.stop()
|
||||
}
|
||||
wx.navigateBack()
|
||||
},
|
||||
|
||||
readFileBase64(filePath) {
|
||||
return new Promise((resolve, reject) => {
|
||||
wx.getFileSystemManager().readFile({
|
||||
filePath,
|
||||
encoding: 'base64',
|
||||
success: (res) => resolve(res.data),
|
||||
fail: () => reject(new Error('文件读取失败,请重试'))
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
estimateBytes(base64) {
|
||||
return Math.round(String(base64 || '').length * 3 / 4)
|
||||
},
|
||||
|
||||
resolveImageMime(filePath) {
|
||||
const ext = String(filePath || '').split('.').pop().toLowerCase()
|
||||
if (ext === 'png') return 'image/png'
|
||||
if (ext === 'webp') return 'image/webp'
|
||||
return 'image/jpeg'
|
||||
},
|
||||
|
||||
formatSize(bytes) {
|
||||
if (bytes >= 1024 * 1024) return `${(bytes / 1024 / 1024).toFixed(1)}MB`
|
||||
return `${Math.max(1, Math.round(bytes / 1024))}KB`
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "病历与诉求",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarBackgroundColor": "#FAF8F5",
|
||||
"usingComponents": {
|
||||
"t-icon": "tdesign-miniprogram/icon/icon",
|
||||
"t-loading": "tdesign-miniprogram/loading/loading"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
<view class="page-bg">
|
||||
<view class="container" wx:if="{{!loading && !loadError}}">
|
||||
<view class="intro">
|
||||
<text class="intro-title">整理本次就诊资料</text>
|
||||
<text class="intro-text">可上传报告、拍照、录音或直接填写。AI 只生成草稿,核对后才会保存到当前订单。</text>
|
||||
</view>
|
||||
|
||||
<view class="card source-card" wx:if="{{jobStatus !== 'waiting_confirmation'}}">
|
||||
<view class="section-head">
|
||||
<text class="section-title">添加材料</text>
|
||||
<text class="section-caption">{{materials.length}}/6</text>
|
||||
</view>
|
||||
<view class="source-grid">
|
||||
<view class="source-action" bindtap="onChoosePdf" aria-role="button" aria-label="上传 PDF">
|
||||
<view class="source-icon"><t-icon name="file-1" size="40rpx" color="#9B4508" /></view>
|
||||
<text class="source-label">PDF 报告</text>
|
||||
</view>
|
||||
<view class="source-action" bindtap="onChooseImages" aria-role="button" aria-label="上传图片">
|
||||
<view class="source-icon"><t-icon name="image" size="40rpx" color="#9B4508" /></view>
|
||||
<text class="source-label">图片</text>
|
||||
</view>
|
||||
<view class="source-action {{recording ? 'recording' : ''}}" bindtap="onToggleVoice" aria-role="button" aria-label="语音输入">
|
||||
<view class="source-icon"><t-icon name="microphone" size="40rpx" color="#9B4508" /></view>
|
||||
<text class="source-label">{{recording ? '停止录音' : '语音输入'}}</text>
|
||||
</view>
|
||||
<view class="source-action" bindtap="onFocusText" aria-role="button" aria-label="文字输入">
|
||||
<view class="source-icon"><t-icon name="edit" size="40rpx" color="#9B4508" /></view>
|
||||
<text class="source-label">文字输入</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="recording-tip" wx:if="{{recording}}">
|
||||
<view class="recording-dot"></view>
|
||||
<text>正在录音,最长 60 秒,说完请点击停止</text>
|
||||
</view>
|
||||
|
||||
<view class="material-list" wx:if="{{materials.length}}">
|
||||
<view class="material-item" wx:for="{{materials}}" wx:key="id">
|
||||
<image class="material-thumb" wx:if="{{item.type === 'image'}}" src="{{item.tempFilePath}}" mode="aspectFill" />
|
||||
<view class="material-file-icon" wx:else>
|
||||
<t-icon name="{{item.type === 'pdf' ? 'file-1' : 'microphone'}}" size="36rpx" color="#6F655C" />
|
||||
</view>
|
||||
<view class="material-info">
|
||||
<text class="material-name">{{item.name}}</text>
|
||||
<text class="material-meta">{{item.typeText}} · {{item.sizeText}}</text>
|
||||
</view>
|
||||
<view class="material-remove" data-index="{{index}}" bindtap="onRemoveMaterial" aria-role="button" aria-label="移除材料">
|
||||
<t-icon name="close" size="34rpx" color="#6F655C" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<textarea
|
||||
id="sourceText"
|
||||
class="source-textarea"
|
||||
value="{{sourceText}}"
|
||||
placeholder="补充说明身体情况、病历、用药或想咨询的问题(也可只在这里输入文字)"
|
||||
maxlength="10000"
|
||||
focus="{{focusSourceText}}"
|
||||
placeholder-class="input-placeholder"
|
||||
bindinput="onSourceTextInput"
|
||||
/>
|
||||
<view class="parse-row">
|
||||
<text class="privacy-text">原件仅用于本次解析,服务端处理后删除</text>
|
||||
<view class="parse-btn {{creating || recording || (!sourceText && !materials.length) ? 'disabled' : ''}}" bindtap="onStartParse">
|
||||
{{creating ? '提交中...' : '智能整理'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="job-card {{jobStatus === 'failed' ? 'job-failed' : ''}}" wx:if="{{jobStatus}}">
|
||||
<view class="job-main">
|
||||
<t-loading wx:if="{{jobStatus === 'queued' || jobStatus === 'processing'}}" theme="circular" size="32rpx" />
|
||||
<t-icon wx:else name="{{jobStatus === 'failed' ? 'error-circle' : 'task-checked'}}" size="36rpx" color="#9B4508" />
|
||||
<view class="job-copy">
|
||||
<text class="job-title">{{jobStatusText}}</text>
|
||||
<text class="job-error" wx:if="{{jobError}}">{{jobError}}</text>
|
||||
<text class="job-tip" wx:elif="{{jobStatus === 'queued' || jobStatus === 'processing'}}">可离开页面,稍后回来继续核对</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="job-cancel" wx:if="{{jobStatus !== 'confirmed'}}" bindtap="onCancelJob">{{jobStatus === 'waiting_confirmation' ? '放弃草稿' : '取消任务'}}</view>
|
||||
</view>
|
||||
|
||||
<view class="warning-card" wx:if="{{uncertainties.length}}">
|
||||
<text class="warning-title">以下内容请重点核对</text>
|
||||
<view class="warning-item" wx:for="{{uncertainties}}" wx:key="index">· {{item}}</view>
|
||||
</view>
|
||||
|
||||
<view class="card fields-card">
|
||||
<view class="section-head">
|
||||
<text class="section-title">四段摘要</text>
|
||||
<text class="section-caption">均可手动修改</text>
|
||||
</view>
|
||||
|
||||
<view class="field-block">
|
||||
<text class="field-label">基础健康与基础疾病</text>
|
||||
<textarea class="field-textarea" value="{{fields.basicHealth}}" data-field="basicHealth" bindinput="onFieldInput" maxlength="2000" placeholder="如基础疾病、过敏、手术史、行动或照护注意事项" placeholder-class="input-placeholder" />
|
||||
</view>
|
||||
<view class="field-block">
|
||||
<text class="field-label">检查与治疗病历</text>
|
||||
<textarea class="field-textarea" value="{{fields.treatmentHistory}}" data-field="treatmentHistory" bindinput="onFieldInput" maxlength="2000" placeholder="如检查检验结果、诊断、住院及治疗经过" placeholder-class="input-placeholder" />
|
||||
</view>
|
||||
<view class="field-block">
|
||||
<text class="field-label">用药情况</text>
|
||||
<textarea class="field-textarea" value="{{fields.medications}}" data-field="medications" bindinput="onFieldInput" maxlength="2000" placeholder="如药品名称、剂量、频次;未提及可留空" placeholder-class="input-placeholder" />
|
||||
</view>
|
||||
<view class="field-block">
|
||||
<text class="field-label">问诊诉求</text>
|
||||
<textarea class="field-textarea" value="{{fields.demand}}" data-field="demand" bindinput="onFieldInput" maxlength="2000" placeholder="本次陪诊或问诊最希望解决的问题" placeholder-class="input-placeholder" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-placeholder"></view>
|
||||
</view>
|
||||
|
||||
<view class="page-state" wx:if="{{loading}}">
|
||||
<t-loading theme="circular" size="40rpx" text="加载中..." />
|
||||
</view>
|
||||
|
||||
<view class="page-state" wx:if="{{!loading && loadError}}">
|
||||
<text class="error-text">{{loadError}}</text>
|
||||
<view class="retry-btn" bindtap="onRetryLoad">重新加载</view>
|
||||
</view>
|
||||
|
||||
<view class="bottom-bar" wx:if="{{!loading && !loadError}}">
|
||||
<view class="bottom-btn btn-ghost" bindtap="onBack">返回</view>
|
||||
<view class="bottom-btn btn-primary {{saving || jobProcessing ? 'disabled' : ''}}" bindtap="onSave">
|
||||
{{saving ? '保存中...' : '核对无误,保存'}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,57 @@
|
||||
page { background: var(--paper); }
|
||||
.page-bg { min-height: 100vh; background: var(--paper); font-family: inherit; }
|
||||
.page-bg textarea { font-family: inherit; }
|
||||
.container { padding: 28rpx 32rpx 48rpx; }
|
||||
.intro { display: flex; flex-direction: column; gap: 12rpx; margin-bottom: 28rpx; }
|
||||
.intro-title { color: var(--ink); font-size: 36rpx; font-weight: 600; line-height: 1.4; }
|
||||
.intro-text { color: var(--muted); font-size: var(--fs-28); line-height: 1.65; }
|
||||
.card { box-sizing: border-box; padding: 28rpx; border: 2rpx solid var(--line); border-radius: 20rpx; background: var(--white); }
|
||||
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24rpx; }
|
||||
.section-title { color: var(--ink); font-size: var(--fs-32); font-weight: 600; }
|
||||
.section-caption { color: var(--muted); font-size: var(--fs-24); }
|
||||
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12rpx; }
|
||||
.source-action { display: flex; flex-direction: column; align-items: center; gap: 12rpx; padding: 16rpx 4rpx; border-radius: 12rpx; }
|
||||
.source-action:active { background: var(--brand-soft); }
|
||||
.source-action.recording { background: var(--brand-soft); }
|
||||
.source-icon { display: flex; align-items: center; justify-content: center; width: 72rpx; height: 72rpx; border-radius: 50%; background: var(--brand-soft); }
|
||||
.source-label { color: var(--ink-2); font-size: var(--fs-26); white-space: nowrap; }
|
||||
.recording-tip { display: flex; align-items: center; gap: 12rpx; margin-top: 20rpx; color: var(--brand-ink); font-size: var(--fs-26); }
|
||||
.recording-dot { width: 14rpx; height: 14rpx; border-radius: 50%; background: var(--brand-strong); }
|
||||
.material-list { margin-top: 24rpx; border-top: 2rpx solid var(--line); }
|
||||
.material-item { display: flex; align-items: center; gap: 16rpx; min-height: 104rpx; border-bottom: 2rpx solid var(--line); }
|
||||
.material-item:last-child { border-bottom: none; }
|
||||
.material-thumb, .material-file-icon { flex: 0 0 auto; width: 72rpx; height: 72rpx; border-radius: 10rpx; background: var(--paper); }
|
||||
.material-file-icon { display: flex; align-items: center; justify-content: center; }
|
||||
.material-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6rpx; }
|
||||
.material-name { overflow: hidden; color: var(--ink-2); font-size: var(--fs-28); text-overflow: ellipsis; white-space: nowrap; }
|
||||
.material-meta { color: var(--muted); font-size: var(--fs-24); }
|
||||
.material-remove { display: flex; align-items: center; justify-content: center; width: 72rpx; height: 72rpx; margin-right: -16rpx; }
|
||||
.source-textarea { box-sizing: border-box; width: 100%; height: 190rpx; margin-top: 24rpx; padding: 20rpx; border: 2rpx solid var(--line); border-radius: 12rpx; background: var(--paper); color: var(--ink); font-size: var(--fs-28); line-height: 1.6; }
|
||||
.input-placeholder { color: var(--muted); }
|
||||
.parse-row { display: flex; align-items: center; gap: 20rpx; margin-top: 24rpx; }
|
||||
.privacy-text { flex: 1; color: var(--muted); font-size: var(--fs-24); line-height: 1.5; }
|
||||
.parse-btn { flex: 0 0 auto; padding: 16rpx 28rpx; border-radius: 999rpx; background: var(--brand-strong); color: var(--white); font-size: var(--fs-28); font-weight: 600; }
|
||||
.disabled { opacity: 0.45; pointer-events: none; }
|
||||
.job-card { display: flex; align-items: center; gap: 16rpx; margin-top: 24rpx; padding: 24rpx 28rpx; border: 2rpx solid var(--brand-line); border-radius: 16rpx; background: var(--brand-soft); }
|
||||
.job-failed { border-color: var(--status-cancel-line); background: var(--status-cancel-bg); }
|
||||
.job-main { flex: 1; display: flex; align-items: flex-start; gap: 16rpx; }
|
||||
.job-copy { display: flex; flex-direction: column; gap: 6rpx; }
|
||||
.job-title { color: var(--ink-2); font-size: var(--fs-28); font-weight: 600; line-height: 1.5; }
|
||||
.job-tip, .job-error { color: var(--muted); font-size: var(--fs-24); line-height: 1.5; }
|
||||
.job-cancel { flex: 0 0 auto; padding: 16rpx 0 16rpx 16rpx; color: var(--brand-ink); font-size: var(--fs-26); }
|
||||
.warning-card { margin-top: 24rpx; padding: 24rpx 28rpx; border: 2rpx solid var(--status-cancel-line); border-radius: 16rpx; background: var(--status-cancel-bg); }
|
||||
.warning-title { display: block; margin-bottom: 12rpx; color: var(--status-cancel-ink); font-size: var(--fs-28); font-weight: 600; }
|
||||
.warning-item { color: var(--ink-2); font-size: var(--fs-26); line-height: 1.6; }
|
||||
.fields-card { margin-top: 24rpx; }
|
||||
.field-block { padding: 24rpx 0; border-top: 2rpx solid var(--line); }
|
||||
.field-block:first-of-type { padding-top: 0; border-top: none; }
|
||||
.field-label { display: block; margin-bottom: 16rpx; color: var(--ink-2); font-size: var(--fs-28); font-weight: 600; }
|
||||
.field-textarea { box-sizing: border-box; width: 100%; height: 180rpx; padding: 20rpx; border: 2rpx solid var(--line); border-radius: 12rpx; background: var(--paper); color: var(--ink); font-size: var(--fs-28); line-height: 1.6; }
|
||||
.bottom-placeholder { height: 160rpx; }
|
||||
.bottom-bar { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: flex; gap: 20rpx; padding: 20rpx 32rpx calc(20rpx + env(safe-area-inset-bottom)); border-top: 2rpx solid var(--line); background: var(--white); }
|
||||
.bottom-btn { flex: 1; padding: 22rpx 0; border-radius: 999rpx; text-align: center; font-size: var(--fs-30); font-weight: 600; }
|
||||
.btn-ghost { flex: 0 0 180rpx; border: 2rpx solid var(--line); color: var(--ink-2); }
|
||||
.btn-primary { background: var(--brand-strong); color: var(--white); }
|
||||
.page-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24rpx; min-height: 70vh; padding: 32rpx; }
|
||||
.error-text { color: var(--muted); font-size: var(--fs-28); text-align: center; }
|
||||
.retry-btn { padding: 16rpx 36rpx; border: 2rpx solid var(--brand-strong); border-radius: 999rpx; color: var(--brand-strong); font-size: var(--fs-28); }
|
||||
@@ -36,10 +36,6 @@ Page({
|
||||
service: null,
|
||||
loading: false,
|
||||
loadError: '',
|
||||
// 编辑全部收进底部弹窗:页面只读,表单只活在弹窗里,两个弹窗各自一个开关
|
||||
showNotePopup: false,
|
||||
editMedicalHistory: '',
|
||||
editDemand: '',
|
||||
// 医院预约规则与下单页一致,均由订单关联的服务目录下发
|
||||
showHospitalPopup: false,
|
||||
provinces: [],
|
||||
@@ -264,6 +260,13 @@ Page({
|
||||
|
||||
// 预约时间派生:日期行(带星期)与开始时间同一行
|
||||
const scheduleMeta = this.buildScheduleMeta(item.schedule || {})
|
||||
const basicHealth = item.inquiry?.basicHealth || ''
|
||||
const medications = item.inquiry?.medications || ''
|
||||
const hasStructuredInquiry = Boolean(basicHealth || item.inquiry?.treatmentHistory || medications)
|
||||
const treatmentHistory = hasStructuredInquiry
|
||||
? (item.inquiry?.treatmentHistory || '')
|
||||
: (item.inquiry?.medicalHistory || '')
|
||||
const demand = item.inquiry?.demand || ''
|
||||
|
||||
return {
|
||||
_id: item._id,
|
||||
@@ -313,8 +316,11 @@ Page({
|
||||
canPay,
|
||||
canSwitchPayChannel,
|
||||
patientNote: item.notes?.patientNote || '',
|
||||
medicalHistory: item.inquiry?.medicalHistory || '',
|
||||
demand: item.inquiry?.demand || '',
|
||||
basicHealth,
|
||||
treatmentHistory,
|
||||
medications,
|
||||
demand,
|
||||
hasInquiryContent: Boolean(basicHealth || treatmentHistory || medications || demand),
|
||||
escortNote: item.notes?.escortNote || '',
|
||||
medicalSummary: item.notes?.medicalSummary || '',
|
||||
status: displayStatus,
|
||||
@@ -485,53 +491,9 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
// ===== 病历与诉求编辑(底部弹窗) =====
|
||||
|
||||
// 多材料采集、异步解析和四段草稿确认统一在独立编辑页完成。
|
||||
onEditInquiry() {
|
||||
this.setData({
|
||||
showNotePopup: true,
|
||||
editMedicalHistory: this.data.record.medicalHistory || '',
|
||||
editDemand: this.data.record.demand || ''
|
||||
})
|
||||
},
|
||||
|
||||
onMedicalHistoryInput(e) {
|
||||
this.setData({ editMedicalHistory: e.detail.value })
|
||||
},
|
||||
|
||||
onDemandInput(e) {
|
||||
this.setData({ editDemand: e.detail.value })
|
||||
},
|
||||
|
||||
onCancelEdit() {
|
||||
this.setData({ showNotePopup: false })
|
||||
},
|
||||
|
||||
onSaveInquiry() {
|
||||
const medicalHistory = this.data.editMedicalHistory.trim()
|
||||
const demand = this.data.editDemand.trim()
|
||||
wx.showLoading({ title: '保存中...' })
|
||||
API.escort.updateRecord(this.data.recordId, {
|
||||
'inquiry.medicalHistory': medicalHistory,
|
||||
'inquiry.demand': demand
|
||||
})
|
||||
.then((res) => {
|
||||
wx.hideLoading()
|
||||
if (res.code === 0) {
|
||||
wx.showToast({ title: '保存成功', icon: 'success' })
|
||||
this.setData({
|
||||
showNotePopup: false,
|
||||
'record.medicalHistory': medicalHistory,
|
||||
'record.demand': demand
|
||||
})
|
||||
} else {
|
||||
wx.showToast({ title: res.msg || '保存失败', icon: 'none' })
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
wx.hideLoading()
|
||||
wx.showToast({ title: '网络请求失败', icon: 'none' })
|
||||
})
|
||||
wx.navigateTo({ url: `/pages/escort/inquiryedit?id=${this.data.recordId}` })
|
||||
},
|
||||
|
||||
// ===== 医院预约信息编辑(底部弹窗) =====
|
||||
|
||||
@@ -204,23 +204,31 @@
|
||||
|
||||
<!-- 有内容才铺正文;可编辑但内容为空时只留一个添加入口,不让空卡占位。
|
||||
已完成订单的陪诊记录和就诊摘要直接展示,不收入展开区 -->
|
||||
<view class="section note-section" wx:if="{{record.medicalHistory || record.demand || record.escortNote || record.medicalSummary || record.canEditNote}}">
|
||||
<view class="section note-section" wx:if="{{record.hasInquiryContent || record.escortNote || record.medicalSummary || record.canEditNote}}">
|
||||
<view class="section-head">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">{{record.status === 'completed' && (record.escortNote || record.medicalSummary) ? '服务结果' : (record.escortNote || record.medicalSummary ? '病历与诉求记录' : '病历与诉求')}}</text>
|
||||
<view class="section-link" wx:if="{{record.canEditNote && (record.medicalHistory || record.demand || record.escortNote || record.medicalSummary)}}" bindtap="onEditInquiry">
|
||||
<view class="section-link" wx:if="{{record.canEditNote && (record.hasInquiryContent || record.escortNote || record.medicalSummary)}}" bindtap="onEditInquiry">
|
||||
<text class="section-link-text">修改</text>
|
||||
<t-icon name="edit" size="26rpx" color="#6F655C" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card note-card">
|
||||
<view class="note-block" wx:if="{{record.medicalHistory}}">
|
||||
<text class="note-label">病历</text>
|
||||
<text class="note-text">{{record.medicalHistory}}</text>
|
||||
<view class="note-block" wx:if="{{record.basicHealth}}">
|
||||
<text class="note-label">基础健康与基础疾病</text>
|
||||
<text class="note-text">{{record.basicHealth}}</text>
|
||||
</view>
|
||||
<view class="note-block" wx:if="{{record.treatmentHistory}}">
|
||||
<text class="note-label">检查与治疗病历</text>
|
||||
<text class="note-text">{{record.treatmentHistory}}</text>
|
||||
</view>
|
||||
<view class="note-block" wx:if="{{record.medications}}">
|
||||
<text class="note-label">用药情况</text>
|
||||
<text class="note-text">{{record.medications}}</text>
|
||||
</view>
|
||||
<view class="note-block" wx:if="{{record.demand}}">
|
||||
<text class="note-label">诉求</text>
|
||||
<text class="note-label">问诊诉求</text>
|
||||
<text class="note-text">{{record.demand}}</text>
|
||||
</view>
|
||||
<view class="note-block" wx:if="{{record.escortNote}}">
|
||||
@@ -235,7 +243,7 @@
|
||||
<!-- 可编辑且四段全空:给一个轻量添加入口,避免用户失去补充需求的路径 -->
|
||||
<view
|
||||
class="note-add"
|
||||
wx:if="{{record.canEditNote && !record.medicalHistory && !record.demand && !record.escortNote && !record.medicalSummary}}"
|
||||
wx:if="{{record.canEditNote && !record.hasInquiryContent && !record.escortNote && !record.medicalSummary}}"
|
||||
aria-role="button"
|
||||
aria-label="添加病历与诉求"
|
||||
bindtap="onEditInquiry"
|
||||
@@ -434,46 +442,6 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 病历与诉求编辑弹窗 -->
|
||||
<view class="popup-mask {{showNotePopup ? 'show' : ''}}" bindtap="onCancelEdit"></view>
|
||||
<view class="popup-content popup-tall {{showNotePopup ? 'show' : ''}}">
|
||||
<view class="popup-header">
|
||||
<text class="popup-title">修改病历与诉求</text>
|
||||
<view class="popup-close" aria-role="button" aria-label="关闭弹窗" bindtap="onCancelEdit">
|
||||
<t-icon name="close" size="40rpx" color="#6F655C" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-body">
|
||||
<view class="note-field">
|
||||
<text class="note-label">病历</text>
|
||||
<textarea
|
||||
class="note-textarea"
|
||||
value="{{editMedicalHistory}}"
|
||||
placeholder="请输入病历信息"
|
||||
maxlength="500"
|
||||
placeholder-class="input-placeholder"
|
||||
bindinput="onMedicalHistoryInput"
|
||||
focus="{{showNotePopup}}"
|
||||
/>
|
||||
</view>
|
||||
<view class="note-field">
|
||||
<text class="note-label">诉求</text>
|
||||
<textarea
|
||||
class="note-textarea"
|
||||
value="{{editDemand}}"
|
||||
placeholder="请输入陪诊诉求"
|
||||
maxlength="500"
|
||||
placeholder-class="input-placeholder"
|
||||
bindinput="onDemandInput"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-footer">
|
||||
<view class="popup-btn popup-btn-ghost" bindtap="onCancelEdit">取消</view>
|
||||
<view class="popup-btn popup-btn-primary" bindtap="onSaveInquiry">保存</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 取消订单弹窗 -->
|
||||
<view class="popup-mask {{showCancelPopup ? 'show' : ''}}" bindtap="onCloseCancelPopup"></view>
|
||||
<view class="popup-content {{showCancelPopup ? 'show' : ''}}">
|
||||
|
||||
@@ -856,27 +856,6 @@ page {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.note-textarea {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-height: 200rpx;
|
||||
padding: 24rpx;
|
||||
border: 2rpx solid var(--line);
|
||||
border-radius: 16rpx;
|
||||
background: var(--paper);
|
||||
font-size: var(--fs-30);
|
||||
color: var(--ink-2);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.note-field {
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
|
||||
.note-field:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.input-placeholder {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
@@ -25,6 +25,10 @@ const API = {
|
||||
updateRecord: (id, data) => request.put(`/health/escort-record/${id}`, data),
|
||||
updateStatus: (id, data) => request.patch(`/health/escort-record/${id}/status`, data),
|
||||
deleteRecord: (id) => request.delete(`/health/escort-record/${id}`),
|
||||
createInquiryParseJob: (id, data) => request.post(`/health/escort-record/${id}/inquiry/parse`, data, { timeout: config.AI_MEDIA_TIMEOUT }),
|
||||
getInquiryParseJob: (id, jobId) => request.get(`/health/escort-record/${id}/inquiry/parse/${jobId}`),
|
||||
confirmInquiryParseJob: (id, jobId, data) => request.post(`/health/escort-record/${id}/inquiry/parse/${jobId}/confirm`, data),
|
||||
cancelInquiryParseJob: (id, jobId) => request.delete(`/health/escort-record/${id}/inquiry/parse/${jobId}`),
|
||||
// 微信支付:发起支付返回调起收银台参数;支付结果以后端查单为准
|
||||
payOrder: (id) => request.post(`/health/escort-record/${id}/pay`),
|
||||
getPayStatus: (id) => request.get(`/health/escort-record/${id}/pay/status`),
|
||||
|
||||
Reference in New Issue
Block a user