Fix Bug #561: fallback修复

This commit is contained in:
2026-05-26 23:38:18 +08:00
parent c67aab8d87
commit abcf633910
4 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<template>
<el-table :data="orderList" style="width: 100%">
<el-table-column prop="itemName" label="项目名称" />
<el-table-column prop="price" label="单价" width="80" />
<!-- 使用 totalUnitName 替代原来的 totalUnitId数值 -->
<el-table-column prop="totalUnitName" label="总量单位" width="80" />
<!-- 其它列保持不变 -->
</el-table>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import { getDoctorOrders } from '@/api/outpatient';
const orderList = ref([]);
onMounted(async () => {
const doctorId = /* 当前医生 ID */;
const { data } = await getDoctorOrders({ doctorId });
orderList.value = data;
});
</script>