|
@ -49,7 +49,7 @@
|
|
|
this.serviceDoctorList();//获取服务医生列表
|
|
|
this.bindEvents();
|
|
|
// 获取最新的诊疗信息1条
|
|
|
this.findDiagnosisInformationByPatient()
|
|
|
this.findDiagnosisInformationByPlanId()
|
|
|
},
|
|
|
methods:{
|
|
|
//获取计划表
|
|
@ -76,17 +76,16 @@
|
|
|
})
|
|
|
},
|
|
|
// 获取最新的诊疗消息
|
|
|
findDiagnosisInformationByPatient: function() {
|
|
|
findDiagnosisInformationByPlanId: function() {
|
|
|
var vm = this,
|
|
|
loading = layer.load(0, {shade: false}),params = {
|
|
|
patient: vm.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c",
|
|
|
page: 0,
|
|
|
size: 1
|
|
|
loading = layer.load(0, {shade: false}),
|
|
|
params = {
|
|
|
planId: vm.planId
|
|
|
}
|
|
|
recoverAPI.findDiagnosisInformationByPatient(params).then(function(res) {
|
|
|
recoverAPI.findDiagnosisInformationByPlanId(params).then(function(res) {
|
|
|
layer.close(loading)
|
|
|
if(res.status == 200) {
|
|
|
vm.diagnosisInformation = res.data.detailModelList[0]
|
|
|
vm.diagnosisInformation = res.data.detailModelList
|
|
|
} else {
|
|
|
showErrorMessage(res.msg);
|
|
|
}
|