From f3e20ce31ab5b1ff8a245b87f690a37d38857e57 Mon Sep 17 00:00:00 2001 From: wangzhuo Date: Wed, 17 Sep 2025 21:52:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=A2=E6=88=B7=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customer/components/customerUserEdit.vue | 5 ++-- .../business/CRM/customer/customerAudit.vue | 23 +++++++++++-------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/pages/business/CRM/customer/components/customerUserEdit.vue b/src/pages/business/CRM/customer/components/customerUserEdit.vue index 1742605..624fce6 100644 --- a/src/pages/business/CRM/customer/components/customerUserEdit.vue +++ b/src/pages/business/CRM/customer/components/customerUserEdit.vue @@ -612,12 +612,11 @@ let submitForm = async () => { uni.showToast({ title: "更新成功" }) + const eventChannel = instance.getOpenerEventChannel(); + eventChannel.emit("refreshCusUserList"); setTimeout(()=>{ uni.navigateBack(); - const eventChannel = instance.getOpenerEventChannel(); - eventChannel.emit("refreshCusUserList"); },1000); - }else{ uni.showToast({ title: "操作失败", diff --git a/src/pages/business/CRM/customer/customerAudit.vue b/src/pages/business/CRM/customer/customerAudit.vue index 7fbf62d..fbb1343 100644 --- a/src/pages/business/CRM/customer/customerAudit.vue +++ b/src/pages/business/CRM/customer/customerAudit.vue @@ -7,7 +7,13 @@ - + + @@ -101,9 +107,13 @@ let handleSearch = () => { watch(searchValue, (newValue, oldValue) => { handleSearch() }) -let clearSearchValue = () => { - searchValue.value = ''; +// 排序图标 +const iconType = ref('arrow-up'); +let handleReSort = () => { + iconType.value = iconType.value === 'arrow-down' ? 'arrow-up' : 'arrow-down'; + list.value = list.value.reverse(); } + // 查询列表 let list = ref([]); @@ -230,12 +240,7 @@ let handleDetail = (item) => { } .scroll-h { - /* #ifdef APP-PLUS */ - height: calc(100vh - 120px); - /* #endif */ - /* #ifndef APP-PLUS */ - height: calc(100vh - 110px); - /* #endif */ + height: 100%; } .white-bg {