Merge branch 'master' of http://gitlab.tianti.tg.unicom.local/eshop/fe_service_ebtp_frontend into release_electronic_bid_evaluation_room

This commit is contained in:
jl-zhoujl2
2022-09-28 14:52:03 +08:00
68 changed files with 979 additions and 928 deletions

View File

@ -24,11 +24,11 @@ export async function GetNoticeMsg(params?: any) {
/*创建公告*/
export async function creatNotice(type: any, params?: any) {
let method = "post";
let url = "/api/biz-service-ebtp-bid/v1/anno";
if (type == "edit" || type == "change")
method = "put";
return request('/api/biz-service-ebtp-bid/v1/anno', {
method: method,
url = "/api/biz-service-ebtp-bid/v1/anno/updateById";
return request(url, {
method: "POST",
data: {
...params
},
@ -37,8 +37,8 @@ export async function creatNotice(type: any, params?: any) {
/*删除公告*/
export async function removeNotice(params?: any) {
let method = "delete";
return request('/api/biz-service-ebtp-bid/v1/anno/' + params, {method: method})
let method = "POST";
return request('/api/biz-service-ebtp-bid/v1/anno/delete/' + params, { method: method })
}
/*发布公告 type=0 正常发布*/
@ -95,7 +95,7 @@ export async function GetfileList(params?: any) {
/*开标大厅选择*/
export async function getChooseRoom(params?: any) {
let method = "get";
return request('/api/biz-service-ebtp-opening/v1/bizbidopenhall/list?openDate=' + params, {method: method})
return request('/api/biz-service-ebtp-opening/v1/bizbidopenhall/list?openDate=' + params, { method: method })
}
/*公告历史列表查询*/
@ -104,7 +104,7 @@ export async function GetHistoryNoticeList(params?: any) {
return request('/api/biz-service-ebtp-bid/v1/anno/record/pageList',
{
method: method,
data:{
data: {
...params
}
}
@ -116,9 +116,9 @@ export async function GetHistoryNoticeList(params?: any) {
* @param id
* @returns
*/
export async function getApprovalFor(id?:any){
return request(`/api/biz-service-ebtp-bid/v1/anno/approve/trace/${id}`,{
method:"POST",
export async function getApprovalFor(id?: any) {
return request(`/api/biz-service-ebtp-bid/v1/anno/approve/trace/${id}`, {
method: "POST",
})
}

View File

@ -62,8 +62,8 @@ export async function editSection(params: any) {
* @param params
*/
export async function deleteProcess(params: any) {
return request(`/api/biz-service-ebtp-resps/v1/tdoc/${params.tdocId}`, {
method: 'DELETE',
return request(`/api/biz-service-ebtp-resps/v1/tdoc/delete/${params.tdocId}`, {
method: 'POST',
});
}
@ -106,8 +106,8 @@ export async function toInsertOpenList(params: any) {
* @param params
*/
export async function toUpdateOpenList(params: any) {
return request('/api/biz-service-ebtp-resps/v1/tdoccatalogcontent', {
method: 'PUT',
return request('/api/biz-service-ebtp-resps/v1/tdoccatalogcontent/update', {
method: 'POST',
data: params,
});
}
@ -117,8 +117,8 @@ export async function toUpdateOpenList(params: any) {
* @param params
*/
export async function deleteItemizedQuotation(params: any) {
return request(`/api/biz-service-ebtp-resps/v1/tdoccatalogcontent/${params}`, {
method: 'DELETE',
return request(`/api/biz-service-ebtp-resps/v1/tdoccatalogcontent/delete/${params}`, {
method: 'POST',
});
}
@ -149,8 +149,8 @@ export async function addMenuList(params: any) {
* @param params
*/
export async function deleteMenuList(params: any) {
return request(`/api/biz-service-ebtp-resps/v1/tdoccatalog/${params}`, {
method: 'DELETE',
return request(`/api/biz-service-ebtp-resps/v1/tdoccatalog/delete/${params}`, {
method: 'POST',
});
}
@ -159,8 +159,8 @@ export async function deleteMenuList(params: any) {
* @param params
*/
export async function updateMenuList(params: any) {
return request('/api/biz-service-ebtp-resps/v1/tdoccatalog', {
method: 'PUT',
return request('/api/biz-service-ebtp-resps/v1/tdoccatalog/update', {
method: 'POST',
data: params,
});
}
@ -279,7 +279,7 @@ export async function comfirmSeleTemplate(params: any) {
* @param params
*/
export async function deleteTemplate(params: any) {
return request(`/api/biz-service-ebtp-resps/v1/tdoctemplate/${params}`, {
method: 'DELETE',
return request(`/api/biz-service-ebtp-resps/v1/tdoctemplate/delete/${params}`, {
method: 'POST',
});
}

View File

@ -3,7 +3,7 @@ import request from '@/utils/request';
/*公告列表请求*/
export async function GetNoticeList(params?:any){
export async function GetNoticeList(params?: any) {
return request('/api/biz-service-ebtp-bid/v1/anno/pageList', {
method: 'post',
data: {
@ -12,15 +12,15 @@ export async function GetNoticeList(params?:any){
})
}
/*当前公告可用包请求*/
export async function GetNoticeUsablePackage(params?:any){
return request('/api/biz-service-ebtp-bid/v1/anno/tobs/'+params)
export async function GetNoticeUsablePackage(params?: any) {
return request('/api/biz-service-ebtp-bid/v1/anno/tobs/' + params)
}
/*公告信息查询*/
export async function GetNoticeMsg(params?:any){
return request('/api/biz-service-ebtp-bid/v1/anno/'+params)
export async function GetNoticeMsg(params?: any) {
return request('/api/biz-service-ebtp-bid/v1/anno/' + params)
}
/*创建公告*/
export async function creatNotice(type:any,params?:any){
export async function creatNotice(type: any, params?: any) {
return request('/api/biz-service-ebtp-bid/v1/anno/zmMultiPub', {
method: "post",
data: {
@ -29,40 +29,40 @@ export async function creatNotice(type:any,params?:any){
})
}
// export async function creatNotice(type:any,params?:any){
// let method="post";
// let url="/api/biz-service-ebtp-bid/v1/anno";
// if(type=="edit")
// method="put";
// return request('/api/biz-service-ebtp-bid/v1/anno', {
// method: method,
// url="/api/biz-service-ebtp-bid/v1/anno/updateById";
// return request(url, {
// method: "POST",
// data: {
// ...params
// },
// })
// }
/*删除公告*/
export async function removeNotice(params?:any){
let method="delete";
return request('/api/biz-service-ebtp-bid/v1/anno/'+params,{method:method})
export async function removeNotice(params?: any) {
let method = "POST";
return request('/api/biz-service-ebtp-bid/v1/anno/delete/' + params, { method: method })
}
/*发布公告 type=0 正常发布*/
export async function releaseNotice(params?:any){
let method="post";
return request('/api/biz-service-ebtp-bid/v1/anno/publish/'+params+"/0",{
method:method,
export async function releaseNotice(params?: any) {
let method = "post";
return request('/api/biz-service-ebtp-bid/v1/anno/publish/' + params + "/0", {
method: method,
})
}
/*发布公告 type=1 线下发布*/
export async function releaseNoticeOffline(params?:any){
let method="post";
return request('/api/biz-service-ebtp-bid/v1/anno/publish/'+params+"/1",{
method:method,
export async function releaseNoticeOffline(params?: any) {
let method = "post";
return request('/api/biz-service-ebtp-bid/v1/anno/publish/' + params + "/1", {
method: method,
data: {
...params
},
})
}
/*再次发布公告*/
export async function releaseNoticeAgain(params?:any) {
export async function releaseNoticeAgain(params?: any) {
let method = "post";
return request('/api/biz-service-ebtp-bid/v1/anno/republish/' + params, {
method: method,
@ -72,7 +72,7 @@ export async function releaseNoticeAgain(params?:any) {
})
}
/*公告发起审批*/
export async function ApprovalNotice(params?:any) {
export async function ApprovalNotice(params?: any) {
let method = "post";
return request('/api/biz-service-ebtp-bid/v1/anno/approval/' + params, {
method: method,
@ -91,43 +91,43 @@ export async function GetfileList(params?: any) {
})
}
export async function GetfileUsablePackage(params?: any) {
return request('/api/biz-service-ebtp-bid/v1/document/tobs/getSectionList/'+params)
return request('/api/biz-service-ebtp-bid/v1/document/tobs/getSectionList/' + params)
}
export async function GetfileMsg(params?: any) {
return request('/api/biz-service-ebtp-bid/v1/document/'+params)
return request('/api/biz-service-ebtp-bid/v1/document/' + params)
}
export async function creatfile(type:any,params?:any){
let method="post";
if(type=="edit")
method="put";
return request('/api/biz-service-ebtp-bid/v1/document', {
method: method,
export async function creatfile(type: any, params?: any) {
let url = "/api/biz-service-ebtp-bid/v1/document";
if (type == "edit")
url = "/api/biz-service-ebtp-bid/v1/document/update";
return request(url, {
method: "POST",
data: {
...params
},
})
}
export async function removefile(params?:any){
let method="delete";
return request('/api/biz-service-ebtp-bid/v1/document/'+params,{method:method})
export async function removefile(params?: any) {
let method = "POST";
return request('/api/biz-service-ebtp-bid/v1/document/delete/' + params, { method: method })
}
/*开标大厅选择*/
export async function getChooseRoom(params?:any){
let method="get";
return request('/api/biz-service-ebtp-bid/v1/bizbidopenhall/list?opendate'+params,{method:method})
export async function getChooseRoom(params?: any) {
let method = "get";
return request('/api/biz-service-ebtp-bid/v1/bizbidopenhall/list?opendate' + params, { method: method })
}
/*当前公示可用包请求*/
export async function GetPublicityUsablePackage(params?:any,annoId?:any){
return request('/api/biz-service-ebtp-bid/v1/anno/tobs/pub/'+params +"?annoId="+annoId);
export async function GetPublicityUsablePackage(params?: any, annoId?: any) {
return request('/api/biz-service-ebtp-bid/v1/anno/tobs/pub/' + params + "?annoId=" + annoId);
}
/**
* 审批单链接查询(公告,变更公告,失败公告,邀请函,公示)
* @param id
* @returns
*/
export async function getApprovalFor(id?:any){
return request(`/api/biz-service-ebtp-bid/v1/anno/approve/trace/${id}`,{
method:"POST",
export async function getApprovalFor(id?: any) {
return request(`/api/biz-service-ebtp-bid/v1/anno/approve/trace/${id}`, {
method: "POST",
})
}

View File

@ -3,45 +3,45 @@ import { message } from 'antd';
//列表查询
export async function getList(roomId?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/zmmulti/list?roomId=${roomId}`,{
method:'GET',
return request(`/api/biz-service-ebtp-rsms/v1/jury/zmmulti/list?roomId=${roomId}`, {
method: 'GET',
});
}
//查询标包
export async function getSecs(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/section/list/${params.tpId}`,{
return request(`/api/biz-service-ebtp-rsms/v1/jury/section/list/${params.tpId}`, {
params,
});
}
//删除
export async function delOne(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/info/${params.id}`,{
method:'DELETE'
return request(`/api/biz-service-ebtp-rsms/v1/jury/info/${params.id}`, {
method: 'POST'
});
}
//创建评审小组
export async function saveGroup(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/info/save`,{
method:'POST',
data:{
return request(`/api/biz-service-ebtp-rsms/v1/jury/info/save`, {
method: 'POST',
data: {
...params,
},
});
}
//添加成员
export async function saveMember(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/save`,{
method:'POST',
data:{
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/save`, {
method: 'POST',
data: {
...params,
},
});
}
//更换专家
export async function changeEx(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/change/apply/save`,{
method:'POST',
data:{
return request(`/api/biz-service-ebtp-rsms/v1/jury/change/apply/save`, {
method: 'POST',
data: {
...params,
},
});
@ -52,9 +52,9 @@ export async function queryVoList(params?: any) {
}
//更换专家
export async function changeMember(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/change/member`,{
method:'PUT',
data:{
return request(`/api/biz-service-ebtp-rsms/v1/jury/change/member`, {
method: 'POST',
data: {
...params
}
});
@ -62,8 +62,8 @@ export async function changeMember(params?: any) {
//提交申请
export async function applyFor(params?: any) {
return request(`/api/biz-service-ebtp-rsms/v1/jury/extract/apply/${params.id}`,{
method:'POST',
return request(`/api/biz-service-ebtp-rsms/v1/jury/extract/apply/${params.id}`, {
method: 'POST',
});
}
//查是否开启评标

View File

@ -50,7 +50,7 @@ export async function getById(id: any) {
*/
export async function deleteClarify(id: any) {
return request('/api/biz-service-ebtp-tender/v1/recruit/clarifydissent/delete_clarify/' + id, {
method: 'put',
method: 'POST',
});
}
/**
@ -59,7 +59,7 @@ export async function deleteClarify(id: any) {
*/
export async function releaseClarify(id: any) {
return request('/api/biz-service-ebtp-tender/v1/recruit/clarifydissent/release_clarify/' + id, {
method: 'put',
method: 'POST',
});
}
/**
@ -100,7 +100,7 @@ export async function clarifyReply(id: any) {
*/
export function getSections(projectId: any, roomType: any) {
return request('/api/biz-service-ebtp-tender/v1/recruit/clarifydissent/packages/' + projectId + '?roomType=' + roomType, {
method: 'put'
method: 'POST'
});
}
/**

View File

@ -20,6 +20,7 @@ const orderState = {
0: '未支付',
1: '支付中',
2: '已支付',
4: '确认到账',
}
const IParticipate: React.FC = () => {