From 07ef4268eb3fe81fa118cfef4943b1d654e7e18b Mon Sep 17 00:00:00 2001 From: wyuu Date: Thu, 30 Oct 2025 18:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E6=9D=A1=E4=BB=B6=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SelectTable/index.vue | 2 +- src/components/projectsjg/index.vue | 2 +- src/components/selectSearch/index.vue | 266 ++++++++++++++++++ src/utils/classCom.ts | 2 - src/{api => utils}/pinyin.js | 0 .../liswork/work/components/DictInput.vue | 50 +--- .../liswork/work/components/DictInputany.vue | 41 +-- .../liswork/work/components/ItemInput.vue | 2 +- src/views/liswork/work/components/ddlb.vue | 17 +- src/views/liswork/work/index.vue | 134 ++++++--- src/views/mzcx/cydj/components/OutPatList.vue | 95 +++---- vite.config.js | 4 +- 12 files changed, 442 insertions(+), 173 deletions(-) create mode 100644 src/components/selectSearch/index.vue rename src/{api => utils}/pinyin.js (100%) diff --git a/src/components/SelectTable/index.vue b/src/components/SelectTable/index.vue index 30ca499..b05183c 100644 --- a/src/components/SelectTable/index.vue +++ b/src/components/SelectTable/index.vue @@ -45,7 +45,7 @@ + + \ No newline at end of file diff --git a/src/utils/classCom.ts b/src/utils/classCom.ts index 94f8938..4819eb4 100644 --- a/src/utils/classCom.ts +++ b/src/utils/classCom.ts @@ -114,7 +114,6 @@ import { ref, onMounted, onUnmounted, Ref } from 'vue'; */ function useAutoSize() { const autoSize = ref<'small' | 'default'>('default'); - console.log('333==>', 333); // 防抖函数,避免频繁触发 const debounce = (fn: Function, delay: number) => { let timer: number; @@ -126,7 +125,6 @@ function useAutoSize() { const calculateSize = () => { const screenWidth = window.innerWidth || document.documentElement.clientWidth; - console.log('screenWidth==>', screenWidth); autoSize.value = screenWidth < 1600 ? 'small' : 'default'; }; diff --git a/src/api/pinyin.js b/src/utils/pinyin.js similarity index 100% rename from src/api/pinyin.js rename to src/utils/pinyin.js diff --git a/src/views/liswork/work/components/DictInput.vue b/src/views/liswork/work/components/DictInput.vue index ab6569c..878d45b 100644 --- a/src/views/liswork/work/components/DictInput.vue +++ b/src/views/liswork/work/components/DictInput.vue @@ -1,16 +1,11 @@