Merge branch '20220509-多轮招募项目中变更公告延长的截止时间无效' into 'master-20220513'
5.13 1、澄清获取公告时间的接口增加roomType 2、resetVerificationCode接口改为post See merge request eshop/fe_service_ebtp_frontend!44
This commit is contained in:
@ -477,9 +477,10 @@ const ClarifyTheList: React.FC<{}> = () => {
|
||||
}
|
||||
function afterSave() {
|
||||
let packageIds = isNotEmpty(form.getFieldValue('packageId')) ? String(form.getFieldValue('packageId')).split(',') : [];
|
||||
let params = { roomType };
|
||||
if (isNotEmpty(packageIds) && packageIds.length !== 0) {
|
||||
//获取公告信息 判断文件的获取和截止时间与应答截止时间的关系
|
||||
getClarifyAnnoList(packageIds).then(res => {
|
||||
getClarifyAnnoList(packageIds, params).then(res => {
|
||||
if (res.code === 200) {
|
||||
//招标文件获取开始时间
|
||||
let docStartTimes = res.data.map((item: any) => item.docStartTime);
|
||||
|
@ -98,7 +98,7 @@ export async function clarifyReply(id: any) {
|
||||
* 查询标段
|
||||
* @param projectId
|
||||
*/
|
||||
export function getSections(projectId: any, roomType:any) {
|
||||
export function getSections(projectId: any, roomType: any) {
|
||||
return request('/api/biz-service-ebtp-tender/v1/clarifydissent/packages/' + projectId + '?roomType=' + roomType, {
|
||||
method: 'put'
|
||||
});
|
||||
@ -107,9 +107,10 @@ export function getSections(projectId: any, roomType:any) {
|
||||
* 根据标段id查询公告
|
||||
* @param data
|
||||
*/
|
||||
export function getClarifyAnnoList(data: any) {
|
||||
export function getClarifyAnnoList(data: any, params: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/anno/clarifyAnnoList', {
|
||||
method: 'post',
|
||||
data: data
|
||||
data: data,
|
||||
params: params,
|
||||
});
|
||||
}
|
@ -477,9 +477,10 @@ const ClarifyTheList: React.FC<{}> = () => {
|
||||
return;
|
||||
}
|
||||
let packageIds = isNotEmpty(form.getFieldValue('packageId')) ? String(form.getFieldValue('packageId')).split(',') : [];
|
||||
let params = { roomType };
|
||||
if (isNotEmpty(packageIds) && packageIds.length !== 0) {
|
||||
//获取公告信息 判断文件的获取和截止时间与应答截止时间的关系
|
||||
getClarifyAnnoList(packageIds).then(res => {
|
||||
getClarifyAnnoList(packageIds, params).then(res => {
|
||||
if (res.code == 200) {
|
||||
getRoomList({ sectionIdList: packageIds }).then((res2) => {
|
||||
if (res2.code == 200) {
|
||||
|
@ -107,10 +107,11 @@ export function getSections(projectId: any, roomType: any) {
|
||||
* 根据标段id查询公告
|
||||
* @param data
|
||||
*/
|
||||
export function getClarifyAnnoList(data: any) {
|
||||
export function getClarifyAnnoList(data: any, params: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/anno/clarifyAnnoList', {
|
||||
method: 'post',
|
||||
data: data
|
||||
data: data,
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user