|
@@ -10,7 +10,9 @@
|
|
|
<el-button @click="open(1)" type="primary">护理</el-button>
|
|
|
<el-button @click="open(2)" type="warning">检验</el-button>
|
|
|
<el-button @click="open(3)" type="info">检查</el-button>
|
|
|
- <el-button @click="open(4)" type="info">会诊</el-button>
|
|
|
+ <hr/>
|
|
|
+ <el-button @click="open(4)" type="success" plain>会诊</el-button>
|
|
|
+ <el-button @click="open(5)" type="primary" plain>手术</el-button>
|
|
|
</template>
|
|
|
</el-popover>
|
|
|
<el-drawer v-model="drawer"
|
|
@@ -35,6 +37,8 @@
|
|
|
:end="end"/>
|
|
|
<emr-inspect v-if="index === 3"/>
|
|
|
<emr-group-consultation v-if="index === 4"/>
|
|
|
+ <emr-operation v-if="index === 5" :emr-data="props.emrData"
|
|
|
+ @to-fill-in-data="toFillInData"/>
|
|
|
</el-drawer>
|
|
|
|
|
|
</template>
|
|
@@ -43,19 +47,25 @@
|
|
|
import EmrOrderList from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrOrderList.vue";
|
|
|
import {defineProps, onMounted, ref} from 'vue'
|
|
|
import EmrYzTemperature from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrYzTemperature.vue";
|
|
|
-import {patInfo} from './emr-tools-store'
|
|
|
+import {emrData, patInfo} from './emr-tools-store'
|
|
|
import EmrInspect from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrInspect.vue";
|
|
|
import {getServerDateApi} from "@/api/public-api";
|
|
|
import {formatDate} from "@/utils/date";
|
|
|
import InspectionReportIndex from "@/views/examination/InspectionReportIndex.vue";
|
|
|
import EmrGroupConsultation from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrGroupConsultation.vue";
|
|
|
+import EmrOperation from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrOperation.vue";
|
|
|
|
|
|
const props = defineProps({
|
|
|
patInfo: {
|
|
|
type: Object
|
|
|
+ },
|
|
|
+ emrData: {
|
|
|
+ type: Object
|
|
|
}
|
|
|
})
|
|
|
|
|
|
+const emits = defineEmits(['toFillInData'])
|
|
|
+
|
|
|
const end = ref('')
|
|
|
const start = ref('')
|
|
|
|
|
@@ -67,6 +77,11 @@ onMounted(async () => {
|
|
|
start.value = formatDate(props.patInfo.admissDate)
|
|
|
})
|
|
|
|
|
|
+const toFillInData = (data) => {
|
|
|
+ emits('toFillInData', data)
|
|
|
+ close()
|
|
|
+}
|
|
|
+
|
|
|
const index = ref(-1)
|
|
|
const open = (val) => {
|
|
|
drawer.value = true
|