修改供应商审核接口查询

This commit is contained in:
yangjun 2026-02-03 14:25:55 +08:00
parent 2ea1ad8033
commit dbb0c117f7
2 changed files with 5 additions and 3 deletions

View File

@ -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 });
/**
*

View File

@ -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);
},