From b113afa71f6610e23e809e98c2fb7ffc9b97ffa1 Mon Sep 17 00:00:00 2001 From: dzq Date: Tue, 17 Jun 2025 09:39:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AE=A1=E6=89=B9=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E5=88=97=E8=A1=A8):=20=E6=B7=BB=E5=8A=A0=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E9=A1=B5=E5=88=87=E6=8D=A2=E5=92=8C=E6=90=9C=E7=B4=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增标签页切换功能,区分待处理和已处理审批 - 添加搜索框支持按内容筛选 - 优化列表加载逻辑,避免重复数据 - 将核销码按钮改为悬浮样式 --- src/common/apis/approval/type.ts | 2 + src/pages/approvalAsset/list.vue | 91 +++++++++++++++++++++----------- types/auto/components.d.ts | 2 + 3 files changed, 64 insertions(+), 31 deletions(-) diff --git a/src/common/apis/approval/type.ts b/src/common/apis/approval/type.ts index 8482885..8ea159e 100644 --- a/src/common/apis/approval/type.ts +++ b/src/common/apis/approval/type.ts @@ -147,6 +147,8 @@ export interface SearchReturnApprovalAssetQuery { corpid?: string; code?: string; codeCheck?: number; + handleStatus?: number; + searchStr?: string; } export interface ApprovalGoodsCellEntity { diff --git a/src/pages/approvalAsset/list.vue b/src/pages/approvalAsset/list.vue index 0fe3c47..55a5699 100644 --- a/src/pages/approvalAsset/list.vue +++ b/src/pages/approvalAsset/list.vue @@ -1,35 +1,13 @@ \ No newline at end of file diff --git a/types/auto/components.d.ts b/types/auto/components.d.ts index 40774ba..bec2a45 100644 --- a/types/auto/components.d.ts +++ b/types/auto/components.d.ts @@ -35,8 +35,10 @@ declare module 'vue' { VanSidebar: typeof import('vant/es')['Sidebar'] VanSidebarItem: typeof import('vant/es')['SidebarItem'] VanStepper: typeof import('vant/es')['Stepper'] + VanTab: typeof import('vant/es')['Tab'] VanTabbar: typeof import('vant/es')['Tabbar'] VanTabbarItem: typeof import('vant/es')['TabbarItem'] + VanTabs: typeof import('vant/es')['Tabs'] VanTag: typeof import('vant/es')['Tag'] VanUploader: typeof import('vant/es')['Uploader'] }