4.3 修复修改负责人接口

This commit is contained in:
jl-zhoujl2
2023-04-03 12:42:54 +08:00
parent 670826db87
commit 1b216700c9
2 changed files with 18 additions and 4 deletions

View File

@ -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,

View File

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