Merge branch '20220517-门户-3.0修改-单点中转页与商机列表页修改' into 'release_20220617'
6.17 门户 3.0修改 单点中转页与商机列表页修改 See merge request eshop/fe_service_ebtp_frontend!122
This commit is contained in:
@ -95,6 +95,8 @@ const LookingForBusinessOpportunitiesList: React.FC<{}> = () => {
|
||||
}
|
||||
|
||||
const docSaveBtn = "compact";//保存按钮是否展示
|
||||
//项目编号
|
||||
const ebpProjectNumber = getURLInformation('number');
|
||||
|
||||
function getBsName() {
|
||||
if (bidMethodDict.indexOf("procurement_mode_4") !== -1) {
|
||||
@ -108,12 +110,14 @@ const LookingForBusinessOpportunitiesList: React.FC<{}> = () => {
|
||||
useEffect(() => {
|
||||
setTableLoading(true);
|
||||
if (bidMethodDict.indexOf("procurement_mode_4") > -1) {
|
||||
lookingForBussinessOther(bussinessParams).then(res => {
|
||||
lookingForBussinessOther(isNotEmpty(ebpProjectNumber) ? { ...bussinessParams, ebpProjectNumber } : bussinessParams).then(res => {
|
||||
isNotEmpty(window.location.search) && history.push(window.location.pathname);
|
||||
setTableList(res.data);
|
||||
setTableLoading(false);
|
||||
})
|
||||
} else {
|
||||
lookingForBussiness(bussinessParams).then(res => {
|
||||
lookingForBussiness(isNotEmpty(ebpProjectNumber) ? { ...bussinessParams, ebpProjectNumber } : bussinessParams).then(res => {
|
||||
isNotEmpty(window.location.search) && history.push(window.location.pathname);
|
||||
setTableList(res.data);
|
||||
setTableLoading(false);
|
||||
})
|
||||
|
Reference in New Issue
Block a user