5.17 增加寻找商机中间页和供应商项目跟进跳转页
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