转诊方功能优化

This commit is contained in:
李琦
2026-02-07 11:12:18 +08:00
parent d233a42754
commit 184ff88bd2
8 changed files with 874 additions and 14 deletions

View File

@@ -34,3 +34,20 @@ export async function agreeTransferPrescriptionApi(params) {
export async function rejectTransferPrescriptionApi(params) {
return await post('/transfer-prescription/reject', params, 3)
}
/**
* 获取转诊问题列表(用于咨询页面)
* @returns {Promise<*>}
*/
export async function getTransferQuestionsApi() {
return await get('/transfer-prescription/get-questions', {}, 3)
}
/**
* 提交转诊问题答案
* @param params { transfer_id: number, answers: Array<{question_id: number, answer: string}> }
* @returns {Promise<*>}
*/
export async function submitTransferQuestionsApi(params) {
return await post('/transfer-prescription/submit-questions', params, 3)
}