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:
@ -324,7 +324,7 @@
|
||||
"Authorization": token,
|
||||
"token": token
|
||||
},
|
||||
type: "PUT",
|
||||
type: "POST",
|
||||
success: function (re) {
|
||||
//开标成功进入开标室
|
||||
if (re.success) {
|
||||
|
@ -9,7 +9,7 @@ export async function getMenu(params: any) {
|
||||
}
|
||||
|
||||
export async function fgetUserMsg(params: any) {
|
||||
return request('/api/biz-service-ebtp-extend/v1/userinfo/get', {
|
||||
return request('/api/core-service-ebtp-userinfo/v1/userinfo/get', {
|
||||
method: 'GET',
|
||||
headers: { 'Authorization': params },
|
||||
data: params,
|
||||
|
@ -240,7 +240,7 @@ const Promenu: React.FC<{}> = () => {
|
||||
initChatUI() //智慧客服
|
||||
}} icon={<CustomerServiceTwoTone />}>我要咨询</Button>,
|
||||
((randerRole == 'ebtp-agency-project-manager' || randerRole == 'ebtp-purchase' || randerRole == 'ebtp-supervision') && MethodDict != "procurement_mode_7")
|
||||
? <Button key="manageyiyi" onClick={() => history.push("/Project/ProjectManage/ProjectManager/ObjectionComplaint")}>异议投诉</Button> : null,
|
||||
? <Button key="manageyiyi" onClick={() => history.push("/Project/ProjectManage/ProjectManager/ObjectionComplaint")}>异议回复</Button> : null,
|
||||
(randerRole == 'ebtp-supplier' && MethodDict != "procurement_mode_7")
|
||||
? <Button key="supplieryiyi" onClick={() => history.push("/Project/ProjectManage/Supplier/ObjectionComplaint")}>异议投诉</Button> : null,
|
||||
<Button key="fanhui1" type="primary" onClick={() => history.push(getReturnURL())}>返回</Button>
|
||||
|
@ -1,12 +1,14 @@
|
||||
import { logoutTokenApi } from '@/services/login';
|
||||
import { getURLInformation, isNotEmpty } from '@/utils/CommonUtils';
|
||||
import { getSessionRoleData } from '@/utils/session';
|
||||
import { Result, Typography } from 'antd';
|
||||
import { Button, Result, Typography } from 'antd';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { history } from 'umi';
|
||||
|
||||
const message = {
|
||||
const messageMap = {
|
||||
401: '您的用户信息有误,请联系管理员',
|
||||
402: '您的用户角色信息缺失,请联系管理员',
|
||||
403: '您的用户角色信息异常,请重新登录',
|
||||
90401: '您的登录已超时,请重新登录',
|
||||
404: '系统错误,请联系管理员',
|
||||
};
|
||||
@ -16,6 +18,7 @@ const RequestTimeoutPage: React.FC<{}> = () => {
|
||||
const { Text } = Typography;
|
||||
const [time, setTime] = useState<number>(10);
|
||||
const roleData = getSessionRoleData();
|
||||
const token = sessionStorage.getItem('Authorization');
|
||||
|
||||
useEffect(() => {
|
||||
let timeInteval: any
|
||||
@ -44,11 +47,18 @@ const RequestTimeoutPage: React.FC<{}> = () => {
|
||||
})
|
||||
}
|
||||
}
|
||||
const redirectLogin = () => {
|
||||
logoutTokenApi({ mall3_token: token }).then(res => {
|
||||
history.replace({
|
||||
pathname: '/userformal/login',
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
return (
|
||||
<Result
|
||||
title={message[code]}
|
||||
extra={isNotEmpty(roleData) && code == 402 && <Text type="secondary" strong>{time}秒后进入默认角色</Text>}
|
||||
title={messageMap[code]}
|
||||
extra={isNotEmpty(roleData) && code == 402 ? <Text type="secondary" strong>{time}秒后进入默认角色</Text> : code == 403 ? <Button type="primary" onClick={() => redirectLogin()}>重新登录</Button> : null}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
@ -50,8 +50,8 @@ export async function addSecondFile(param: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function updateSecondFile(param: any) {
|
||||
return request('/api/biz-service-ebtp-archive/v1/archiveFile', {
|
||||
method: 'PUT',
|
||||
return request('/api/biz-service-ebtp-archive/v1/archiveFile/update', {
|
||||
method: 'POST',
|
||||
data: param
|
||||
});
|
||||
}
|
||||
@ -61,8 +61,8 @@ export async function updateSecondFile(param: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function deleteSecondFile(param: any) {
|
||||
return request('/api/biz-service-ebtp-archive/v1/archiveFile/' + param, {
|
||||
method: 'DELETE',
|
||||
return request('/api/biz-service-ebtp-archive/v1/archiveFile/delete/' + param, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@ export async function getSecondArchiveDirectory(param: any) {
|
||||
*/
|
||||
export async function proArchive(param: any) {
|
||||
return request(`/api/biz-service-ebtp-archive/v1/archiveRounds/archive/` + param, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ export async function getAuctionViewAuctions(tpid:any) {
|
||||
*/
|
||||
export async function putOrderBidPrice(tpId: any, price: number) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/order/bid/price/' + tpId + '/' + price, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -21,11 +21,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
|
||||
},
|
||||
@ -33,8 +33,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 正常发布*/
|
||||
export async function releaseNotice(params?: any) {
|
||||
@ -92,19 +92,19 @@ export async function GetfileMsg(params?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/' + params)
|
||||
}
|
||||
export async function creatfile(type: any, params?: any) {
|
||||
let method = "post";
|
||||
let url = "/api/biz-service-ebtp-bid/v1/document";
|
||||
if (type == "edit")
|
||||
method = "put";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document', {
|
||||
method: method,
|
||||
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 })
|
||||
let method = "POST";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/delete/' + params, { method: method })
|
||||
}
|
||||
/*开标大厅选择*/
|
||||
export async function getChooseRoom(params?: any) {
|
||||
@ -133,14 +133,14 @@ export async function chooseSupplier(params: any) {
|
||||
}
|
||||
/*邀请函 删除供应商 后端付庆吉*/
|
||||
export async function deleteSupplier(params?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/resp/' + params, {
|
||||
method: "delete",
|
||||
return request('/api/biz-service-ebtp-bid/v1/resp/delete/' + params, {
|
||||
method: "POST",
|
||||
})
|
||||
}
|
||||
/*邀请函 供应商 更新联系人*/
|
||||
export async function updateSupplierUser(id?: any, userId?: any, params?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/resp/' + id + "/" + userId, {
|
||||
method: "put",
|
||||
method: "POST",
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ export async function addOneInfo(params?: any) {
|
||||
//其余节点保存 修改
|
||||
export async function updateOneInfo(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/anno/update`, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
};
|
||||
@ -40,7 +40,7 @@ export async function getTemInfo(id?: any) {
|
||||
//根据id删
|
||||
export async function delAll(id?: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/anno/delete/${id}`, {
|
||||
method: 'DELETE',
|
||||
method: 'POST',
|
||||
});
|
||||
};
|
||||
//=======================================================================================================模板
|
||||
@ -51,8 +51,8 @@ export async function getTemList() {
|
||||
};
|
||||
//修改模板列表
|
||||
export async function upTem(data: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate`,{
|
||||
method:'PUT',
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/update`, {
|
||||
method: 'POST',
|
||||
data: data,
|
||||
});
|
||||
};
|
||||
@ -65,7 +65,7 @@ export async function add(data:any) {
|
||||
};
|
||||
//删除模板列表
|
||||
export async function del(id: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/${id}`,{
|
||||
method:'DELETE',
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/delete/${id}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
};
|
@ -63,8 +63,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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -107,8 +107,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,
|
||||
});
|
||||
}
|
||||
@ -118,8 +118,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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -150,8 +150,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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -160,8 +160,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,
|
||||
});
|
||||
}
|
||||
@ -276,8 +276,8 @@ export async function getTemplateData(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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -321,7 +321,7 @@ export async function getTemplateData(params: any) {
|
||||
*/
|
||||
export async function deleteItemizedTemplate(params: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoctemplate/deleteContentTable/${params}`, {
|
||||
method: 'DELETE',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -150,7 +150,7 @@ export const saveT = async (fields: any) => {
|
||||
// 删除评审项接口
|
||||
export async function delDetail(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
method: 'POST'
|
||||
});
|
||||
};
|
||||
|
||||
@ -174,8 +174,8 @@ export const delDet = async (fields: any) => {
|
||||
};
|
||||
//删除类别接口
|
||||
export async function delCategory(id?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/category/${id}`, {
|
||||
method: 'DELETE'
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/category/del/${id}`, {
|
||||
method: 'POST'
|
||||
});
|
||||
};
|
||||
//删除类别方法
|
||||
|
@ -50,7 +50,7 @@ export async function getSections(params?: any) {
|
||||
// };
|
||||
//删除
|
||||
export async function delOne(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/section/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/section/del/${params.id}`, {
|
||||
method: 'POST'
|
||||
});
|
||||
};
|
||||
|
@ -37,7 +37,7 @@ export async function saveDevidedData(param: any) {
|
||||
*/
|
||||
export async function saveLeaderId(param: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/chooseLeader/?id=${param}`, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -25,8 +25,8 @@ export async function getBidAssessmentResultList(params?:any) {
|
||||
}
|
||||
//单一简化保存结果
|
||||
export async function saveResult(params?: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/save',{
|
||||
method:'put' ,
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/save/simple', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -21,11 +21,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")
|
||||
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
|
||||
},
|
||||
@ -33,8 +33,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 正常发布*/
|
||||
export async function releaseNotice(params?: any) {
|
||||
|
@ -17,7 +17,7 @@ export async function addContact(params: any) {
|
||||
*/
|
||||
export async function updateContact(params: any) {
|
||||
return request('/api/biz-service-ebtp-tender/v1/bizsuppliercontact/update', {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
@ -27,8 +27,8 @@ export async function updateContact(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function deleteContact(params: any) {
|
||||
return request(`/api/biz-service-ebtp-tender/v1/bizsuppliercontact/${params}`, {
|
||||
method: 'DELETE',
|
||||
return request(`/api/biz-service-ebtp-tender/v1/bizsuppliercontact/delete/${params}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -22,8 +22,8 @@ export async function getInvoiceList(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function addAndUpdateInvoice(params: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoicecommon', {
|
||||
method: 'PUT',
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoicecommon/update', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
@ -22,8 +22,8 @@ export async function getAddressList(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function addAndUpdateAddress(params: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoiceaddress', {
|
||||
method: 'PUT',
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoiceaddress/update', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ export async function getInfList(data: any) {
|
||||
*/
|
||||
export async function saveLeaderId(param: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/chooseLeader/?id=${param}`, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -38,8 +38,8 @@ export async function addQuestion(data: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function changeResult(data: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question', {
|
||||
method: 'put',
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/update', {
|
||||
method: 'POST',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
@ -49,8 +49,8 @@ export async function changeResult(data: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function dellQuestion(id: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/'+id, {
|
||||
method: 'DELETE',
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/del/' + id, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -49,8 +49,10 @@ export async function warningtListToRR(assessRoomId: any) { // 评审结果展
|
||||
export async function warningtListRRToYes(id: any, confirmStatus: any) { // 评审结果展示及预警 专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskresultwarning/updateResultWarning', {
|
||||
method: 'post',
|
||||
data: {"id": id,
|
||||
"confirmStatus":confirmStatus}
|
||||
data: {
|
||||
"id": id,
|
||||
"confirmStatus": confirmStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -87,7 +89,7 @@ export async function deviatedWarnListToRR(id: any) { // 偏离度提醒 通知
|
||||
|
||||
export async function deviatedWarnListJuryYes(params: any) { // 偏离度提醒 专家确认 填写说明内容上传
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
@ -102,17 +104,21 @@ export async function getDeviatedAnalysisList(params?: any) { // 偏离度分析
|
||||
export async function deviatedAnalysisListToRR(assessRoomId: any, reviewTurnId: any, reviewTurnSort: any) { // 偏离度分析 发送专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/risk/sendDeviatedAnalysisConfirm', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId,
|
||||
data: {
|
||||
"assessRoomId": assessRoomId,
|
||||
"reviewTurnId": reviewTurnId,
|
||||
"reviewTurnSort": reviewTurnSort}
|
||||
"reviewTurnSort": reviewTurnSort
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedAnalysisRRYes(id: any, confirmStatus: any) { // 偏离度分析 发送专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskdeviatedanalysis', {
|
||||
method: 'put',
|
||||
data: {id: id,
|
||||
confirmStatus: confirmStatus}
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskdeviatedanalysis/update', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
id: id,
|
||||
confirmStatus: confirmStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -49,8 +49,10 @@ export async function warningtListToRR(assessRoomId: any) { // 评审结果展
|
||||
export async function warningtListRRToYes(id: any, confirmStatus: any) { // 评审结果展示及预警 专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskresultwarning/updateResultWarning', {
|
||||
method: 'post',
|
||||
data: {"id": id,
|
||||
"confirmStatus":confirmStatus}
|
||||
data: {
|
||||
"id": id,
|
||||
"confirmStatus": confirmStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -58,16 +60,20 @@ export async function warningtListRRToYes(id: any,confirmStatus:any) { // 评审
|
||||
export async function getBlackList(assessRoomId: any, sf: any) { //黑名单
|
||||
return request('/api/biz-service-ebtp-resps/v1/tfilecontentdata/getQuoteWarning', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId,
|
||||
"sf":sf}
|
||||
data: {
|
||||
"assessRoomId": assessRoomId,
|
||||
"sf": sf
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function getBlackListOld(gysid: any, sf: any) { //黑名单历史
|
||||
return request('/api/biz-service-ebtp-resps/v1/tfilecontentdata/getQuoteWarning', {
|
||||
method: 'post',
|
||||
data: {"gysid": gysid,
|
||||
"sf":sf}
|
||||
data: {
|
||||
"gysid": gysid,
|
||||
"sf": sf
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -90,7 +96,7 @@ export async function deviatedWarnListToRR(id: any) { // 偏离度提醒 通知
|
||||
|
||||
export async function deviatedWarnListJuryYes(params: any) { // 偏离度提醒 专家确认 填写说明内容上传
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
@ -105,17 +111,21 @@ export async function getDeviatedAnalysisList(params?: any) { // 偏离度分析
|
||||
export async function deviatedAnalysisListToRR(assessRoomId: any, reviewTurnId: any, reviewTurnSort: any) { // 偏离度分析 发送专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/risk/sendDeviatedAnalysisConfirm', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId,
|
||||
data: {
|
||||
"assessRoomId": assessRoomId,
|
||||
"reviewTurnId": reviewTurnId,
|
||||
"reviewTurnSort": reviewTurnSort}
|
||||
"reviewTurnSort": reviewTurnSort
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedAnalysisRRYes(id: any, confirmStatus: any) { // 偏离度分析 发送专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskdeviatedanalysis', {
|
||||
method: 'put',
|
||||
data: {id: id,
|
||||
confirmStatus: confirmStatus}
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskdeviatedanalysis/update', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
id: id,
|
||||
confirmStatus: confirmStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ export async function getJuryDetailScoreData(params: any) {
|
||||
*/
|
||||
export function updateReviewStatus(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/updateReviewStatus', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
@ -67,7 +67,8 @@ const Index: React.FC<{}> = () => {
|
||||
const columns: any[] = [ // 列表数据
|
||||
{ title: `${showNameT.tbr}名称`, dataIndex: 'tendererName', key: 'tendererName' },
|
||||
{ title: '最新不含税总价', dataIndex: 'evaluatingContent', key: 'evaluatingContent' },
|
||||
{ title: '调整类别', dataIndex: 'type', key: 'type' ,render: (text: any, record: any, index: any) => {
|
||||
{
|
||||
title: '调整类别', dataIndex: 'type', key: 'type', render: (text: any, record: any, index: any) => {
|
||||
let a = "";
|
||||
if (record.tfileTendererprice !== null) {
|
||||
a = typeValue(record.tfileTendererprice.type);
|
||||
@ -75,7 +76,8 @@ const Index: React.FC<{}> = () => {
|
||||
return a;
|
||||
}
|
||||
},
|
||||
{ title: '调价说明', dataIndex: 'memo', key: 'memo',render: (text: any, record: any, index: any) => {
|
||||
{
|
||||
title: '调价说明', dataIndex: 'memo', key: 'memo', render: (text: any, record: any, index: any) => {
|
||||
var memo = "";
|
||||
if (record.tfileTendererprice !== null) {
|
||||
memo = record.tfileTendererprice.memo;
|
||||
@ -83,7 +85,8 @@ const Index: React.FC<{}> = () => {
|
||||
return memo;
|
||||
}
|
||||
},
|
||||
{ title: '调价附件', dataIndex: 'fileId', key: 'fileId' ,render: (text: any, record: any, index: any) => {
|
||||
{
|
||||
title: '调价附件', dataIndex: 'fileId', key: 'fileId', render: (text: any, record: any, index: any) => {
|
||||
var dev = "";
|
||||
if (record.tfileTendererprice !== null) {
|
||||
dev = <ExtendUpload bid={record.tfileTendererprice.fileId} uploadProps={{ name: "file", disabled: true, uploadProps: true }}></ExtendUpload>
|
||||
@ -300,7 +303,7 @@ const Index: React.FC<{}> = () => {
|
||||
<Input disabled />
|
||||
</Form.Item>
|
||||
<Form.Item name="newPrice" label="调整价:" rules={[{ required: true, message: '请输入调整价!' }]}>
|
||||
<Input placeholder="人民币" />
|
||||
<Input placeholder="人民币" type="number" />
|
||||
</Form.Item>
|
||||
<Form.Item name="memo" label="调价说明:" rules={[{ required: true, message: '请输入调价说明!' }]}>
|
||||
<TextArea rows={4} />
|
||||
|
@ -62,7 +62,7 @@ export async function getSupplierScoreData(params: any) {
|
||||
*/
|
||||
export function updateReviewStatus(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/updateReviewStatus', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ export async function submitDetail(data: any) { // 保存
|
||||
|
||||
export async function updateJudgesStatus(params: any) { // 提交
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/category/updateJudgesStatus', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ export async function submitDetail(data: any) { // 保存
|
||||
|
||||
export async function updateJudgesStatus(params: any) { // 提交
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/category/updateJudgesStatus', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ export function getReviewResult(assessId: any) {
|
||||
*/
|
||||
export function submitToExpertConfirm(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/submit/confirm', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
@ -45,7 +45,7 @@ export function saveToExpertConfirm(params: any) {
|
||||
*/
|
||||
export function submitReviewResult(id: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/submit/result/' + id, {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import request from '@/utils/request';
|
||||
*/
|
||||
export function reportBeConfirmed(id: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/expert/agree/' + id, {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
/**
|
||||
@ -24,7 +24,7 @@ export function reportBeConfirmed(id: any) {
|
||||
*/
|
||||
export function existingProblem(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/expert/refuse', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
@ -34,7 +34,7 @@ export function existingProblem(params: any) {
|
||||
*/
|
||||
export function reviewReportExpertsConfirmed(params: any) {
|
||||
return request('/api/biz-service-ebtp-evaluation/v1/review/report/expert/confirm', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
@ -29,13 +29,13 @@ export async function getNodeList(type : any) { // 列表
|
||||
|
||||
export async function deleteTurn(turnId: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/deleteTurn/' + turnId, {
|
||||
method: 'DELETE',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteNode(nodeId: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/deleteNode/' + nodeId, {
|
||||
method: 'DELETE',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
export async function addTurn(params?: any) {
|
||||
|
@ -23,7 +23,7 @@ export function reviewReportSave(data: any) {
|
||||
*/
|
||||
export function reviewReportSend(id: string) {
|
||||
return request('/api/biz-service-ebtp-evaluation/v1/review/report/send/' + id, {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@ import request from '@/utils/request';
|
||||
*/
|
||||
export function saveAttachment(data: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/anno/update/' + data.id, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: { ...data },
|
||||
});
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import request from '@/utils/request';
|
||||
|
||||
export async function addInvoice(params: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/saveInvoice', {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ export async function getViewData(param: any) {
|
||||
*/
|
||||
export async function ConfirmBill(param: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/confirmPay/' + param, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -54,6 +54,6 @@ export async function ConfirmBill(param: any) {
|
||||
*/
|
||||
export async function ReviewRejected(param: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/rejectPay/' + param, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
@ -21,14 +21,14 @@ export async function getInSingleInvoiceRecord(invoiceId:String) {
|
||||
//更改发票状态,由未开设置成已开
|
||||
export async function updateInvoiceState(invoiceId: String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/issueInvoice/' + invoiceId, {
|
||||
method:'PUT' ,
|
||||
method: 'POST',
|
||||
})
|
||||
}
|
||||
|
||||
//更改邮寄状态,由未邮寄设置成已邮寄
|
||||
export async function updateMailState(invoiceId: String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/mailInvoice/' + invoiceId, {
|
||||
method:'PUT' ,
|
||||
method: 'POST',
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -6,8 +6,8 @@ import request from '@/utils/request';
|
||||
*/
|
||||
|
||||
export async function updateInvoice(params: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice', {
|
||||
method: 'PUT',
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/update', {
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
export async function fgetUserMsg(params: any) {
|
||||
return request('/api/biz-service-ebtp-extend/v1/userinfo/get', {
|
||||
return request('/api/core-service-ebtp-userinfo/v1/userinfo/get', {
|
||||
method: 'GET',
|
||||
headers: { 'Authorization': params },
|
||||
data: params,
|
||||
|
@ -38,10 +38,16 @@ const Loading: React.FC<{}> = () => {
|
||||
await cooperReloadToken('', headers)
|
||||
await getUserData(token, url, extra, 1)
|
||||
} else if (userType == '2') {//专家
|
||||
await refreshTokenApi(params, header).then(async res => {
|
||||
if (res?.success == true) {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
await getUserData(token, url, extra, 1)
|
||||
// await refreshTokenApi(params, header).then(async res => {
|
||||
// if (res?.success == true) {
|
||||
// sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
// await getUserData(token, url, extra, 1)
|
||||
// }
|
||||
// })
|
||||
history.replace({
|
||||
pathname: '/401',
|
||||
query: {
|
||||
code: '403',
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ import request from '@/utils/request';
|
||||
* @returns
|
||||
*/
|
||||
export async function fgetUserMsg(params: any) {
|
||||
return request('/api/biz-service-ebtp-extend/v1/userinfo/get', {
|
||||
return request('/api/core-service-ebtp-userinfo/v1/userinfo/get', {
|
||||
method: 'GET',
|
||||
headers: { 'Authorization': params },
|
||||
data: params,
|
||||
|
@ -19,7 +19,7 @@ export async function getTime() {
|
||||
//修改状态
|
||||
export async function updateState(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidopenroom/updateOpenRoom/`, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ export async function getOpenDt(params?: any) {
|
||||
//唱价
|
||||
export async function singBid(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/updateSingConfigure`, {
|
||||
method:'PUT',
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ export async function getPackageDividedList(params: any) {
|
||||
|
||||
/**
|
||||
* 修改标段信息
|
||||
* @method PUT
|
||||
* @method POST
|
||||
* @param params
|
||||
*/
|
||||
export async function updateForm(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection",{
|
||||
method: 'PUT',
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection/update", {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
|
@ -73,8 +73,8 @@ export async function addAfresh(params: any) {
|
||||
* @method POST
|
||||
*/
|
||||
export async function updateAfresh(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation", {
|
||||
method:"PUT",
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/update", {
|
||||
method: "POST",
|
||||
data: params
|
||||
})
|
||||
}
|
||||
@ -84,8 +84,8 @@ export async function updateAfresh(params: any) {
|
||||
* @method POST
|
||||
*/
|
||||
export async function deleteAfresh(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/" + params, {
|
||||
method:"DELETE",
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/delete/" + params, {
|
||||
method: "POST",
|
||||
})
|
||||
}
|
||||
|
||||
@ -140,4 +140,3 @@ export async function getViewData(params: any) {
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -61,8 +61,8 @@ export async function addException(params?: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function updateException(params?: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException',{
|
||||
method: 'PUT',
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException/update', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
},
|
||||
@ -73,8 +73,8 @@ export async function updateException(params?: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function deleteException(params?: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException/' + params,{
|
||||
method: 'DELETE'
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException/delete/' + params, {
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
|
||||
@ -104,7 +104,7 @@ export async function getDefId(proId?: any) {
|
||||
*/
|
||||
export async function exceptionTakeEffect(params: any) {
|
||||
return request(`/api/biz-service-ebtp-project/v1/projectException/${params}`, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -124,8 +124,8 @@ export async function addFailAnno(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function updateFailAnno(params: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/anno`, {
|
||||
method: 'PUT',
|
||||
return request(`/api/biz-service-ebtp-bid/v1/anno/updateById`, {
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
@ -51,8 +51,8 @@ export async function getAllDict(){
|
||||
* @param params
|
||||
*/
|
||||
export async function update(params: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord', {
|
||||
method: 'PUT',
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/update', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ export async function getById(id: any) {
|
||||
*/
|
||||
export async function deleteClarify(id: any) {
|
||||
return request('/api/biz-service-ebtp-tender/v1/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/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/clarifydissent/packages/' + projectId + '?roomType=' + roomType, {
|
||||
method: 'put'
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
@ -17,7 +17,7 @@ export async function getSecs(params?: any) {
|
||||
//删除
|
||||
export async function delOne(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/info/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
//创建评审小组
|
||||
@ -54,7 +54,7 @@ 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',
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -60,6 +60,6 @@ export function getSections(projectId: any) {
|
||||
*/
|
||||
export function changeSupStatus(dissentId: any) {
|
||||
return request('/api/biz-service-ebtp-tender/v1/clarifydissent/checkReply/' + dissentId, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
@ -75,19 +75,19 @@ export async function saveTem(params: any) {
|
||||
//删除单项
|
||||
export async function delDetail(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/detail/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
method: 'POST'
|
||||
});
|
||||
};
|
||||
//删除类别
|
||||
export async function delCategory(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/category/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/category/del/${params.id}`, {
|
||||
method: 'POST'
|
||||
});
|
||||
};
|
||||
//删除打分最小项细则
|
||||
export async function delStandard(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/standard/${params.id}`, {
|
||||
method: 'DELETE'
|
||||
method: 'POST'
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -71,7 +71,7 @@ export async function getJuryDetailScoreData(params: any) {
|
||||
*/
|
||||
export function updateReviewStatus(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/updateReviewStatus', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ export async function getJuryDetailScoreData(params: any) {
|
||||
*/
|
||||
export function updateReviewStatus(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/updateReviewStatus', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
@ -29,8 +29,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,
|
||||
});
|
||||
}
|
||||
@ -40,8 +40,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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ export async function comfirmItemizedSeleTemplate(params: any) {
|
||||
*/
|
||||
export async function deleteItemizedTemplate(params: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoctemplate/deleteContentTable/${params}`, {
|
||||
method: 'DELETE',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -159,7 +159,7 @@ export async function getLastConf(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',
|
||||
});
|
||||
}
|
@ -29,8 +29,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,
|
||||
});
|
||||
}
|
||||
@ -40,8 +40,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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -72,8 +72,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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -82,8 +82,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,
|
||||
});
|
||||
}
|
||||
@ -224,8 +224,8 @@ 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',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ import request from "@/utils/request";
|
||||
*/
|
||||
export function singingPricePreservation(data: any) {
|
||||
return request('/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/saveSingConfigure', {
|
||||
method:'put',
|
||||
method: 'POST',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ export async function getOpenDt(params?: any) {
|
||||
//唱价
|
||||
export async function singBid(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/updateSingConfigure`, {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -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 正常发布*/
|
||||
@ -100,11 +100,11 @@ export async function GetfileMsg(params?: any) {
|
||||
}
|
||||
|
||||
export async function creatfile(type: any, params?: any) {
|
||||
let method = "post";
|
||||
let url = "/api/biz-service-ebtp-bid/v1/document";
|
||||
if (type == "edit" || type == "change")
|
||||
method = "put";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document', {
|
||||
method: method,
|
||||
url = "/api/biz-service-ebtp-bid/v1/document/update";
|
||||
return request(url, {
|
||||
method: "POST",
|
||||
data: {
|
||||
...params
|
||||
},
|
||||
@ -112,8 +112,8 @@ export async function creatfile(type: any, params?: any) {
|
||||
}
|
||||
|
||||
export async function removefile(params?: any) {
|
||||
let method = "delete";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/' + params, {method: method})
|
||||
let method = "POST";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/delete/' + params, { method: method })
|
||||
}
|
||||
|
||||
/*开标大厅选择*/
|
||||
@ -145,15 +145,15 @@ export async function chooseSupplier(params: any) {
|
||||
|
||||
/*邀请函 删除供应商 后端付庆吉*/
|
||||
export async function deleteSupplier(params?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/resp/' + params, {
|
||||
method: "delete",
|
||||
return request('/api/biz-service-ebtp-bid/v1/resp/delete/' + params, {
|
||||
method: "POST",
|
||||
})
|
||||
}
|
||||
|
||||
/*邀请函 供应商 更新联系人*/
|
||||
export async function updateSupplierUser(id?: any, userId?: any, params?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/resp/' + id + "/" + userId, {
|
||||
method: "put",
|
||||
method: "POST",
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -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 正常发布*/
|
||||
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
@ -29,11 +29,11 @@ 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
|
||||
// },
|
||||
@ -41,8 +41,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 正常发布*/
|
||||
export async function releaseNotice(params?: any) {
|
||||
@ -97,19 +97,19 @@ export async function GetfileMsg(params?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/' + params)
|
||||
}
|
||||
export async function creatfile(type: any, params?: any) {
|
||||
let method="post";
|
||||
let url = "/api/biz-service-ebtp-bid/v1/document";
|
||||
if (type == "edit")
|
||||
method="put";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document', {
|
||||
method: method,
|
||||
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})
|
||||
let method = "POST";
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/delete/' + params, { method: method })
|
||||
}
|
||||
/*开标大厅选择*/
|
||||
export async function getChooseRoom(params?: any) {
|
||||
|
@ -16,7 +16,7 @@ export async function getSecs(params?: any) {
|
||||
//删除
|
||||
export async function delOne(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/info/${params.id}`, {
|
||||
method:'DELETE'
|
||||
method: 'POST'
|
||||
});
|
||||
}
|
||||
//创建评审小组
|
||||
@ -53,7 +53,7 @@ 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',
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
|
@ -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'
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
@ -20,6 +20,7 @@ const orderState = {
|
||||
0: '未支付',
|
||||
1: '支付中',
|
||||
2: '已支付',
|
||||
4: '确认到账',
|
||||
}
|
||||
|
||||
const IParticipate: React.FC = () => {
|
||||
|
@ -71,7 +71,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
await refreshTokenApi(params, header).then(res => {
|
||||
if (res?.success == true) {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -93,7 +93,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -114,7 +114,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
await refreshTokenApi(params, header).then(res => {
|
||||
if (res?.success == true) {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -93,7 +93,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -115,7 +115,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
await refreshTokenApi(params, header).then(res => {
|
||||
if (res?.success == true) {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -93,7 +93,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -114,7 +114,7 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ const Index: React.FC<{}> = () => {
|
||||
await refreshTokenApi(params, header).then(res => {
|
||||
if (res?.success == true) {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
@ -65,7 +65,7 @@ const Index: React.FC<{}> = () => {
|
||||
refreshToken(res?.data)
|
||||
} else {
|
||||
sessionStorage.setItem('Authorization', res?.data?.value);
|
||||
sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
// sessionStorage.setItem('refreshToken', res?.data?.refreshToken.value);
|
||||
sessionStorage.setItem('scope', res?.data?.scope);
|
||||
history.push('/redirect');
|
||||
}
|
||||
|
@ -8,12 +8,12 @@ export async function fetchManagerList(params) {
|
||||
// 开启评审
|
||||
export async function openBizassessroom(params) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/openRoom/${params.id}`,
|
||||
{method: 'put'});
|
||||
{ method: 'POST' });
|
||||
}
|
||||
// 开启评审多轮招募
|
||||
export async function zmmultiOpenBizassessroom(params) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/assessroom/zmmulti/openRoom/${params.id}`,
|
||||
{method: 'put'});
|
||||
{ method: 'POST' });
|
||||
}
|
||||
|
||||
export async function resetVerificationCode(params) {
|
||||
@ -35,12 +35,12 @@ export async function fetchJuryMemInfo(params) {
|
||||
|
||||
export async function updateJuryMemInfo(params) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/update`,
|
||||
{method: 'put',params:params});
|
||||
{ method: 'POST', params: params });
|
||||
}
|
||||
|
||||
export async function validateVerificationCode(params) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/check/captcha?${stringify(params)}`,
|
||||
{method: 'put'});
|
||||
{ method: 'POST' });
|
||||
}
|
||||
|
||||
export async function fetchbidslist(params) {
|
||||
@ -52,10 +52,12 @@ export async function pushRedirectRe(params) {
|
||||
}
|
||||
// 查询初审汇总表
|
||||
export async function fetchPreList(params) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findEarlySummary`,{method: 'POST',
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findEarlySummary`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}});
|
||||
}
|
||||
});
|
||||
}
|
||||
// 查询供应商信息
|
||||
export async function fetchPreSupplierList(params) {
|
||||
@ -63,18 +65,22 @@ export async function fetchPreSupplierList(params) {
|
||||
}
|
||||
// 查询详审汇总表
|
||||
export async function fetchPreListt(params) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findResultSummary`,{method: 'POST',
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findResultSummary`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 查询有限数量制(公开比选)
|
||||
export async function bxmultifetchPreListt(params) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bxmulti/eval/summary/findResultSummary`,{method: 'POST',
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bxmulti/eval/summary/findResultSummary`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}});
|
||||
}
|
||||
});
|
||||
}
|
||||
// 根据评审室id获取确认承诺书状态
|
||||
export async function getCheckedByRoomId(params) {
|
||||
|
@ -87,7 +87,7 @@ export async function refreshTokenApi(params: any, headers: any) {
|
||||
}
|
||||
|
||||
export async function getPassword(params: any) { // 获取后台验证码接口
|
||||
return request('/api/biz-service-ebtp-extend/v1/userpassword/validatePassword', {
|
||||
return request('/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword', {
|
||||
method: 'POST',
|
||||
params: params
|
||||
});
|
||||
@ -107,4 +107,14 @@ export async function getFakeCaptcha(params: any) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 用户登出
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export async function logoutTokenApi(params: any) {
|
||||
return request('/api/auth/logout', {
|
||||
method: 'GET',
|
||||
params: params
|
||||
});
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ request.interceptors.request.use(async (url, options) => {
|
||||
url.startsWith('/api/auth/reloadToken') ||
|
||||
url.startsWith('/api/auth/reloadPartnerToken') ||
|
||||
url.startsWith('/api/api/mall-expe') ||
|
||||
url == '/api/biz-service-ebtp-extend/v1/userpassword/validatePassword' ||
|
||||
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword' ||
|
||||
url.startsWith('/api/notification')
|
||||
) {
|
||||
headers = {
|
||||
@ -83,7 +83,7 @@ request.interceptors.request.use(async (url, options) => {
|
||||
};
|
||||
url.startsWith('/api/api/mall-prox') ||
|
||||
url.startsWith('/api/api/mall-expe') ||
|
||||
url == '/api/biz-service-ebtp-extend/v1/userpassword/validatePassword'
|
||||
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword'
|
||||
? (options.credentials = 'omit')
|
||||
: null;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user