From dbb0c117f782c1712656c0c4641cc27e7a7b1873 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Tue, 3 Feb 2026 14:25:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E6=8E=A5=E5=8F=A3=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../configSuppliersApply/NuConfigSuppliersApply.api.ts | 2 ++ .../configSuppliersApply/NuConfigSuppliersAuditList.vue | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.api.ts b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.api.ts index 9e6ea39..82add4a 100644 --- a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.api.ts +++ b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersApply.api.ts @@ -5,6 +5,7 @@ const { createConfirm } = useMessage(); enum Api { list = '/configSuppliersApply/nuConfigSuppliersApply/list', + listPage = '/configSuppliersApply/nuConfigSuppliersApply/listPage', save = '/configSuppliersApply/nuConfigSuppliersApply/add', edit = '/configSuppliersApply/nuConfigSuppliersApply/edit', deleteOne = '/configSuppliersApply/nuConfigSuppliersApply/delete', @@ -31,6 +32,7 @@ export const getImportUrl = Api.importExcel; * @param params */ export const list = (params) => defHttp.get({ url: Api.list, params }); +export const listPage = (params) => defHttp.get({ url: Api.listPage, params }); /** * 删除单个 diff --git a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue index 4622a52..f34bece 100644 --- a/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue +++ b/src/views/invoicing/configSuppliersApply/NuConfigSuppliersAuditList.vue @@ -66,7 +66,7 @@ import { ref, reactive } from 'vue'; import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { useListPage } from '/@/hooks/system/useListPage'; import { columns, superQuerySchema } from './NuConfigSuppliersApply.data'; -import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './NuConfigSuppliersApply.api'; +import { listPage, deleteOne, batchDelete, getImportUrl, getExportUrl } from './NuConfigSuppliersApply.api'; import { downloadFile } from '/@/utils/common/renderUtils'; import NuConfigSuppliersApplyModal from './components/NuConfigSuppliersApplyModal.vue' import { useUserStore } from '/@/store/modules/user'; @@ -83,7 +83,7 @@ const userStore = useUserStore(); const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ tableProps: { title: 'nu_config_suppliers_apply', - api: list, + api: listPage, columns, canResize: false, useSearchForm: false, @@ -93,7 +93,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ }, beforeFetch: async (params) => { if (!queryParam.applyStatus) { - queryParam.applyStatus = '1,2,3,4,5' + // queryParam.applyStatus = '1,2,3,4,5' } return Object.assign(params, queryParam); },