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() {
|
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);
|
||||||
|
@ -98,7 +98,7 @@ export async function clarifyReply(id: any) {
|
|||||||
* 查询标段
|
* 查询标段
|
||||||
* @param projectId
|
* @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, {
|
return request('/api/biz-service-ebtp-tender/v1/clarifydissent/packages/' + projectId + '?roomType=' + roomType, {
|
||||||
method: 'put'
|
method: 'put'
|
||||||
});
|
});
|
||||||
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,7 @@ export async function zmmultiOpenBizassessroom(params) {
|
|||||||
|
|
||||||
export async function resetVerificationCode(params) {
|
export async function resetVerificationCode(params) {
|
||||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/update/captcha/${params.id}`,
|
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/update/captcha/${params.id}`,
|
||||||
{method: 'put'});
|
{method: 'post'});
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function fetchJuryList(params) {
|
export async function fetchJuryList(params) {
|
||||||
|
Reference in New Issue
Block a user