This commit is contained in:
Your Name
2026-03-19 12:19:00 +08:00
parent 7832514f28
commit 7147c8e148
243 changed files with 1662 additions and 437 deletions
@@ -32,7 +32,7 @@
</template>
</el-table-column>
</el-table>
<el-empty v-if="!loading && caseList.length === 0" description="暂无病记录,开方后会自动显示" class="mt-4" />
<el-empty v-if="!loading && caseList.length === 0" description="暂无病记录,开方后会自动显示" class="mt-4" />
</div>
</template>
@@ -58,7 +58,7 @@ const getCases = async () => {
const data = await prescriptionListByDiagnosis({ diagnosis_id: props.diagnosisId })
caseList.value = Array.isArray(data) ? data : []
} catch (error) {
console.error('获取病记录失败:', error)
console.error('获取病记录失败:', error)
caseList.value = []
} finally {
loading.value = false