5.9 澄清获取公告时间的接口增加roomType
This commit is contained in:
@ -477,9 +477,10 @@ const ClarifyTheList: React.FC<{}> = () => {
|
|||||||
}
|
}
|
||||||
function afterSave() {
|
function afterSave() {
|
||||||
let packageIds = isNotEmpty(form.getFieldValue('packageId')) ? String(form.getFieldValue('packageId')).split(',') : [];
|
let packageIds = isNotEmpty(form.getFieldValue('packageId')) ? String(form.getFieldValue('packageId')).split(',') : [];
|
||||||
|
let params = { roomType };
|
||||||
if (isNotEmpty(packageIds) && packageIds.length !== 0) {
|
if (isNotEmpty(packageIds) && packageIds.length !== 0) {
|
||||||
//获取公告信息 判断文件的获取和截止时间与应答截止时间的关系
|
//获取公告信息 判断文件的获取和截止时间与应答截止时间的关系
|
||||||
getClarifyAnnoList(packageIds).then(res => {
|
getClarifyAnnoList(packageIds, params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
//招标文件获取开始时间
|
//招标文件获取开始时间
|
||||||
let docStartTimes = res.data.map((item: any) => item.docStartTime);
|
let docStartTimes = res.data.map((item: any) => item.docStartTime);
|
||||||
|
@ -107,9 +107,10 @@ export function getSections(projectId: any, roomType:any) {
|
|||||||
* 根据标段id查询公告
|
* 根据标段id查询公告
|
||||||
* @param data
|
* @param data
|
||||||
*/
|
*/
|
||||||
export function getClarifyAnnoList(data: any) {
|
export function getClarifyAnnoList(data: any, params: any) {
|
||||||
return request('/api/biz-service-ebtp-bid/v1/anno/clarifyAnnoList', {
|
return request('/api/biz-service-ebtp-bid/v1/anno/clarifyAnnoList', {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data,
|
||||||
|
params: params,
|
||||||
});
|
});
|
||||||
}
|
}
|
@ -477,9 +477,10 @@ const ClarifyTheList: React.FC<{}> = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let packageIds = isNotEmpty(form.getFieldValue('packageId')) ? String(form.getFieldValue('packageId')).split(',') : [];
|
let packageIds = isNotEmpty(form.getFieldValue('packageId')) ? String(form.getFieldValue('packageId')).split(',') : [];
|
||||||
|
let params = { roomType };
|
||||||
if (isNotEmpty(packageIds) && packageIds.length !== 0) {
|
if (isNotEmpty(packageIds) && packageIds.length !== 0) {
|
||||||
//获取公告信息 判断文件的获取和截止时间与应答截止时间的关系
|
//获取公告信息 判断文件的获取和截止时间与应答截止时间的关系
|
||||||
getClarifyAnnoList(packageIds).then(res => {
|
getClarifyAnnoList(packageIds, params).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
getRoomList({ sectionIdList: packageIds }).then((res2) => {
|
getRoomList({ sectionIdList: packageIds }).then((res2) => {
|
||||||
if (res2.code == 200) {
|
if (res2.code == 200) {
|
||||||
|
@ -107,10 +107,11 @@ export function getSections(projectId: any, roomType: any) {
|
|||||||
* 根据标段id查询公告
|
* 根据标段id查询公告
|
||||||
* @param data
|
* @param data
|
||||||
*/
|
*/
|
||||||
export function getClarifyAnnoList(data: any) {
|
export function getClarifyAnnoList(data: any, params: any) {
|
||||||
return request('/api/biz-service-ebtp-bid/v1/anno/clarifyAnnoList', {
|
return request('/api/biz-service-ebtp-bid/v1/anno/clarifyAnnoList', {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data,
|
||||||
|
params: params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user