From c0ca40c1f3e091e891008737ef5d571ae438e1d6 Mon Sep 17 00:00:00 2001 From: chenhaizhao <2291973799@qq.com> Date: Fri, 23 Jan 2026 15:25:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=AF=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Layout/index.vue | 1 + src/components/TableBox/index.vue | 13 +- src/views/overview/index.vue | 18 +- src/views/surgery/index.vue | 300 +++++++++++++++++++++++++++++- 4 files changed, 317 insertions(+), 15 deletions(-) diff --git a/src/Layout/index.vue b/src/Layout/index.vue index f07c85c..4025407 100644 --- a/src/Layout/index.vue +++ b/src/Layout/index.vue @@ -26,6 +26,7 @@ const btnCut = () => { flex: 1; display: flex; flex-direction: column; + width: 85%; } } \ No newline at end of file diff --git a/src/components/TableBox/index.vue b/src/components/TableBox/index.vue index 43ac5ac..3b6be7a 100644 --- a/src/components/TableBox/index.vue +++ b/src/components/TableBox/index.vue @@ -9,7 +9,9 @@ const props = defineProps<{

- +
+ +
@@ -23,12 +25,17 @@ const props = defineProps<{ display: flex; justify-content: space-between; font-weight: 100; - padding: 20px 15px; + padding: 20px; border-bottom: 1px solid #ddd; } + .main { + padding: 0 10px; + width: 100%; + } + .page { - padding: 20px 15px; + padding: 20px; } } \ No newline at end of file diff --git a/src/views/overview/index.vue b/src/views/overview/index.vue index 7a902b6..3703c25 100644 --- a/src/views/overview/index.vue +++ b/src/views/overview/index.vue @@ -24,8 +24,8 @@ for (let index = 0; index < 10; index++) { const pieDom = ref(null) const barDom = ref(null) +const { globalProperties } = useCurrentInstance() const rederPie = () => { - const { globalProperties } = useCurrentInstance() const chart = globalProperties.$echarts.init(pieDom.value) const option = { title: [ @@ -104,7 +104,6 @@ const rederPie = () => { chart.setOption(option) } const rederBar = () => { - const { globalProperties } = useCurrentInstance() const chart = globalProperties.$echarts.init(barDom.value) const option = { tooltip: { @@ -178,13 +177,14 @@ onMounted(() => { 最近手术记录 查看全部 - - - + + + - - - + + + +