-
- {{
- scope.row.adviceName +
- ' ' +
- scope.row.volume +
- ' [' +
- Number(scope.row.unitPrice).toFixed(2) +
- ' 元' +
- '/' +
- scope.row.unitCode_dictText +
- ']'
- }}
-
+
+
+
+
+
+
+
+
+
+ {{
+ scope.row.adviceName +
+ ' ' +
+ scope.row.volume +
+ ' [' +
+ Number(scope.row.unitPrice).toFixed(2) +
+ ' 元' +
+ '/' +
+ scope.row.unitCode_dictText +
+ ']'
+ }}
+
-
-
-
-
-
-
-
-
-
- 诊断:{{ diagnosisName }}
- 皮试:{{ scope.row.skinTestFlag_enumText }}
- 注射药品:{{ scope.row.injectFlag_enumText }}
-
- 总金额:{{ scope.row.totalPrice ? scope.row.totalPrice + ' 元' : '0.00 元' }}
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+ x
+ 诊断:{{ diagnosisName }} x
+ 皮试:{{ scope.row.skinTestFlag_enumText }}
+ 注射药品:{{ scope.row.injectFlag_enumText }}
+
+ 总金额:{{ scope.row.totalPrice ? scope.row.totalPrice + ' 元' : '0.00 元' }}
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- =
-
-
-
-
-
-
-
-
-
-
-
- {
- inputRefs.methodCode.blur();
- }
- "
- @visible-change="
+ " :value="item.value" :label="item.label" />
+
+
+ =
+
+
+
+
+
+
+
+
+
+
+
+ {
+ inputRefs.methodCode.blur();
+ }
+ " @visible-change="
(value) => {
if (!value) {
handleEnter('methodCode', scope.row, scope.$index);
}
}
- "
- >
-
-
-
-
- {
- inputRefs.rateCode.blur();
- }
- "
- @change="calculateTotalAmount(scope.row, scope.$index)"
- @visible-change="
+ ">
+
+
+
+
+ {
+ inputRefs.rateCode.blur();
+ }
+ " @change="calculateTotalAmount(scope.row, scope.$index)" @visible-change="
(value) => {
if (!value) {
handleEnter('rateCode', scope.row, scope.$index);
}
}
- "
- :ref="(el) => (inputRefs.rateCode = el)"
- >
-
-
-
+ " :ref="(el) => (inputRefs.rateCode = el)">
+
+
+
+
-
-
-
-
-
-
- {{
- scope.row.adviceName +
- ' ' +
- scope.row.volume +
- ' ' +
- scope.row.unitPrice +
- ' 元/' +
- scope.row.unitCode_dictText
- }}
-
-
-
-
-
-
- {{ scope.row.adviceName }}
- {{
- scope.row.unitPrice
- ? Number(scope.row.unitPrice).toFixed(2) + '/次'
- : '-' + '元'
- }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {
prescriptionList.forEach((item, index) => {
groupIndexList.push(index);
item.check = value;
});
}
- "
- />
-
-
- handleCheckBoxChange(value, scope.$index, scope.row)"
- />
-
-
-
-
- ┏
- ┗
- ┃
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.therapyEnum_enumText }}
-
-
-
-
-
-
- {
- expandOrder = [];
- prescriptionList[scope.$index].adviceName = undefined;
- adviceQueryParams.adviceType = value;
- }
- "
- >
- {
- prescriptionList[scope.$index].adviceType = item.value;
- prescriptionList[scope.$index].adviceType_dictText = item.label;
- }
- "
- />
-
-
- selectAdviceBase(scope.row.uniqueKey, row)"
- />
-
- {
- if (!scope.row.showPopover) return;
- // 拦截上下键和回车事件
- if (['ArrowUp', 'ArrowDown', 'Enter'].includes(e.key)) {
- e.preventDefault();
- // 传递事件到弹窗容器
- adviceTableRef.handleKeyDown(e);
- }
- }
- "
- @blur="handleBlur(scope.row)"
- />
-
-
+ " />
- {{ scope.row.adviceName }}
-
-
-
-
-
- {{ scope.row.chargeStatus_enumText }}
-
- 已签发
-
- 待保存
-
- 待签发
- 停止
- {{ scope.row.chargeStatus_enumText }}
-
-
-
-
-
- {{ scope.row.dose ? scope.row.dose + ' ' + scope.row.doseUnitCode_dictText : '' }}
-
-
-
-
-
-
- {{ scope.row.quantity ? scope.row.quantity + ' ' + scope.row.unitCode_dictText : '' }}
-
-
-
-
-
-
- {{ scope.row.totalPrice ? Number(scope.row.totalPrice).toFixed(2) + ' 元' : '-' }}
-
-
-
-
-
-
- {{ scope.row.positionName }}
-
-
-
-
-
-
- {{
- scope.row.rateCode_dictText
- ? scope.row.rateCode_dictText +
+
+ handleCheckBoxChange(value, scope.$index, scope.row)" />
+
+
+
+
+ ┏
+ ┗
+ ┃
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.therapyEnum_enumText }}
+
+
+
+
+
+
+ {
+ expandOrder = [];
+ prescriptionList[scope.$index].adviceName = undefined;
+ adviceQueryParams.adviceType = value;
+ }
+ ">
+ {
+ prescriptionList[scope.$index].adviceType = item.value;
+ prescriptionList[scope.$index].adviceType_dictText = item.label;
+ }
+ " />
+
+
+ selectAdviceBase(scope.row.uniqueKey, row)" />
+
+ {
+ if (!scope.row.showPopover) return;
+ // 拦截上下键和回车事件
+ if (['ArrowUp', 'ArrowDown', 'Enter'].includes(e.key)) {
+ e.preventDefault();
+ // 传递事件到弹窗容器
+ adviceTableRef.handleKeyDown(e);
+ }
+ }
+ " @blur="handleBlur(scope.row)" />
+
+
+
+ {{ scope.row.adviceName }}
+
+
+
+
+
+ {{ scope.row.chargeStatus_enumText }}
+
+ 已签发
+
+ 待保存
+
+ 待签发
+ 停止
+ {{ scope.row.chargeStatus_enumText }}
+
+
+
+
+
+ {{ scope.row.dose ? scope.row.dose + ' ' + scope.row.doseUnitCode_dictText : '' }}
+
+
+
+
+
+
+ {{ scope.row.quantity ? scope.row.quantity + ' ' + scope.row.unitCode_dictText : '' }}
+
+
+
+
+
+
+ {{ scope.row.totalPrice ? Number(scope.row.totalPrice).toFixed(2) + ' 元' : '-' }}
+
+
+
+
+
+
+ {{ scope.row.positionName }}
+
+
+
+
+
+
+ {{
+ scope.row.rateCode_dictText
+ ? scope.row.rateCode_dictText +
' ' +
scope.row.dispensePerDuration +
'天' +
' ' +
scope.row.methodCode_dictText
- : ''
- }}
-
-
-
-
-
-
- {{ scope.row.injectFlag_enumText || '-' }}
-
-
-
-
-
-
- {{ scope.row.skinTestFlag_enumText || '-' }}
-
-
-
-
-
-
- {{ scope.row.diagnosisName || scope.row.conditionDefinitionName }}
-
-
-
-
+ : ''
+ }}
+
+
+
+
+
+
+ {{ scope.row.injectFlag_enumText || '-' }}
+
+
+
+
+
+
+ {{ scope.row.skinTestFlag_enumText || '-' }}
+
+
+
+
+
+
+ {{ scope.row.diagnosisName || scope.row.conditionDefinitionName }}
+
+
+
+
+
+
+
+
+
-
+
-
+
\ No newline at end of file
diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/patientList.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/patientList.vue
index b21377fb..f94d3bce 100644
--- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/patientList.vue
+++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/patientList.vue
@@ -100,30 +100,30 @@ const searchData = reactive({
const cardId = ref('')
// 所有卡片数据
const cardAllData = ref([
- {
- id: '1',
- name: '张三',
- sexName: '女',
- bedName: '1-1床',
- deptNurseName: '护士甲',
- crossDeptFlag: false,
- criticalCarePatientName: '危',
- inpatientCode: '1212121212',
- age: '30',
- admittedDoctorName: '医生乙',
- },
- {
- id: '2',
- name: '李四',
- sexName: '男',
- bedName: '1-2床',
- deptNurseName: '护士甲',
- crossDeptFlag: false,
- criticalCarePatientName: '重',
- inpatientCode: '1212121212',
- age: '30',
- admittedDoctorName: '医生乙',
- },
+ // {
+ // id: '1',
+ // name: '张三',
+ // sexName: '女',
+ // bedName: '1-1床',
+ // deptNurseName: '护士甲',
+ // crossDeptFlag: false,
+ // criticalCarePatientName: '危',
+ // inpatientCode: '1212121212',
+ // age: '30',
+ // admittedDoctorName: '医生乙',
+ // },
+ // {
+ // id: '2',
+ // name: '李四',
+ // sexName: '男',
+ // bedName: '1-2床',
+ // deptNurseName: '护士甲',
+ // crossDeptFlag: false,
+ // criticalCarePatientName: '重',
+ // inpatientCode: '1212121212',
+ // age: '30',
+ // admittedDoctorName: '医生乙',
+ // },
])
// 过滤后的卡片数据
const filteredCardData = computed(() => {
diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/api.js b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/api.js
new file mode 100644
index 00000000..b2fa53b6
--- /dev/null
+++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/api.js
@@ -0,0 +1,24 @@
+/*
+ * @Author: sjjh
+ * @Date: 2025-09-20 17:02:37
+ * @Description:
+ */
+import request from '@/utils/request'
+
+// 新增记录
+export function addRecord(data) {
+ return request({
+ url: '/document/record/addRecord',
+ method: 'post',
+ data
+ })
+}
+// 根据患者ID或就诊ID获取文书记录列表,只针对不需返回患者具体信息的列表,体温单除外,单独处理
+
+export function getRecordByEncounterIdList(params) {
+ return request({
+ url: '/document/record/getRecordByEncounterIdList',
+ method: 'get',
+ params
+ })
+}
diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue
new file mode 100644
index 00000000..e52ae7b5
--- /dev/null
+++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+ {{ item.name }}({{ item.recordTime }})
+
+
+
+
+
+
+
+
+
+
diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue
new file mode 100644
index 00000000..61e4f2c0
--- /dev/null
+++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+ 新建
+ 存为模版
+ 刷新
+ 删除
+ 保存
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 模版
+
+
+
+
+
+
diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/index.js b/openhis-ui-vue3/src/views/inpatientDoctor/home/index.js
index 4bda4444..7ab7008d 100644
--- a/openhis-ui-vue3/src/views/inpatientDoctor/home/index.js
+++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/index.js
@@ -7,8 +7,8 @@ import PatientList from './components/patientList.vue'
import PatientCard from './components/patientCard/index.vue'
import Advice from './components/order/index.vue'
import Diagnose from './components/diagnosis/diagnosis.vue'
-import BloodTtransfusionAapplication from './components/applicationForm/bloodTtransfusionAapplication.vue'
-import ExamineApplication from './components/applicationForm/examineApplication.vue'
-import SurgeryApplication from './components/applicationForm/surgeryApplication.vue'
-import TestApplication from './components/applicationForm/testApplication.vue'
+import BloodTtransfusionAapplication from './components/applicationShow/bloodTtransfusionAapplication.vue'
+import ExamineApplication from './components/applicationShow/examineApplication.vue'
+import SurgeryApplication from './components/applicationShow/surgeryApplication.vue'
+import TestApplication from './components/applicationShow/testApplication.vue'
export { PatientList, PatientCard, Advice,Diagnose, BloodTtransfusionAapplication, ExamineApplication, SurgeryApplication, TestApplication }
diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue
index ccbe89e0..b70364bc 100644
--- a/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue
+++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue
@@ -21,7 +21,9 @@
-
Role
+
+
+
Task
@@ -46,6 +48,7 @@ import { getCurrentInstance, onBeforeMount, onMounted, reactive, ref } from 'vue
// const { proxy } = getCurrentInstance()
// const emits = defineEmits([])
// const props = defineProps({})
+import Emr from "./emr/index.vue";
import inPatientBarDoctorFold from '@/components/patientBar/inPatientBarDoctorFold.vue';
import {
PatientList,
diff --git a/openhis-ui-vue3/src/views/inpatientNurse/drugDistribution/drugDistributionList.vue b/openhis-ui-vue3/src/views/inpatientNurse/drugDistribution/drugDistributionList.vue
index 9260ef26..0abfed5b 100644
--- a/openhis-ui-vue3/src/views/inpatientNurse/drugDistribution/drugDistributionList.vue
+++ b/openhis-ui-vue3/src/views/inpatientNurse/drugDistribution/drugDistributionList.vue
@@ -40,6 +40,7 @@