需求102 门诊医生站-》诊断TAB页:增加报卡弹框登记界面;
1.建立对应数据库表infectious_card 2.实现前端表单样式 3.完成相关表单数据查询以及数据传递与保存
This commit is contained in:
@@ -237,6 +237,14 @@
|
||||
:patientInfo="props.patientInfo"
|
||||
@close="closeDiagnosisDialog"
|
||||
/>
|
||||
<InfectiousDiseaseReportDialog
|
||||
ref="infectiousDiseaseReportRef"
|
||||
:patientInfo="props.patientInfo"
|
||||
:dept-id="userStore.orgId"
|
||||
:doctor-id="userStore.practitionerId"
|
||||
@close="handleInfectiousReportClose"
|
||||
@success="handleInfectiousReportSuccess"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -259,6 +267,7 @@ import {
|
||||
import diagnosisdialog from '../diagnosis/diagnosisdialog.vue';
|
||||
import AddDiagnosisDialog from './addDiagnosisDialog.vue';
|
||||
import diagnosislist from '../diagnosis/diagnosislist.vue';
|
||||
import InfectiousDiseaseReportDialog from './infectiousDiseaseReportDialog.vue';
|
||||
// const diagnosisList = ref([]);
|
||||
const allowAdd = ref(false);
|
||||
const tree = ref([]);
|
||||
@@ -578,7 +587,7 @@ function handleSaveDiagnosis() {
|
||||
} else {
|
||||
// 保存前按排序号排序
|
||||
form.value.diagnosisList.sort((a, b) => (a.diagSrtNo || 0) - (b.diagSrtNo || 0));
|
||||
|
||||
|
||||
saveDiagnosis({
|
||||
patientId: props.patientInfo.patientId,
|
||||
encounterId: props.patientInfo.encounterId,
|
||||
@@ -601,6 +610,13 @@ function handleSaveDiagnosis() {
|
||||
}
|
||||
});
|
||||
//食源性疾病病例数据智能采集 ---END---
|
||||
//传染病报告卡 ---START---
|
||||
// 获取主诊断数据,弹出传染病报告卡
|
||||
const mainDiagnosis = form.value.diagnosisList.find(d => d.maindiseFlag === 1);
|
||||
if (mainDiagnosis) {
|
||||
proxy.$refs.infectiousDiseaseReportRef.show(mainDiagnosis);
|
||||
}
|
||||
//传染病报告卡 ---END---
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -621,6 +637,19 @@ function closeDiagnosisDialog(str) {
|
||||
getTree();
|
||||
}
|
||||
|
||||
/**
|
||||
* 传染病报告卡关闭
|
||||
*/
|
||||
function handleInfectiousReportClose() {
|
||||
// 关闭传染病报告卡弹窗
|
||||
}
|
||||
|
||||
/**
|
||||
* 传染病报告卡保存成功
|
||||
*/
|
||||
function handleInfectiousReportSuccess() {
|
||||
}
|
||||
|
||||
function queryDiagnosisUse(value) { }
|
||||
|
||||
function handleChange(value) {
|
||||
|
||||
Reference in New Issue
Block a user