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)