From 1b216700c95ecc04676ae82c40afbcd228253df5 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Mon, 3 Apr 2023 12:42:54 +0800 Subject: [PATCH] =?UTF-8?q?4.3=20=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=B4=9F=E8=B4=A3=E4=BA=BA=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Tender/ProjectsInvolved/index.tsx | 4 ++-- src/utils/SupplierList/service.ts | 18 ++++++++++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/pages/Tender/ProjectsInvolved/index.tsx b/src/pages/Tender/ProjectsInvolved/index.tsx index df01582..8048836 100644 --- a/src/pages/Tender/ProjectsInvolved/index.tsx +++ b/src/pages/Tender/ProjectsInvolved/index.tsx @@ -2,7 +2,7 @@ import React, { useState, useRef, } from 'react'; import { Button, Tabs, Form, Input, Modal, Checkbox, message, PageHeader, Popconfirm, Progress, Spin } from 'antd'; import ProTable, { ActionType, ProColumns } from '@ant-design/pro-table'; import { getSection, exitProject, getProject, getOther, supplierRegister, exitProjectPayCheck } from './service'; -import { getSupplierUser } from '@/utils/SupplierList/service' +import { getSupplierUserByUserInfo } from '@/utils/SupplierList/service' import { getProMethod, getSessionUserData } from '@/utils/session'; import '@/assets/ld_style.less'; import { history } from 'umi'; @@ -600,7 +600,7 @@ const Index: React.FC<{}> = () => { actionRef={actionRef}//action触发后更新表格 columns={personColumns} request={async (params) => - await getSupplierUser({ + await getSupplierUserByUserInfo({ ...params, partnerMdmCode: organId, pageNum: params.current, diff --git a/src/utils/SupplierList/service.ts b/src/utils/SupplierList/service.ts index ca366e0..5abd9da 100644 --- a/src/utils/SupplierList/service.ts +++ b/src/utils/SupplierList/service.ts @@ -17,8 +17,8 @@ export async function getSupplierList(params: any) { } -/*获取供应商联系人信息 后端 山分 */ -export async function getSupplierUser(params: any) { +/*获取供应商联系人信息 后端 吉分20230331版本 */ +export async function getSupplierUserByUserInfo(params: any) { /* *暂无url * */ @@ -30,4 +30,18 @@ export async function getSupplierUser(params: any) { }) +} +/*获取供应商联系人信息 后端 山分 */ +export async function getSupplierUser(params: any) { + /* + *暂无url + * */ + return request('/api/api/core-service-supplierbase/outer/v1.0/serviceEshopProviderEmpMdm/findUserCountListBySupplierCodePage', { + method: 'post', + data: { + ...params + } + }) + + }