From a6adfb63004d3fe33232ab4bf5f7a78abce6a043 Mon Sep 17 00:00:00 2001 From: ChenQiuYu Date: Wed, 14 May 2025 13:18:13 +0800 Subject: [PATCH] dev --- src/components/charge/ChargeQueue.vue | 23 +++++++-- src/components/outpatient/MedicalQueue.vue | 1 + src/components/registration/Edit.vue | 11 ++-- src/views/inventory/goods.vue | 60 +++++++++++++--------- 4 files changed, 63 insertions(+), 32 deletions(-) diff --git a/src/components/charge/ChargeQueue.vue b/src/components/charge/ChargeQueue.vue index e1ecf6f..f9df768 100644 --- a/src/components/charge/ChargeQueue.vue +++ b/src/components/charge/ChargeQueue.vue @@ -29,10 +29,18 @@ v-model="query.keyword" style="height: 100%;width: 100%" placeholder="根据姓名搜索" - @input="search" + @input="searchInput" /> -
新增患者
+
+ + + + 新增患者 +
@@ -68,7 +76,7 @@ import {nextTick, onMounted, ref, watch} from "vue"; import {post} from "@/utils/request.ts"; import Panel from "@/components/common/Panel.vue"; import {formatListTime, getCurrentDate, getEndOfDay} from "@/utils/dateUtils.ts"; -import {Calendar} from "@element-plus/icons-vue"; +import { Search,Calendar} from "@element-plus/icons-vue"; import {apiConfig} from "@/assets/config/apiConfig.ts"; import Edit from "@/components/registration/Edit.vue"; @@ -184,10 +192,11 @@ watch(() => selectedDate.value, (newValue, oldValue) => { } init() }) -const search = (v: any) => { +const searchInput = (v: any) => { query.value.keyword = v init() } +const selected= ref(false)