diff --git a/chenhai-ui/src/api/vet/plan.js b/chenhai-ui/src/api/vet/plan.js index 9584b18..becff8a 100644 --- a/chenhai-ui/src/api/vet/plan.js +++ b/chenhai-ui/src/api/vet/plan.js @@ -42,3 +42,12 @@ export function delPlan(id) { method: 'delete' }) } + +// 查看对应的列表 +export function listPlanByConsultationId(query) { + return request({ + url: '/vet/plan/listByConsultationId', + method: 'get', + params: query + }) +} diff --git a/chenhai-ui/src/views/vet/plan/index.vue b/chenhai-ui/src/views/vet/plan/index.vue index d2e2b69..f69cbed 100644 --- a/chenhai-ui/src/views/vet/plan/index.vue +++ b/chenhai-ui/src/views/vet/plan/index.vue @@ -1,14 +1,6 @@ - - - - - - - - - - - - 搜索 重置 @@ -103,66 +71,62 @@ - - - - - - - - - - - - + + + + + + + 详情 修改 删除 - - + + + + - - - - - - - - - - - - @@ -175,33 +139,125 @@ - - - - - - - - - + + + + + + + + + {{ currentDetail.title || '--' }} + + 方案编号:{{ currentDetail.planNo || '--' }} + + + 问诊日期:{{ currentDetail.createTime || '--' }} + + + + + + + 患者信息 + + + + 农牧户姓名: + {{ currentDetail.farmerName || '--' }} + + + 牲畜种类: + {{ currentDetail.animalType || '--' }} + + + + + + + + 问诊内容 + + + 病情描述: + {{ currentDetail.symptoms || '--' }} + + + + + + + 诊断内容 + + + 诊断结果: + {{ currentDetail.diagnosis || '--' }} + + + 治疗方式: + {{ currentDetail.treatmentMethod || '--' }} + + + 治疗方案: + {{ currentDetail.treatmentDesc || '--' }} + + + 注意事项: + {{ currentDetail.precautions || '--' }} + + + + + + 主治兽医: + {{ currentDetail.vetName || '--' }} + + + 制定日期: + {{ currentDetail.updateTime || currentDetail.createTime || '--' }} + + + + + + + + + + + +