This commit is contained in:
Your Name
2026-03-20 13:56:40 +08:00
parent 7147c8e148
commit d765517b74
258 changed files with 2481 additions and 364 deletions
@@ -1,5 +1,8 @@
<template>
<div class="case-record-list">
<div class="mb-3 flex justify-end">
<el-button type="primary" size="small" @click="handleOpenPrescription">开方</el-button>
</div>
<el-table :data="caseList" border v-loading="loading">
<el-table-column prop="prescription_date" label="就诊日期" width="120" />
<el-table-column prop="visit_no" label="门诊号" width="120" />
@@ -46,7 +49,7 @@ const props = defineProps({
}
})
const emit = defineEmits(['view'])
const emit = defineEmits(['view', 'openPrescription'])
const caseList = ref<any[]>([])
const loading = ref(false)
@@ -75,6 +78,10 @@ const handleView = (row: any) => {
emit('view', row)
}
const handleOpenPrescription = () => {
emit('openPrescription')
}
onMounted(() => {
getCases()
})