From 0999e92241aa39aa6f32595429599805caa06155 Mon Sep 17 00:00:00 2001 From: XiuYun CHEN Date: Wed, 30 Jul 2025 10:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/Department/bank.vue | 23 ++++++++++++++++++++--- src/views/system/Department/banktwo.vue | 21 ++++++++++++++++++--- 2 files changed, 38 insertions(+), 6 deletions(-) diff --git a/src/views/system/Department/bank.vue b/src/views/system/Department/bank.vue index aec63b5..42fe13e 100644 --- a/src/views/system/Department/bank.vue +++ b/src/views/system/Department/bank.vue @@ -47,8 +47,9 @@ - - + + @@ -230,9 +231,11 @@ const rules = reactive({ }) const repeat_qa_id=ref([]) const qaList=ref([]) +const options = ref([]) const dialogImageUrl = ref(""); const dialogVisiblei = ref(false); const feihua = ref(false); +const suffix = ref(true); const question_times=ref( { type1:'', @@ -317,7 +320,7 @@ request.postQaList().then((res) => { const newList = res.data.data.filter(item => item.qa_id !== props.qa_id); qaList.value =[] qaList.value = [...newList] - + options.value = qaList.value }) } @@ -692,6 +695,20 @@ request.getOssSign({ feihua.value=false } } + + const remoteMethod = (query) => { + if (query) { + + setTimeout(() => { + + options.value = qaList.value.filter((item) => { + return item.qa_name.toLowerCase().includes(query.toLowerCase()) + }) + }, 200) + } else { + options.value = qaList.value + } +}