44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
import request from "../request.js"
|
|
// 无答案
|
|
export function selectQuestion(templateId) {
|
|
return request({
|
|
url: `/postDischarge/homePage/selectQuestion?templateId=${templateId}`,
|
|
method: 'get',
|
|
})
|
|
}
|
|
// 满意度答案详情
|
|
export function selectQuestionSubmit(patientQuestionSubmitResultId) {
|
|
return request({
|
|
|
|
url: `/postDischarge/homePage/selectQuestionSubmit?patientQuestionSubmitResultId=${patientQuestionSubmitResultId}`,
|
|
method: 'get',
|
|
|
|
})
|
|
}
|
|
// 问卷详情
|
|
export function selectQuestionSubmits(patientTaskExecuteRecordId) {
|
|
return request({
|
|
url: `/postDischarge/homePage/selectQuestionSubmit?patientTaskExecuteRecordId=${patientTaskExecuteRecordId}`,
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 我的随访答案详情
|
|
export function QuestionSubmitsf(patientTaskExecuteRecordId) {
|
|
return request({
|
|
url: `/postDischarge/homePage/selectQuestionSubmit?patientTaskExecuteRecordId=${patientTaskExecuteRecordId}`,
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 提交
|
|
export function updateTaskExecuteRecord(data) {
|
|
return request({
|
|
url: '/postDischarge/homePage/updateTaskExecuteRecord',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
|
|
|