Merge branch 'release_electronic_bid_evaluation_room' 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) {
|
||||
|
@ -13,6 +13,7 @@ interface BidEvalAppointmentProps {
|
||||
onSubmit: (value: any) => void;
|
||||
reload: () => void;
|
||||
values: any;
|
||||
initValue: any;//预约时间初始值
|
||||
type: string; //0-选择评标室 1-修改预约 2-重评预约评标室
|
||||
}
|
||||
|
||||
@ -54,7 +55,7 @@ export const proviceEnum = {
|
||||
const modalHeight = window.innerHeight * 96 / 100;
|
||||
|
||||
const BidEvalAppointment: React.FC<BidEvalAppointmentProps> = (props) => {
|
||||
const { modalVisible, onCancel, onSubmit, reload, values, type } = props;
|
||||
const { modalVisible, onCancel, onSubmit, reload, values, initValue, type } = props;
|
||||
const actionRef = useRef<ActionType>();
|
||||
const [form] = Form.useForm();
|
||||
//项目id
|
||||
@ -190,6 +191,10 @@ const BidEvalAppointment: React.FC<BidEvalAppointmentProps> = (props) => {
|
||||
setDisabledMap({});
|
||||
}, [values])
|
||||
|
||||
useEffect(() => {
|
||||
initValue && form.setFieldsValue({ ...initValue, reserveStartDate: initValue.startTime, reserveEndDate: initValue.endTime });
|
||||
}, [initValue, modalVisible])
|
||||
|
||||
useEffect(() => {
|
||||
selectedRowKeys.length > 0 && getDisabledTime(selectedRowKeys);
|
||||
}, [selectedRowKeys])
|
||||
@ -301,7 +306,7 @@ const BidEvalAppointment: React.FC<BidEvalAppointmentProps> = (props) => {
|
||||
rules={[{ required: true, message: '请选择' }]}
|
||||
extra={<span style={{ color: "#b30000" }}>预约时间范围 7:00 ~ 18:00</span>}
|
||||
>
|
||||
<DatePicker showTime showNow={false} disabledDate={disabledDate} disabledTime={(current) => otherDisabledDateTime(current, disabledMap)} showMinute={false} showSecond={false} format={dateFormat} style={{ width: '100%' }} renderExtraFooter={() => <span style={{ color: '#b30000' }}>注:若时间被占用,则置灰不可选</span>} />
|
||||
<DatePicker showTime showNow={false} disabledDate={disabledDate} disabledTime={(current) => otherDisabledDateTime(current, disabledMap, "startTime")} showMinute={false} showSecond={false} format={dateFormat} style={{ width: '100%' }} renderExtraFooter={() => <span style={{ color: '#b30000' }}>注:若时间被占用,则置灰不可选</span>} />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
@ -310,7 +315,7 @@ const BidEvalAppointment: React.FC<BidEvalAppointmentProps> = (props) => {
|
||||
name="reserveEndDate"
|
||||
rules={[{ required: true, message: '请选择' }]}
|
||||
>
|
||||
<DatePicker showTime showNow={false} disabledDate={disabledDate} disabledTime={(current) => otherDisabledDateTime(current, disabledMap)} showMinute={false} showSecond={false} format={dateFormat} style={{ width: '100%' }} renderExtraFooter={() => <span style={{ color: '#b30000' }}>注:若时间被占用,则置灰不可选</span>} />
|
||||
<DatePicker showTime showNow={false} disabledDate={disabledDate} disabledTime={(current) => otherDisabledDateTime(current, disabledMap, "endTime")} showMinute={false} showSecond={false} format={dateFormat} style={{ width: '100%' }} renderExtraFooter={() => <span style={{ color: '#b30000' }}>注:若时间被占用,则置灰不可选</span>} />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
|
@ -37,13 +37,13 @@ export const disabledDateTime = () => ({
|
||||
disabledHours: () => [...range(0, 7), ...range(19, 24)],
|
||||
});
|
||||
//不可选小时(额外不可选)
|
||||
export const otherDisabledDateTime = (current: any, disabledMap: any) => {
|
||||
export const otherDisabledDateTime = (current: any, disabledMap: any, type: string) => {
|
||||
let otherHour: any[] = range(0, 24);
|
||||
if (current) {
|
||||
otherHour = [];
|
||||
if (Object.keys(disabledMap).length != 0) {
|
||||
const time = moment(current).format("yyyy-MM-DD");
|
||||
disabledMap[time] && (otherHour = [...disabledMap[time]]);
|
||||
disabledMap[time] && (otherHour = [...disabledMap[time][type]]);
|
||||
}
|
||||
}
|
||||
return ({
|
||||
|
@ -9,9 +9,9 @@ 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},
|
||||
headers: { 'Authorization': params },
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
@ -196,24 +196,24 @@ const Promenu: React.FC<{}> = () => {
|
||||
setAnchorEl(null);
|
||||
};
|
||||
const initChatUI = () => { //智慧客服
|
||||
if(MethodDict!='procurement_mode_6' && MethodDict!='procurement_mode_7' && window.location.pathname.indexOf('BidEvaluation')!=-1){
|
||||
if (MethodDict != 'procurement_mode_6' && MethodDict != 'procurement_mode_7' && window.location.pathname.indexOf('BidEvaluation') != -1) {
|
||||
message.warn('非谈判类项目【评标】阶段禁止沟通')
|
||||
}else{
|
||||
} else {
|
||||
var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement
|
||||
if(tempForm){
|
||||
if (tempForm) {
|
||||
var hideInput = document.getElementById('tempInput_CustomerService') as HTMLInputElement
|
||||
if(hideInput){
|
||||
hideInput.value= window.location.pathname
|
||||
}else{
|
||||
if (hideInput) {
|
||||
hideInput.value = window.location.pathname
|
||||
} else {
|
||||
hideInput = document.createElement("input")
|
||||
hideInput.id = 'tempInput_CustomerService'
|
||||
hideInput.type="hidden"
|
||||
hideInput.name= 'sceneUrl'
|
||||
hideInput.value= window.location.pathname
|
||||
hideInput.type = "hidden"
|
||||
hideInput.name = 'sceneUrl'
|
||||
hideInput.value = window.location.pathname
|
||||
tempForm.appendChild(hideInput)
|
||||
}
|
||||
tempForm.submit();
|
||||
}else{
|
||||
} else {
|
||||
message.warn('请先选择跟进的项目')
|
||||
}
|
||||
}
|
||||
@ -236,11 +236,11 @@ const Promenu: React.FC<{}> = () => {
|
||||
history.push("/ProjectLayout/Archive/projectArchive")
|
||||
setButtonValue(stepButtonClick(data?.[data?.length - 1]))
|
||||
}}>项目归档</Button> : null,
|
||||
<Button key="customerservice" onClick={() =>{
|
||||
<Button key="customerservice" onClick={() => {
|
||||
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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -90,7 +90,7 @@ export async function proArchive(param: any) {
|
||||
* 异常归档-列表查询
|
||||
* @param param
|
||||
*/
|
||||
export async function getExceptionArchive(params: any) {
|
||||
export async function getExceptionArchive(params: any) {
|
||||
return request(`/api/biz-service-ebtp-project/v1/projectSection/selectArchiveByProjectId/${params}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
@ -100,7 +100,7 @@ export async function proArchive(param: any) {
|
||||
* 异常归档-添加到异常处理
|
||||
* @param param
|
||||
*/
|
||||
export async function addToArchiveList(params: any) {
|
||||
export async function addToArchiveList(params: any) {
|
||||
return request(`/api/biz-service-ebtp-archive/v1/archiveRounds/initExceptionArchiveByRounds/${params}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
@ -108,9 +108,9 @@ export async function proArchive(param: any) {
|
||||
|
||||
//列表文件下载==》高海峰
|
||||
export async function selectParam2(params?: any) {
|
||||
return request('/api/core-service-ebtp-updownload/v1/hulk/push',{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request('/api/core-service-ebtp-updownload/v1/hulk/push', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
|
@ -5,8 +5,8 @@ import request from '@/utils/request';
|
||||
* 获取竞拍内容数据
|
||||
* @param params
|
||||
*/
|
||||
export async function getAuctionViewAuctions(tpid:any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/auction/getAuctionViewAuctions/'+tpid,{
|
||||
export async function getAuctionViewAuctions(tpid: any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/auction/getAuctionViewAuctions/' + tpid, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
@ -16,9 +16,9 @@ export async function getAuctionViewAuctions(tpid:any) {
|
||||
* 我要竞拍
|
||||
* @param params
|
||||
*/
|
||||
export async function putOrderBidPrice(tpId:any, price:number) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/order/bid/price/' + tpId+'/' + price,{
|
||||
method: 'PUT',
|
||||
export async function putOrderBidPrice(tpId: any, price: number) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/order/bid/price/' + tpId + '/' + price, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -27,8 +27,8 @@ export async function putOrderBidPrice(tpId:any, price:number) {
|
||||
* 围观加一
|
||||
* @param params
|
||||
*/
|
||||
export async function updatetOnlookers(tpid:any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/onlookers/updatetOnlookers/'+tpid,{
|
||||
export async function updatetOnlookers(tpid: any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/onlookers/updatetOnlookers/' + tpid, {
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
@ -38,8 +38,8 @@ export async function updatetOnlookers(tpid:any) {
|
||||
* 定时刷新数据 (时间 延时次数 价格)
|
||||
* @param params
|
||||
*/
|
||||
export async function getMoneyTime(tpid:any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/auction/getMoneyTime/'+tpid,{
|
||||
export async function getMoneyTime(tpid: any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/auction/getMoneyTime/' + tpid, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
@ -47,6 +47,6 @@ export async function getMoneyTime(tpid:any) {
|
||||
* 定时刷新
|
||||
* @param tpId
|
||||
*/
|
||||
export function getRedisBidData (tpId:any) {
|
||||
export function getRedisBidData(tpId: any) {
|
||||
return request('/api/biz-service-ebtp-auction/v1/order/getRedisBidData/' + tpId);
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -6,9 +6,9 @@ export async function getProInfo(proId?: any) {
|
||||
};
|
||||
//获取项目数据
|
||||
export async function getInfo(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/anno/list`,{
|
||||
method:'GET',
|
||||
params:params,
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/anno/list`, {
|
||||
method: 'GET',
|
||||
params: 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',
|
||||
});
|
||||
};
|
||||
//=======================================================================================================模板
|
||||
@ -50,22 +50,22 @@ export async function getTemList() {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/list`);
|
||||
};
|
||||
//修改模板列表
|
||||
export async function upTem(data:any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate`,{
|
||||
method:'PUT',
|
||||
data:data,
|
||||
export async function upTem(data: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/update`, {
|
||||
method: 'POST',
|
||||
data: data,
|
||||
});
|
||||
};
|
||||
//修改模板列表
|
||||
export async function add(data:any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate`,{
|
||||
method:'POST',
|
||||
data:data,
|
||||
export async function add(data: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate`, {
|
||||
method: 'POST',
|
||||
data: data,
|
||||
});
|
||||
};
|
||||
//删除模板列表
|
||||
export async function del(id:any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/${id}`,{
|
||||
method:'DELETE',
|
||||
export async function del(id: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/annotemplate/statictemplate/delete/${id}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
};
|
@ -5,7 +5,7 @@ import { getUserToken } from '@/utils/session';
|
||||
* 应答格式列表查询
|
||||
* @param params
|
||||
*/
|
||||
export async function getResponseList(params: any,page: any) {
|
||||
export async function getResponseList(params: any, page: any) {
|
||||
return request('/api/biz-service-ebtp-resps/v1/tdoc/page', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
@ -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,
|
||||
});
|
||||
}
|
||||
@ -227,7 +227,7 @@ export async function getReferenceInfo(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function getTotalReference() {
|
||||
return request('/api/api/core-service-supplierbase/outer/v1.0/coreSupplier/getLeftMenu',{method: "POST"})
|
||||
return request('/api/api/core-service-supplierbase/outer/v1.0/coreSupplier/getLeftMenu', { method: "POST" })
|
||||
}
|
||||
|
||||
/**
|
||||
@ -235,7 +235,7 @@ export async function getTotalReference() {
|
||||
* @param params
|
||||
*/
|
||||
export async function getSampleData(params: any) {
|
||||
return request('/api/api/core-service-supplierbase/outer/v1.0/coreSupplier/findSupplierDemo',{method: "POST",data: params})
|
||||
return request('/api/api/core-service-supplierbase/outer/v1.0/coreSupplier/findSupplierDemo', { method: "POST", data: params })
|
||||
}
|
||||
|
||||
/**
|
||||
@ -253,7 +253,7 @@ export async function getTemplateData(params: any) {
|
||||
* 存成模板
|
||||
* @param params
|
||||
*/
|
||||
export async function saveTemplate(params: any) {
|
||||
export async function saveTemplate(params: any) {
|
||||
return request('/api/biz-service-ebtp-resps/v1/tdoctemplate/insertTdocCatalogToTemplate', {
|
||||
method: 'POST',
|
||||
data: params
|
||||
@ -264,7 +264,7 @@ export async function getTemplateData(params: any) {
|
||||
* 确认选择模板(引用模板)
|
||||
* @param params
|
||||
*/
|
||||
export async function comfirmSeleTemplate(params: any) {
|
||||
export async function comfirmSeleTemplate(params: any) {
|
||||
return request('/api/biz-service-ebtp-resps/v1/tdoccatalog/selectTemplateToCatalog', {
|
||||
method: 'POST',
|
||||
data: params
|
||||
@ -275,9 +275,9 @@ 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',
|
||||
export async function deleteTemplate(params: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoctemplate/delete/${params}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -286,7 +286,7 @@ export async function getTemplateData(params: any) {
|
||||
* 查询模板数据(分项报价表模板)
|
||||
* @param params
|
||||
*/
|
||||
export async function getItemizedTemplateData(params: any) {
|
||||
export async function getItemizedTemplateData(params: any) {
|
||||
return request('/api/biz-service-ebtp-resps/v1/tdoctemplate/contentpage', {
|
||||
method: 'POST',
|
||||
data: params
|
||||
@ -297,7 +297,7 @@ export async function getTemplateData(params: any) {
|
||||
* 存成模板(分项报价表模板)
|
||||
* @param params
|
||||
*/
|
||||
export async function saveItemizedTemplate(params: any) {
|
||||
export async function saveItemizedTemplate(params: any) {
|
||||
return request('/api/biz-service-ebtp-resps/v1/tdoctemplate/insertTdocContentTableToTemplate', {
|
||||
method: 'POST',
|
||||
data: params
|
||||
@ -308,7 +308,7 @@ export async function getTemplateData(params: any) {
|
||||
* 确认选择模板(分项报价表模板)
|
||||
* @param params
|
||||
*/
|
||||
export async function comfirmItemizedSeleTemplate(params: any) {
|
||||
export async function comfirmItemizedSeleTemplate(params: any) {
|
||||
return request('/api/biz-service-ebtp-resps/v1/tdoccontenttable/saveTemplateToContentTable', {
|
||||
method: 'POST',
|
||||
data: params
|
||||
@ -319,9 +319,9 @@ export async function getTemplateData(params: any) {
|
||||
* 删除模板(分项报价表模板)
|
||||
* @param params
|
||||
*/
|
||||
export async function deleteItemizedTemplate(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'
|
||||
});
|
||||
};
|
||||
//删除类别方法
|
||||
@ -203,7 +203,7 @@ export async function delStandard(params?: any) {
|
||||
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/standard`, {
|
||||
method: 'POST',
|
||||
data:params,
|
||||
data: params,
|
||||
});
|
||||
};
|
||||
//删除详细评分标准方法
|
||||
|
@ -36,9 +36,9 @@ export async function useConfig(params?: any) {
|
||||
// };
|
||||
//查询标段
|
||||
export async function getSections(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/section/findAllSection`,{
|
||||
method:'POST',
|
||||
data:params,
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/review/config/section/findAllSection`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
};
|
||||
//查询已有配置标段
|
||||
@ -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'
|
||||
});
|
||||
};
|
||||
|
@ -27,7 +27,7 @@ export async function getJuryData(param: any) {
|
||||
export async function saveDevidedData(param: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/divide/save`, {
|
||||
method: 'POST',
|
||||
data:param
|
||||
data: param
|
||||
});
|
||||
}
|
||||
|
||||
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -47,8 +47,8 @@ export async function saveLeaderId(param: any) {
|
||||
*/
|
||||
export async function createReviewRoom(param: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/assessroom/zmmulti/create`, {
|
||||
method: 'POST',
|
||||
data: param
|
||||
method: 'POST',
|
||||
data: param
|
||||
});
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ export async function createReviewRoom(param: any) {
|
||||
*/
|
||||
export async function getPackageList(param: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/assessroom/zmmulti/query/initroom/${param}`, {
|
||||
method: 'GET',
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ export async function getPackageList(param: any) {
|
||||
*/
|
||||
export async function getAnnouncementById(param: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/anno/getBySectionId/${param}`, {
|
||||
method: 'POST',
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -76,8 +76,8 @@ export async function getAnnouncementById(param: any) {
|
||||
* 根据项目id查流程
|
||||
* @param params
|
||||
*/
|
||||
export async function getDefId(proId?: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/projectconfig/querydefid/${proId}`,{
|
||||
export async function getDefId(proId?: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/projectconfig/querydefid/${proId}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
@ -86,10 +86,10 @@ export async function getAnnouncementById(param: any) {
|
||||
* 关闭评审室保存原因并关闭评审室(多轮招募)
|
||||
* @param param
|
||||
*/
|
||||
export async function saveClosingReason(param: any) {
|
||||
export async function saveClosingReason(param: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/assessroom/zmmulti/finishRoom`, {
|
||||
method: 'POST',
|
||||
data: param,
|
||||
method: 'POST',
|
||||
data: param,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,8 @@ class manager extends PureComponent {
|
||||
//评委会设置
|
||||
onJurySet = (record) => {
|
||||
this.savePageAndParams();
|
||||
this.props.dispatch(routerRedux.push(`/ProjectLayout/JudgingPanel?roomId=${record.id}&secId=${record.sectionId}`))
|
||||
history.push({ pathname: '/ProjectLayout/JudgingPanel', state: { roomId: record.id, secId: record.sectionId, openTime: record.openTime } });
|
||||
// this.props.dispatch(routerRedux.push(`/ProjectLayout/JudgingPanel?roomId=${record.id}&secId=${record.sectionId}&openTime=${record.openTime}`));
|
||||
}
|
||||
//创建评审室
|
||||
onCreateClick = async () => {
|
||||
|
@ -1,33 +1,33 @@
|
||||
import request from '@/utils/request';
|
||||
// import {demo} from './data.d';
|
||||
|
||||
export async function getBidAssessmentResultsList(params?:any) {
|
||||
return request('/api/biz-service-ebtp-calibration/v1/bizbidreviewresult/getSectionAsseslist',{
|
||||
method:'post' ,
|
||||
data:{
|
||||
export async function getBidAssessmentResultsList(params?: any) {
|
||||
return request('/api/biz-service-ebtp-calibration/v1/bizbidreviewresult/getSectionAsseslist', {
|
||||
method: 'post',
|
||||
data: {
|
||||
...params
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
export async function pushBidAssessmentResult(params1?:any,params2?:any,assesRoomId?:any) {
|
||||
return request('/api/biz-service-ebtp-calibration/v1/bizbidreviewresult/noticeEbpByAssessId?projectId='+params1+"§ionId="+params2 +"&assessRoomId="+assesRoomId,{
|
||||
method:'get'
|
||||
export async function pushBidAssessmentResult(params1?: any, params2?: any, assesRoomId?: any) {
|
||||
return request('/api/biz-service-ebtp-calibration/v1/bizbidreviewresult/noticeEbpByAssessId?projectId=' + params1 + "§ionId=" + params2 + "&assessRoomId=" + assesRoomId, {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export async function getBidAssessmentResultList(params?:any) {
|
||||
return request('/api/biz-service-ebtp-calibration/v1/bizinterfacelog/getListByAssessId',{
|
||||
method:'post' ,
|
||||
data:{
|
||||
export async function getBidAssessmentResultList(params?: any) {
|
||||
return request('/api/biz-service-ebtp-calibration/v1/bizinterfacelog/getListByAssessId', {
|
||||
method: 'post',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
})
|
||||
}
|
||||
//单一简化保存结果
|
||||
export async function saveResult(params?:any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/reviewresult/save',{
|
||||
method:'put' ,
|
||||
data:{
|
||||
export async function saveResult(params?: any) {
|
||||
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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -41,10 +41,10 @@ export async function getContactList(params: any) {
|
||||
`/api/biz-service-ebtp-tender/v1/bizsuppliercontact/getSupplierContactByParam`,
|
||||
{
|
||||
method: 'POST',
|
||||
data:{
|
||||
basePageRequest:{
|
||||
pageNo:params.current,
|
||||
pageSize:params.pageSize
|
||||
data: {
|
||||
basePageRequest: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -9,9 +9,9 @@ export async function getInvoiceList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoicecommon/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
pageNo:params.current,
|
||||
pageSize:params.pageSize
|
||||
params: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize
|
||||
}
|
||||
},
|
||||
);
|
||||
@ -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,
|
||||
});
|
||||
}
|
||||
|
@ -9,9 +9,9 @@ export async function getAddressList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoiceaddress/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
pageNo:params.current,
|
||||
pageSize:params.pageSize
|
||||
params: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize
|
||||
}
|
||||
},
|
||||
);
|
||||
@ -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,
|
||||
});
|
||||
}
|
||||
|
@ -1,10 +1,8 @@
|
||||
import { Button, Col, Input, List, message, PaginationProps, Row, Tag, Tooltip } from "antd"
|
||||
import moment from "moment";
|
||||
import { Button, Col, Input, List, message, Row, Tag, Tooltip } from "antd"
|
||||
import '../Home/style.less'
|
||||
import './style.less';
|
||||
import content_title from '@/assets/screen/content_title.png'
|
||||
import React, { useEffect, useRef, useState } from "react"
|
||||
import { LeftCircleOutlined, RightCircleOutlined } from "@ant-design/icons";
|
||||
import { getMonitorList } from "./service";
|
||||
import { isNotEmpty } from "@/utils/CommonUtils";
|
||||
import { history } from "umi";
|
||||
@ -139,15 +137,15 @@ const provinceList = [{
|
||||
"provincesRemark": "新疆",
|
||||
},];
|
||||
|
||||
const itemRender: PaginationProps['itemRender'] = (_, type, originalElement) => {
|
||||
if (type === 'prev') {
|
||||
return <LeftCircleOutlined className="pagination-icon" />;
|
||||
}
|
||||
if (type === 'next') {
|
||||
return <RightCircleOutlined className="pagination-icon" />;
|
||||
}
|
||||
return originalElement;
|
||||
};
|
||||
// const itemRender: PaginationProps['itemRender'] = (_, type, originalElement) => {
|
||||
// if (type === 'prev') {
|
||||
// return <LeftCircleOutlined className="pagination-icon" />;
|
||||
// }
|
||||
// if (type === 'next') {
|
||||
// return <RightCircleOutlined className="pagination-icon" />;
|
||||
// }
|
||||
// return originalElement;
|
||||
// };
|
||||
export const homeClick = () => {
|
||||
history.push("/ElecMonitorScreen/Home");
|
||||
}
|
||||
@ -332,6 +330,7 @@ export default () => {
|
||||
grid={{ gutter: 16, column: 3 }}
|
||||
pagination={{
|
||||
defaultPageSize: 6,
|
||||
showSizeChanger: false,
|
||||
onChange: onPageChange,
|
||||
current: pageNo.current,
|
||||
total: totalItem,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Col, Radio, Row, Table, Tag, Tooltip, Image, Drawer } from "antd"
|
||||
import { Col, Radio, Row, Table, Tooltip, Image, Drawer } from "antd"
|
||||
import React, { useEffect, useRef, useState } from "react"
|
||||
import { EarlyWarn, LocalTime, onCell, onHeaderCell } from "../Home";
|
||||
import '../Home/style.less'
|
||||
@ -6,13 +6,13 @@ import '../MonitorRoom/style.less'
|
||||
import './style.less';
|
||||
import warn_icon_01 from '@/assets/screen/warn_icon_01.png'
|
||||
import warn_icon_02 from '@/assets/screen/warn_icon_02.png'
|
||||
import { getBidRoomData, getCameraList, getExpertReports, getLookBackList } from "./service";
|
||||
import { getAllStranger, getBidRoomData, getCameraList, getExpertReports, getLookBackList } from "./service";
|
||||
import { bidStatusMap, homeClick, previousClick } from "../MonitorRoom";
|
||||
import { getWarnData } from "../Home/service";
|
||||
import ScreenVideoPlay from "@/components/ElecBidEvaluation/ScreenVideoPlay";
|
||||
import { pictureDisplayPath } from "@/utils/DownloadUtils";
|
||||
import { getURLInformation } from "@/utils/CommonUtils";
|
||||
import { getDicData } from "@/utils/session";
|
||||
import { getDicData, getSessionRoleData } from "@/utils/session";
|
||||
|
||||
const statusMap = ["未报道", "已报道"];
|
||||
|
||||
@ -126,6 +126,8 @@ export default (props: any) => {
|
||||
const [caremaList, setCaremaList] = useState<any[]>([]);
|
||||
//报道列表
|
||||
const [expertList, setExpertList] = useState<any[]>([]);
|
||||
//陌生人预警-进行中
|
||||
const [strangerList, setStrangerList] = useState<any[]>([]);
|
||||
//陌生人预警-回看
|
||||
const [backStrangerList, setBackStrangerList] = useState<any[]>([]);
|
||||
//人数预警-回看
|
||||
@ -142,6 +144,8 @@ export default (props: any) => {
|
||||
const zoomImg = useRef<any>(null);
|
||||
//定时刷新间隔
|
||||
const _time = 10000;
|
||||
//当前登录人角色
|
||||
const roleCode = getSessionRoleData()?.roleCode;
|
||||
|
||||
const onChange = (e: any) => {
|
||||
setBtnSelect(e.target.value);
|
||||
@ -182,7 +186,7 @@ export default (props: any) => {
|
||||
getCaremaData(data);//获取监控点列表
|
||||
if (data.status == "2") {//评标结束-回看
|
||||
getBackList("2");//数量预警
|
||||
getBackList("3");//陌生人预警
|
||||
roleCode == "ebtp-watcher" && getBackList("3");//陌生人预警
|
||||
}
|
||||
}
|
||||
})
|
||||
@ -193,6 +197,7 @@ export default (props: any) => {
|
||||
if (res?.code == 200) {
|
||||
const data = res?.data;
|
||||
setEarlyWarnData(data);
|
||||
(roleCode == "ebtp-watcher" && data?.strangerDetails) && setStrangerList(data.strangerDetails.slice(0, 5));
|
||||
}
|
||||
})
|
||||
}
|
||||
@ -203,10 +208,6 @@ export default (props: any) => {
|
||||
const data = res?.data;
|
||||
setCaremaList(data);
|
||||
if (data?.length > 0) {
|
||||
//获取回看时间
|
||||
// getCaremaBackList(monitorId).then(response => {
|
||||
// if (response?.code == 200) {
|
||||
// const backData = response?.data;
|
||||
setCameraSelect(data[0].id);
|
||||
setCameraParams(data[0].platform);
|
||||
setTimeout(() => {
|
||||
@ -216,8 +217,6 @@ export default (props: any) => {
|
||||
videoRef.current?.play(data[0].deviceCode);
|
||||
}
|
||||
}, 4000);
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
})
|
||||
@ -233,12 +232,24 @@ export default (props: any) => {
|
||||
}
|
||||
//获取告警-回看数据
|
||||
const getBackList = (type: string) => {
|
||||
getLookBackList({ reserveId: monitorId, type }).then(res => {
|
||||
getLookBackList({ reserveId: monitorId, type, pageNo: 1, pageSize: type == "3" ? 1 : 5 }).then(res => {
|
||||
if (res?.code == 200) {
|
||||
const data = res?.data.records;
|
||||
if (type == "2") {//2-人数预警
|
||||
setBackNumberList(data);
|
||||
} else if (type == "3") {//3-陌生人预警
|
||||
data.length > 0 && setBackStrangerList(data[0].details.slice(0, 5));
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
//获取陌生人告警-全部告警
|
||||
const getAllStrangerList = () => {
|
||||
getAllStranger({ reserveId: monitorId }).then(res => {
|
||||
if (res?.code == 200) {
|
||||
const data = res?.data;
|
||||
if (data && data.length > 0) {
|
||||
setStrangerList(data);
|
||||
setBackStrangerList(data);
|
||||
}
|
||||
}
|
||||
@ -293,6 +304,7 @@ export default (props: any) => {
|
||||
getRoomData();
|
||||
getWarnInfo();
|
||||
getExpertList();
|
||||
if (roleCode == "ebtp-site-supervision" || roleCode == "ebtp-after-supervision") { getAllStrangerList(); }
|
||||
}, [])
|
||||
//定时器
|
||||
useEffect(() => {
|
||||
@ -301,6 +313,7 @@ export default (props: any) => {
|
||||
interval = setInterval(function () {
|
||||
getWarnInfo();
|
||||
getExpertList();
|
||||
if (roleCode == "ebtp-site-supervision" || roleCode == "ebtp-after-supervision") { getAllStrangerList(); }
|
||||
}, _time);
|
||||
}
|
||||
return () => {
|
||||
@ -365,12 +378,16 @@ export default (props: any) => {
|
||||
<Row>
|
||||
<Col span={6}></Col>
|
||||
<Col span={18}>
|
||||
<div className="answer-supplier">
|
||||
<span>供应商名称({basicInfo?.supplierLength}):</span>
|
||||
<Tooltip placement="topLeft" title={<>{basicInfo?.sectionPayerList?.map((item: any, index: any) => <p key={index}>{item.sectionName}({item.payerNumber}):{item.payerNames.join("、")}</p>)}</>} visible={visible} color="rgba(4,20,47,0.85)" overlayInnerStyle={{ width: '250%' }} overlayClassName="screen-tag">
|
||||
<span>{basicInfo?.sectionPayerList?.[0]?.payerNames.slice(0, 5).join("、")}<a onMouseEnter={() => setVisible(true)} onMouseLeave={() => setVisible(false)}>全部</a></span>
|
||||
</Tooltip>
|
||||
</div>
|
||||
{basicInfo?.status == "2" ? (
|
||||
<div className="answer-supplier">
|
||||
<span>供应商数量({basicInfo?.supplierLength}):</span>
|
||||
<Tooltip placement="topLeft" title={<>{basicInfo?.sectionPayerList?.map((item: any, index: any) => <p key={index}>{item.sectionName}({item.payerNumber}):{item.payerNames.join("、")}</p>)}</>} visible={visible} color="rgba(4,20,47,0.85)" overlayInnerStyle={{ width: '250%' }} overlayClassName="screen-tag">
|
||||
<span>{basicInfo?.sectionPayerList?.[0]?.sectionName}({basicInfo?.sectionPayerList?.[0]?.payerNumber})<a onMouseEnter={() => setVisible(true)} onMouseLeave={() => setVisible(false)}>全部</a></span>
|
||||
</Tooltip>
|
||||
</div>
|
||||
) : (
|
||||
<div style={{ height: "40px" }}></div>
|
||||
)}
|
||||
</Col>
|
||||
{/* <Col span={6}></Col> */}
|
||||
</Row>
|
||||
@ -403,14 +420,14 @@ export default (props: any) => {
|
||||
? backStrangerList.map((item: any, index: any) => (
|
||||
<div className="stranger-list-card" key={index}>
|
||||
<div>
|
||||
<p><span>时间:</span>{item.createDate}</p>
|
||||
<p><span>时间:</span>{item.eventTime}</p>
|
||||
</div>
|
||||
<div>
|
||||
<Image src={pictureDisplayPath + "?filePath=" + item.details[0].filePath} preview={{ getContainer: "null" }} height={"100%"} onClick={() => drawerClick(item.details[0].filePath)} />
|
||||
<Image src={pictureDisplayPath + "?filePath=" + item.filePath} preview={{ getContainer: "null" }} height={"100%"} onClick={() => drawerClick(item.filePath)} />
|
||||
</div>
|
||||
</div>
|
||||
))
|
||||
: earlyWarnData?.strangerDetails?.map((item: any, index: any) => (
|
||||
: strangerList.map((item: any, index: any) => (
|
||||
<div className="stranger-list-card" key={index}>
|
||||
<div>
|
||||
<p><span>时间:</span>{item.eventTime}</p>
|
||||
|
@ -57,3 +57,15 @@ export async function getLookBackList(params: any) {
|
||||
// method: 'GET',
|
||||
// });
|
||||
// }
|
||||
|
||||
/**
|
||||
* 陌生人预警-查询全部
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export async function getAllStranger(params: any) {
|
||||
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/alarm/screamOfAlarm/strangerImg', {
|
||||
method: 'GET',
|
||||
params: 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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ export async function baseFinalSubmit(params: any) {
|
||||
* 通过评审室id查询评审分工
|
||||
* @param param
|
||||
*/
|
||||
export async function getDevidedData(param: any) {
|
||||
export async function getDevidedData(param: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/divide/findListByRoomId/` + param, {
|
||||
method: 'GET',
|
||||
});
|
||||
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ export async function dellQuestion(id: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function changeQuestion(id: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/'+id, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
@ -3,21 +3,21 @@ import request from '@/utils/request';
|
||||
export async function getList(assessRoomId: any) { // IP MAC查看
|
||||
return request('/api/biz-service-ebtp-resps/v1/tfilewarning/list', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId}
|
||||
data: { "assessRoomId": assessRoomId }
|
||||
});
|
||||
}
|
||||
|
||||
export async function getQuoteWarning(assessRoomId: any) { //报价一致预警
|
||||
return request('/api/biz-service-ebtp-resps/v1/tfilecontentdata/getQuoteWarning', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId}
|
||||
data: { "assessRoomId": assessRoomId }
|
||||
});
|
||||
}
|
||||
|
||||
export async function getRRQuoteWarning(assessRoomId: any) { //报价一致预警 专家通知情况
|
||||
return request('/api/biz-service-ebtp-resps/v1/riskpricewarning/list', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId}
|
||||
data: { "assessRoomId": assessRoomId }
|
||||
});
|
||||
}
|
||||
export async function quoteWarningToRR(params: any) { //报价一致预警 通知专家
|
||||
@ -42,21 +42,23 @@ export async function getRRWarningtList(params: any) { // 评审结果展示及
|
||||
export async function warningtListToRR(assessRoomId: any) { // 评审结果展示及预警 提醒专家
|
||||
return request('/api/biz-service-ebtp-rsms/v1/risk/sendJuryMemberConfirm', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId,}
|
||||
data: { "assessRoomId": assessRoomId, }
|
||||
});
|
||||
}
|
||||
|
||||
export async function warningtListRRToYes(id: any,confirmStatus: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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export async function getBlackList(projectId:any,assessRoomId: any) { //黑名单
|
||||
return request('/api/biz-service-ebtp-bid/v1/supplier/info/getRiskShowBlacklistByRoomId?tpId='+`${projectId}`+"&roomId="+`${assessRoomId}`, {
|
||||
export async function getBlackList(projectId: any, assessRoomId: any) { //黑名单
|
||||
return request('/api/biz-service-ebtp-bid/v1/supplier/info/getRiskShowBlacklistByRoomId?tpId=' + `${projectId}` + "&roomId=" + `${assessRoomId}`, {
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
@ -69,25 +71,25 @@ export async function getBidDocSmartCheckList(assessRoomId: any) { //投标文
|
||||
}
|
||||
|
||||
export async function getDeviatedWarnList(assessRoomId: any) { // 偏离度提醒
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomId/'+`${assessRoomId}`, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomId/' + `${assessRoomId}`, {
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
export async function getDeviatedWarnListByJury(assessRoomId: any) { // 偏离度提醒 专家查询
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomIdAndMember/'+`${assessRoomId}`, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomIdAndMember/' + `${assessRoomId}`, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedWarnListToRR(id: any) { // 偏离度提醒 通知专家
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/send/'+`${id}`, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/send/' + `${id}`, {
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedWarnListJuryYes(params: any) { // 偏离度提醒 专家确认 填写说明内容上传
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
@ -99,25 +101,29 @@ export async function getDeviatedAnalysisList(params?: any) { // 偏离度分析
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedAnalysisListToRR(assessRoomId: any,reviewTurnId:any,reviewTurnSort: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,
|
||||
"reviewTurnId": reviewTurnId,
|
||||
"reviewTurnSort": reviewTurnSort}
|
||||
data: {
|
||||
"assessRoomId": assessRoomId,
|
||||
"reviewTurnId": reviewTurnId,
|
||||
"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}
|
||||
export async function deviatedAnalysisRRYes(id: any, confirmStatus: any) { // 偏离度分析 发送专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskdeviatedanalysis/update', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
id: id,
|
||||
confirmStatus: confirmStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function replace(a: any,b: any,c: any){
|
||||
return a.replace(b,c);
|
||||
export async function replace(a: any, b: any, c: any) {
|
||||
return a.replace(b, c);
|
||||
}
|
||||
|
||||
//风险限定供应商
|
||||
|
@ -3,21 +3,21 @@ import request from '@/utils/request';
|
||||
export async function getList(assessRoomId: any) { // IP MAC查看
|
||||
return request('/api/biz-service-ebtp-resps/v1/tfilewarning/list', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId}
|
||||
data: { "assessRoomId": assessRoomId }
|
||||
});
|
||||
}
|
||||
|
||||
export async function getQuoteWarning(assessRoomId: any) { //报价一致预警
|
||||
return request('/api/biz-service-ebtp-resps/v1/tfilecontentdata/getQuoteWarning', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId}
|
||||
data: { "assessRoomId": assessRoomId }
|
||||
});
|
||||
}
|
||||
|
||||
export async function getRRQuoteWarning(assessRoomId: any) { //报价一致预警 专家通知情况
|
||||
return request('/api/biz-service-ebtp-resps/v1/riskpricewarning/list', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId}
|
||||
data: { "assessRoomId": assessRoomId }
|
||||
});
|
||||
}
|
||||
export async function quoteWarningToRR(params: any) { //报价一致预警 通知专家
|
||||
@ -42,55 +42,61 @@ export async function getRRWarningtList(params: any) { // 评审结果展示及
|
||||
export async function warningtListToRR(assessRoomId: any) { // 评审结果展示及预警 提醒专家
|
||||
return request('/api/biz-service-ebtp-rsms/v1/risk/sendJuryMemberConfirm', {
|
||||
method: 'post',
|
||||
data: {"assessRoomId": assessRoomId,}
|
||||
data: { "assessRoomId": assessRoomId, }
|
||||
});
|
||||
}
|
||||
|
||||
export async function warningtListRRToYes(id: any,confirmStatus: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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export async function getBlackList(assessRoomId: any,sf: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) { //黑名单历史
|
||||
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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function getDeviatedWarnList(assessRoomId: any) { // 偏离度提醒
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomId/'+`${assessRoomId}`, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomId/' + `${assessRoomId}`, {
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
export async function getDeviatedWarnListByJury(assessRoomId: any) { // 偏离度提醒 专家查询
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomIdAndMember/'+`${assessRoomId}`, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/findBidDeviatedWarnListByRoomIdAndMember/' + `${assessRoomId}`, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedWarnListToRR(id: any) { // 偏离度提醒 通知专家
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/send/'+`${id}`, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn/send/' + `${id}`, {
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedWarnListJuryYes(params: any) { // 偏离度提醒 专家确认 填写说明内容上传
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/deviated/warn', {
|
||||
method: 'put',
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
@ -102,25 +108,29 @@ export async function getDeviatedAnalysisList(params?: any) { // 偏离度分析
|
||||
});
|
||||
}
|
||||
|
||||
export async function deviatedAnalysisListToRR(assessRoomId: any,reviewTurnId:any,reviewTurnSort: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,
|
||||
"reviewTurnId": reviewTurnId,
|
||||
"reviewTurnSort": reviewTurnSort}
|
||||
data: {
|
||||
"assessRoomId": assessRoomId,
|
||||
"reviewTurnId": reviewTurnId,
|
||||
"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}
|
||||
export async function deviatedAnalysisRRYes(id: any, confirmStatus: any) { // 偏离度分析 发送专家确认
|
||||
return request('/api/biz-service-ebtp-rsms/v1/riskdeviatedanalysis/update', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
id: id,
|
||||
confirmStatus: confirmStatus
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function replace(a: any,b: any,c: any){
|
||||
return a.replace(b,c);
|
||||
export async function replace(a: any, b: any, c: any) {
|
||||
return a.replace(b, c);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
@ -99,10 +99,10 @@ export function findPriceScoreRecord(params: any) {
|
||||
* 根据评审室id获取评审室信息
|
||||
* @param params
|
||||
*/
|
||||
export async function getRoomDataById(params: any) {
|
||||
export async function getRoomDataById(params: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/${params}`, {
|
||||
method: 'GET',
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@ import { Table, Button, Space, Form, Radio, Select, Input, InputNumber, Upload,
|
||||
import { TableListItem } from './data';
|
||||
import ExtendUpload from "@/utils/ExtendUpload";
|
||||
import '@/assets/ld_style.less';
|
||||
import {findArithmeticError, getList,getRoomType,savePrice} from './service';
|
||||
import { findArithmeticError, getList, getRoomType, savePrice } from './service';
|
||||
import { getProMethod, getRoomId, getSessionRoleData, getSessionUserData } from '@/utils/session';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
|
||||
@ -15,36 +15,36 @@ const formItemLayout = {
|
||||
wrapperCol: { span: 14 },
|
||||
};
|
||||
|
||||
function wayValue(key:any){
|
||||
function wayValue(key: any) {
|
||||
let name = "";
|
||||
//0-调整价 1-最终价格
|
||||
if(key==="0"){
|
||||
if (key === "0") {
|
||||
name = "调整价";
|
||||
}else if(key==="1"){
|
||||
} else if (key === "1") {
|
||||
name = "最终价格";
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
function typeValue(key:any){
|
||||
function typeValue(key: any) {
|
||||
let name = "";
|
||||
//0-小微、1-缺项、2-单价和总价不一致、3-手动输入
|
||||
if(key===0){
|
||||
if (key === 0) {
|
||||
name = "小微";
|
||||
}else if(key===1){
|
||||
} else if (key === 1) {
|
||||
name = "缺项";
|
||||
}else if(key===2){
|
||||
} else if (key === 2) {
|
||||
name = "单价和总价不一致";
|
||||
}else if(key===3){
|
||||
} else if (key === 3) {
|
||||
name = "手动输入";
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
const Index: React.FC<{}> = () => {
|
||||
let roomId=getRoomId();//sessionStorage.getItem('roomId');//sessionStorage.getItem('roomId')
|
||||
let roomId = getRoomId();//sessionStorage.getItem('roomId');//sessionStorage.getItem('roomId')
|
||||
var roleId = getSessionUserData().roleIds;//操作员角色
|
||||
const [dateList,setDateList] = useState([]);
|
||||
const [dateList, setDateList] = useState([]);
|
||||
const [adjustForm] = Form.useForm();
|
||||
const [whetherReadonly, setWhetherReadonly] = useState<boolean>(false);
|
||||
const [editState, setEditState] = useState<boolean>(false);
|
||||
@ -60,110 +60,113 @@ const Index: React.FC<{}> = () => {
|
||||
const proMethod = getProMethod();
|
||||
let showNameT: any = { tbr: '', pb: '', tb: '' }//投标人供应商
|
||||
if (proMethod === 'procurement_mode_1' || proMethod === 'procurement_mode_2') {//招标
|
||||
showNameT = { tbr: '投标人', pb: '评标', tb: '投标' };
|
||||
showNameT = { tbr: '投标人', pb: '评标', tb: '投标' };
|
||||
} else {
|
||||
showNameT = { tbr: '供应商', pb: '评审', tb: '应答' }
|
||||
showNameT = { tbr: '供应商', pb: '评审', tb: '应答' }
|
||||
}
|
||||
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) => {
|
||||
let a = "";
|
||||
if(record.tfileTendererprice!==null){
|
||||
a = typeValue(record.tfileTendererprice.type);
|
||||
}
|
||||
return a;
|
||||
{
|
||||
title: '调整类别', dataIndex: 'type', key: 'type', render: (text: any, record: any, index: any) => {
|
||||
let a = "";
|
||||
if (record.tfileTendererprice !== null) {
|
||||
a = typeValue(record.tfileTendererprice.type);
|
||||
}
|
||||
return a;
|
||||
}
|
||||
},
|
||||
{ title: '调价说明', dataIndex: 'memo', key: 'memo',render: (text: any, record: any, index: any) => {
|
||||
var memo = "";
|
||||
if(record.tfileTendererprice!==null){
|
||||
memo = record.tfileTendererprice.memo;
|
||||
{
|
||||
title: '调价说明', dataIndex: 'memo', key: 'memo', render: (text: any, record: any, index: any) => {
|
||||
var memo = "";
|
||||
if (record.tfileTendererprice !== null) {
|
||||
memo = record.tfileTendererprice.memo;
|
||||
}
|
||||
return memo;
|
||||
}
|
||||
return memo;
|
||||
}
|
||||
},
|
||||
{ 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>
|
||||
{
|
||||
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>
|
||||
}
|
||||
return dev;
|
||||
}
|
||||
return dev;
|
||||
}
|
||||
},
|
||||
];
|
||||
useEffect(() => {
|
||||
getWarningList();
|
||||
setSpin(false);
|
||||
if(roleId!=="ebtp-expert"){
|
||||
if (roleId !== "ebtp-expert") {
|
||||
setEditState(false);
|
||||
setHaveData(false);
|
||||
}
|
||||
},[]);
|
||||
}, []);
|
||||
|
||||
const getWarningList = async() => {
|
||||
setSaveButtonState(false);
|
||||
let radioBoolean = false;
|
||||
await findArithmeticError(roomId).then((res) => {
|
||||
if (res.success ==true) {
|
||||
if(res.data!==1){
|
||||
radioBoolean = false;
|
||||
setIsRadio(false)
|
||||
}else{
|
||||
radioBoolean = true;
|
||||
}
|
||||
const getWarningList = async () => {
|
||||
setSaveButtonState(false);
|
||||
let radioBoolean = false;
|
||||
await findArithmeticError(roomId).then((res) => {
|
||||
if (res.success == true) {
|
||||
if (res.data !== 1) {
|
||||
radioBoolean = false;
|
||||
setIsRadio(false)
|
||||
} else {
|
||||
radioBoolean = true;
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
await getList(roomId).then((res) => {
|
||||
if (res.success ==true) {
|
||||
var list = res.data;
|
||||
for(var i = 0 ; i < list.length ; i++){
|
||||
list[i]["key"] = i;
|
||||
}
|
||||
setDateList(list);
|
||||
setSelectChange(list);
|
||||
if(list===null||list.length===0){//
|
||||
await getList(roomId).then((res) => {
|
||||
if (res.success == true) {
|
||||
var list = res.data;
|
||||
for (var i = 0; i < list.length; i++) {
|
||||
list[i]["key"] = i;
|
||||
}
|
||||
setDateList(list);
|
||||
setSelectChange(list);
|
||||
if (list === null || list.length === 0) {//
|
||||
setEditState(false);
|
||||
setHaveData(false);
|
||||
setIsRadio(false)
|
||||
} else {
|
||||
if (radioBoolean) {
|
||||
setEditState(true);
|
||||
setIsRadio(true)
|
||||
} else {
|
||||
setEditState(false);
|
||||
setHaveData(false);
|
||||
setIsRadio(false)
|
||||
}else{
|
||||
if(radioBoolean){
|
||||
setEditState(true);
|
||||
setIsRadio(true)
|
||||
}else{
|
||||
setEditState(false);
|
||||
setIsRadio(false)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
const setSelectChange = async (list: any) => {
|
||||
const fieldsValue = await adjustForm.validateFields();
|
||||
if(fieldsValue!==null){
|
||||
if (fieldsValue !== null) {
|
||||
|
||||
for(var i = 0 ; i < list.length ; i ++){
|
||||
for (var i = 0; i < list.length; i++) {
|
||||
var data = list[i];
|
||||
|
||||
if(data.id===fieldsValue.contentDataId){
|
||||
if (data.id === fieldsValue.contentDataId) {
|
||||
adjustForm.setFieldsValue({
|
||||
id:data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?data.tfileTendererprice.id:null,
|
||||
contentDataId:data.id,
|
||||
way: data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?parseInt(data.tfileTendererprice.way):1,
|
||||
type: data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?parseInt(data.tfileTendererprice.type):0,
|
||||
id: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? data.tfileTendererprice.id : null,
|
||||
contentDataId: data.id,
|
||||
way: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? parseInt(data.tfileTendererprice.way) : 1,
|
||||
type: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? parseInt(data.tfileTendererprice.type) : 0,
|
||||
price: data.evaluating,
|
||||
newPrice: '',
|
||||
memo:data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?data.tfileTendererprice.memo:null,
|
||||
fileId:data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?data.tfileTendererprice.fileId:null
|
||||
memo: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? data.tfileTendererprice.memo : null,
|
||||
fileId: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? data.tfileTendererprice.fileId : null
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -174,26 +177,26 @@ const Index: React.FC<{}> = () => {
|
||||
setEditState(true);
|
||||
var data = direction[0];
|
||||
//data.tfileTendererprice.id;
|
||||
adjustForm.setFieldsValue({
|
||||
id:data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?data.tfileTendererprice.id:null,
|
||||
contentDataId:data.id,
|
||||
way: data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?parseInt(data.tfileTendererprice.way):1,
|
||||
type: data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?parseInt(data.tfileTendererprice.type):0,
|
||||
price: data.evaluating,
|
||||
newPrice: '',
|
||||
memo:data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?data.tfileTendererprice.memo:null,
|
||||
fileId:data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined?data.tfileTendererprice.fileId:null
|
||||
});
|
||||
adjustForm.setFieldsValue({
|
||||
id: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? data.tfileTendererprice.id : null,
|
||||
contentDataId: data.id,
|
||||
way: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? parseInt(data.tfileTendererprice.way) : 1,
|
||||
type: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? parseInt(data.tfileTendererprice.type) : 0,
|
||||
price: data.evaluating,
|
||||
newPrice: '',
|
||||
memo: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? data.tfileTendererprice.memo : null,
|
||||
fileId: data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined ? data.tfileTendererprice.fileId : null
|
||||
});
|
||||
|
||||
setBid(data.tfileTendererprice!==null
|
||||
&&data.tfileTendererprice!==undefined
|
||||
&&data.tfileTendererprice.fileId!==null
|
||||
?data.tfileTendererprice.fileId:"-1");
|
||||
setBid(data.tfileTendererprice !== null
|
||||
&& data.tfileTendererprice !== undefined
|
||||
&& data.tfileTendererprice.fileId !== null
|
||||
? data.tfileTendererprice.fileId : "-1");
|
||||
|
||||
}
|
||||
|
||||
@ -208,23 +211,23 @@ const Index: React.FC<{}> = () => {
|
||||
}
|
||||
const saveUpdate = async () => {
|
||||
const fieldsValue = await adjustForm.validateFields();
|
||||
if(fieldsValue.contentDataId===null||fieldsValue.contentDataId===""||fieldsValue.contentDataId===undefined){
|
||||
if (fieldsValue.contentDataId === null || fieldsValue.contentDataId === "" || fieldsValue.contentDataId === undefined) {
|
||||
message.error(`请选择需要调整的供应商`);
|
||||
return;
|
||||
}
|
||||
var params = {
|
||||
"id":fieldsValue.id,
|
||||
"contentDataId":fieldsValue.contentDataId,
|
||||
"newPrice":fieldsValue.newPrice,
|
||||
"way":fieldsValue.way,
|
||||
"type":fieldsValue.type,
|
||||
"memo":fieldsValue.memo,
|
||||
"fileId":fieldsValue.fileId
|
||||
"id": fieldsValue.id,
|
||||
"contentDataId": fieldsValue.contentDataId,
|
||||
"newPrice": fieldsValue.newPrice,
|
||||
"way": fieldsValue.way,
|
||||
"type": fieldsValue.type,
|
||||
"memo": fieldsValue.memo,
|
||||
"fileId": fieldsValue.fileId
|
||||
}
|
||||
setSaveButtonState(true);
|
||||
//保存
|
||||
savePrice(params).then((res) => {
|
||||
if (res.success ==true) {
|
||||
if (res.success == true) {
|
||||
message.success(`保存成功`);
|
||||
getWarningList();//刷新
|
||||
}
|
||||
@ -233,94 +236,94 @@ const Index: React.FC<{}> = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="bidContent">
|
||||
<Spin spinning={spin}>
|
||||
<div className="titName">
|
||||
<span className="f16">{showNameT.tbr}最新报价列表</span>
|
||||
{!haveData?<span className="f16">(无报价数据)</span>:null}
|
||||
<Space className="fr">
|
||||
</Space>
|
||||
</div>
|
||||
|
||||
{isRadio?
|
||||
<Table
|
||||
rowSelection={{
|
||||
type: 'radio',
|
||||
onChange: onSelectChange,
|
||||
}}
|
||||
bordered
|
||||
pagination={false}
|
||||
columns={columns}
|
||||
dataSource={dateList}
|
||||
/>:<Table
|
||||
bordered
|
||||
pagination={false}
|
||||
columns={columns}
|
||||
dataSource={dateList}
|
||||
/>}
|
||||
|
||||
{editState?
|
||||
<div className="titName mt20">
|
||||
<span className="f16">算数错误调整</span>
|
||||
</div>:null
|
||||
}
|
||||
{editState?
|
||||
<Form
|
||||
name="validate_other"
|
||||
form={adjustForm}
|
||||
{...formItemLayout}
|
||||
onFinish={formOnFinish}
|
||||
>
|
||||
<Form.Item name="contentDataId" hidden={true}>
|
||||
<Input hidden />
|
||||
</Form.Item>
|
||||
<Form.Item name="id" hidden={true}>
|
||||
<Input hidden />
|
||||
</Form.Item>
|
||||
<Form.Item name="way" label="调价方式:" rules={[{ required: true, message: '请选择调价方式!' }]}>
|
||||
<Radio.Group>
|
||||
<Radio value={1}>最终价格</Radio>
|
||||
<Radio value={0}>调整价</Radio>
|
||||
</Radio.Group>
|
||||
|
||||
</Form.Item>
|
||||
<Form.Item rules={[{ required: true, message: '请选择调整类别!' }]}
|
||||
name="type"
|
||||
label="调整类别:"
|
||||
hasFeedback
|
||||
>
|
||||
<Select style={{ width: 120 }}>
|
||||
<Option value={0}>小微</Option>
|
||||
<Option value={1}>缺项</Option>
|
||||
<Option value={2}>单价和总价不一致</Option>
|
||||
<Option value={3}>手动输入</Option>
|
||||
</Select >
|
||||
</Form.Item>
|
||||
<Form.Item name="price" label="原价:">
|
||||
<Input disabled />
|
||||
</Form.Item>
|
||||
<Form.Item name="newPrice" label="调整价:" rules={[{ required: true, message: '请输入调整价!' }]}>
|
||||
<Input placeholder="人民币" />
|
||||
</Form.Item>
|
||||
<Form.Item name="memo" label="调价说明:" rules={[{ required: true, message: '请输入调价说明!' }]}>
|
||||
<TextArea rows={4} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label="附件"
|
||||
name="fileId">
|
||||
<ExtendUpload bid={bid} btnName="上传附件" uploadProps={{name:"file",disabled: whetherReadonly}}>
|
||||
</ExtendUpload>
|
||||
</Form.Item>
|
||||
<Form.Item>
|
||||
<div style={{textAlign: "center"}}>
|
||||
<Button type="primary" disabled={saveButtonState} onClick={async () => {
|
||||
|
||||
saveUpdate();
|
||||
}}>保存</Button>
|
||||
<div className="bidContent">
|
||||
<Spin spinning={spin}>
|
||||
<div className="titName">
|
||||
<span className="f16">{showNameT.tbr}最新报价列表</span>
|
||||
{!haveData ? <span className="f16">(无报价数据)</span> : null}
|
||||
<Space className="fr">
|
||||
</Space>
|
||||
</div>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
:null}
|
||||
|
||||
{isRadio ?
|
||||
<Table
|
||||
rowSelection={{
|
||||
type: 'radio',
|
||||
onChange: onSelectChange,
|
||||
}}
|
||||
bordered
|
||||
pagination={false}
|
||||
columns={columns}
|
||||
dataSource={dateList}
|
||||
/> : <Table
|
||||
bordered
|
||||
pagination={false}
|
||||
columns={columns}
|
||||
dataSource={dateList}
|
||||
/>}
|
||||
|
||||
{editState ?
|
||||
<div className="titName mt20">
|
||||
<span className="f16">算数错误调整</span>
|
||||
</div> : null
|
||||
}
|
||||
{editState ?
|
||||
<Form
|
||||
name="validate_other"
|
||||
form={adjustForm}
|
||||
{...formItemLayout}
|
||||
onFinish={formOnFinish}
|
||||
>
|
||||
<Form.Item name="contentDataId" hidden={true}>
|
||||
<Input hidden />
|
||||
</Form.Item>
|
||||
<Form.Item name="id" hidden={true}>
|
||||
<Input hidden />
|
||||
</Form.Item>
|
||||
<Form.Item name="way" label="调价方式:" rules={[{ required: true, message: '请选择调价方式!' }]}>
|
||||
<Radio.Group>
|
||||
<Radio value={1}>最终价格</Radio>
|
||||
<Radio value={0}>调整价</Radio>
|
||||
</Radio.Group>
|
||||
|
||||
</Form.Item>
|
||||
<Form.Item rules={[{ required: true, message: '请选择调整类别!' }]}
|
||||
name="type"
|
||||
label="调整类别:"
|
||||
hasFeedback
|
||||
>
|
||||
<Select style={{ width: 120 }}>
|
||||
<Option value={0}>小微</Option>
|
||||
<Option value={1}>缺项</Option>
|
||||
<Option value={2}>单价和总价不一致</Option>
|
||||
<Option value={3}>手动输入</Option>
|
||||
</Select >
|
||||
</Form.Item>
|
||||
<Form.Item name="price" label="原价:">
|
||||
<Input disabled />
|
||||
</Form.Item>
|
||||
<Form.Item name="newPrice" label="调整价:" rules={[{ required: true, message: '请输入调整价!' }]}>
|
||||
<Input placeholder="人民币" type="number" />
|
||||
</Form.Item>
|
||||
<Form.Item name="memo" label="调价说明:" rules={[{ required: true, message: '请输入调价说明!' }]}>
|
||||
<TextArea rows={4} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
label="附件"
|
||||
name="fileId">
|
||||
<ExtendUpload bid={bid} btnName="上传附件" uploadProps={{ name: "file", disabled: whetherReadonly }}>
|
||||
</ExtendUpload>
|
||||
</Form.Item>
|
||||
<Form.Item>
|
||||
<div style={{ textAlign: "center" }}>
|
||||
<Button type="primary" disabled={saveButtonState} onClick={async () => {
|
||||
|
||||
saveUpdate();
|
||||
}}>保存</Button>
|
||||
</div>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
: null}
|
||||
</Spin>
|
||||
</div>
|
||||
</>
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
@ -82,8 +82,8 @@ export function getAbstractVO(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function checkShowData(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/early/warn/room/${params}`,{
|
||||
method: 'GET'
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/early/warn/room/${params}`, {
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ export async function checkShowData(params: any) {
|
||||
* 根据评审室id获取评审室信息
|
||||
* @param params
|
||||
*/
|
||||
export async function getRoomDataById(params: any) {
|
||||
export async function getRoomDataById(params: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/${params}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
@ -99,7 +99,7 @@ export async function getEval(params: any) { // 获取页面接口数据
|
||||
}
|
||||
|
||||
export async function getFile(id: any) { // 查找是否有应答文件
|
||||
return request('/api/biz-service-ebtp-rsms/v1/review/config/detail/doc/list?detailId='+id, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/review/config/detail/doc/list?detailId=' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
@ -92,7 +92,7 @@ export async function submQualified(data: any) { // 全部合格
|
||||
}
|
||||
|
||||
export async function getMemberInfo(id: any) { // 评审解锁
|
||||
return request('/api/biz-service-ebtp-rsms/v1/jury/member/info/'+id, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/jury/member/info/' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
@ -116,8 +116,8 @@ export async function getUnlock(data: any) { // 评审解锁
|
||||
* @param params
|
||||
*/
|
||||
export async function getJuryList(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/info/${params}`,{
|
||||
method: 'GET',
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/info/${params}`, {
|
||||
method: 'GET',
|
||||
})
|
||||
}
|
||||
|
||||
@ -126,9 +126,9 @@ export async function getJuryList(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function getJuryScoreData(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findProgressSummary`,{
|
||||
method: 'POST',
|
||||
data: params
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findProgressSummary`, {
|
||||
method: 'POST',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
@ -137,9 +137,9 @@ export async function getJuryScoreData(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function getSupplierScoreData(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findScoreEarlySummary`,{
|
||||
method: 'POST',
|
||||
data: params
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findScoreEarlySummary`, {
|
||||
method: 'POST',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
@ -148,9 +148,9 @@ export async function getSupplierScoreData(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function submitSummary(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/submitSummary`,{
|
||||
method: 'POST',
|
||||
data: params
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/submitSummary`, {
|
||||
method: 'POST',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
@ -159,9 +159,9 @@ export async function submitSummary(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function isStatus(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/category/findAllJudgesStatus`,{
|
||||
method: 'GET',
|
||||
params: params
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/category/findAllJudgesStatus`, {
|
||||
method: 'GET',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
/**
|
||||
@ -169,8 +169,8 @@ export async function isStatus(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function isCheckShow(params: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/process/check/effective/supplier/${params}`,{
|
||||
method: 'GET'
|
||||
return request(`/api/biz-service-ebtp-process/v1/process/check/effective/supplier/${params}`, {
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
@ -179,13 +179,13 @@ export async function isCheckShow(params: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function checkShowData(params: any) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/early/warn/room/${params}`,{
|
||||
method: 'GET'
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/early/warn/room/${params}`, {
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
export async function getFile(id: any) { // 查找是否有应答文件
|
||||
return request('/api/biz-service-ebtp-rsms/v1/review/config/detail/doc/list?detailId='+id, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/review/config/detail/doc/list?detailId=' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
@ -3,42 +3,42 @@ import request from '@/utils/request';
|
||||
* 查询评审室状态
|
||||
* @param id
|
||||
*/
|
||||
export function getAssessRoom(id:any) {
|
||||
return request('/api/biz-service-ebtp-process/v1/bizassessroom/info/' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function getConfigList(assessRoomId : any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/query/config/' + assessRoomId , {
|
||||
export function getAssessRoom(id: any) {
|
||||
return request('/api/biz-service-ebtp-process/v1/bizassessroom/info/' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function getMaxTurn(assessRoomId : any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/' + assessRoomId , {
|
||||
export async function getConfigList(assessRoomId: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/query/config/' + assessRoomId, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function getNodeList(type : any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/query/node/' + type , {
|
||||
export async function getMaxTurn(assessRoomId: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/' + assessRoomId, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteTurn(turnId : any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/deleteTurn/' + turnId , {
|
||||
method: 'DELETE',
|
||||
export async function getNodeList(type: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/query/node/' + type, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteNode(nodeId : any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/deleteNode/' + nodeId , {
|
||||
method: 'DELETE',
|
||||
export async function deleteTurn(turnId: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/deleteTurn/' + turnId, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
export async function addTurn(params?:any) {
|
||||
|
||||
export async function deleteNode(nodeId: any) { // 列表
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/deleteNode/' + nodeId, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
export async function addTurn(params?: any) {
|
||||
return request('/api/biz-service-ebtp-process/v1/flow/addTurn', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
@ -47,8 +47,8 @@ export async function addTurn(params?:any) {
|
||||
});
|
||||
}
|
||||
export async function addNode(params: any) {
|
||||
return request("/api/biz-service-ebtp-process/v1/flow/addNode",{
|
||||
method: 'POST',
|
||||
data:params
|
||||
return request("/api/biz-service-ebtp-process/v1/flow/addNode", {
|
||||
method: 'POST',
|
||||
data: params
|
||||
})
|
||||
}
|
@ -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,15 +7,15 @@ 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
|
||||
});
|
||||
}
|
||||
|
||||
//费用列表查询
|
||||
export async function getList(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-expenses/v1/bizbidorder/payerGetlist`,{
|
||||
method:'GET',
|
||||
return request(`/api/biz-service-ebtp-expenses/v1/bizbidorder/payerGetlist`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
}
|
||||
@ -29,9 +29,9 @@ export async function getCommonInvoiceList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoicecommon/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
pageNo:params.current,
|
||||
pageNo: params.current,
|
||||
}
|
||||
},
|
||||
);
|
||||
@ -46,7 +46,7 @@ export async function getCommonAddressList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoiceaddress/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
}
|
||||
},
|
||||
|
@ -4,28 +4,28 @@ import request from "@/utils/request";
|
||||
* 获取待确认&已确认列表
|
||||
* @param param
|
||||
*/
|
||||
export async function getConfirmedList(param: any,page: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/agencyGetlist', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...param,
|
||||
...page,
|
||||
// pageNo: param.current,
|
||||
}
|
||||
});
|
||||
export async function getConfirmedList(param: any, page: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/agencyGetlist', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...param,
|
||||
...page,
|
||||
// pageNo: param.current,
|
||||
}
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 管理员招标收入确认 获取列表数据
|
||||
* @param param
|
||||
*/
|
||||
export async function getAllList(param: any,page: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/agencyAdminGetlist', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...param,
|
||||
...page,
|
||||
}
|
||||
});
|
||||
export async function getAllList(param: any, page: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/agencyAdminGetlist', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...param,
|
||||
...page,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@ -33,9 +33,9 @@ export async function getAllList(param: any,page: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function getViewData(param: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/' + param, {
|
||||
method: 'GET',
|
||||
});
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/' + param, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@ -43,9 +43,9 @@ export async function getViewData(param: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function ConfirmBill(param: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/confirmPay/' + param, {
|
||||
method: 'PUT',
|
||||
});
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/confirmPay/' + param, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@ -53,7 +53,7 @@ export async function ConfirmBill(param: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function ReviewRejected(param: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/rejectPay/' + param, {
|
||||
method: 'PUT',
|
||||
});
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidorder/rejectPay/' + param, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
@ -2,42 +2,42 @@ import request from '@/utils/request';
|
||||
|
||||
|
||||
//获取发票列表
|
||||
export async function getAgencyGetPagelist(paramas:any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/agencyGetPagelist',{
|
||||
method:'GET' ,
|
||||
params:{
|
||||
export async function getAgencyGetPagelist(paramas: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/agencyGetPagelist', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...paramas
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
//获取单条发票信息
|
||||
export async function getInSingleInvoiceRecord(invoiceId:String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/'+invoiceId,{
|
||||
method:'GET' ,
|
||||
export async function getInSingleInvoiceRecord(invoiceId: String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/' + invoiceId, {
|
||||
method: 'GET',
|
||||
})
|
||||
}
|
||||
|
||||
//更改发票状态,由未开设置成已开
|
||||
export async function updateInvoiceState(invoiceId:String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/issueInvoice/'+invoiceId,{
|
||||
method:'PUT' ,
|
||||
export async function updateInvoiceState(invoiceId: String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/issueInvoice/' + invoiceId, {
|
||||
method: 'POST',
|
||||
})
|
||||
}
|
||||
|
||||
//更改邮寄状态,由未邮寄设置成已邮寄
|
||||
export async function updateMailState(invoiceId:String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/mailInvoice/'+invoiceId,{
|
||||
method:'PUT' ,
|
||||
export async function updateMailState(invoiceId: String) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/mailInvoice/' + invoiceId, {
|
||||
method: 'POST',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//导出发票列表
|
||||
export async function exportInvoiceList(paramas:any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/agencyExportGetlist',{
|
||||
method:'GET' ,
|
||||
params:{
|
||||
export async function exportInvoiceList(paramas: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/agencyExportGetlist', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...paramas
|
||||
}
|
||||
})
|
||||
|
@ -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,9 +1,9 @@
|
||||
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},
|
||||
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
|
||||
}
|
||||
|
@ -3,12 +3,12 @@ import { getSessionRoleData } from '@/utils/session';
|
||||
//获取列表
|
||||
export async function getList(params?: any) {
|
||||
let url = '/api/biz-service-ebtp-resps/v1/tfile/getOpenTenderList';
|
||||
if(getSessionRoleData().roleCode === 'ebtp-supplier'){//ebtp-agency-project-manager 代理 ebtp-supplier 供应商
|
||||
if (getSessionRoleData().roleCode === 'ebtp-supplier') {//ebtp-agency-project-manager 代理 ebtp-supplier 供应商
|
||||
url = '/api/biz-service-ebtp-resps/v1/tfile/getOpenTenderListBySupplier'
|
||||
}
|
||||
return request(url,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(url, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
@ -16,12 +16,12 @@ export async function getList(params?: any) {
|
||||
|
||||
export async function getRoomList(params?: any) {
|
||||
let url = '/api/biz-service-ebtp-resps/v1/tfile/getOpenTenderList';
|
||||
if(getSessionRoleData().roleCode === 'ebtp-supplier'){
|
||||
if (getSessionRoleData().roleCode === 'ebtp-supplier') {
|
||||
url = '/api/biz-service-ebtp-resps/v1/tfile/getOpenTenderListBySupplier'
|
||||
}
|
||||
return request(url,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(url, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
@ -29,18 +29,18 @@ export async function getRoomList(params?: any) {
|
||||
|
||||
//获取开标状态及信息列表数据
|
||||
export async function getOpenDt(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/getlist`,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/getlist`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
}
|
||||
//唱价
|
||||
export async function singBid(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/updateSingConfigure`,{
|
||||
method:'PUT',
|
||||
data:{
|
||||
return request(`/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/updateSingConfigure`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
@ -48,12 +48,12 @@ export async function singBid(params?: any) {
|
||||
//解密
|
||||
export async function jieMi(params?: any) {
|
||||
let url = '/api/biz-service-ebtp-resps/v1/tfile/executeDecrypt';
|
||||
if(getSessionRoleData().roleCode === 'ebtp-supplier'){
|
||||
if (getSessionRoleData().roleCode === 'ebtp-supplier') {
|
||||
url = '/api/biz-service-ebtp-resps/v1/tfile/executeDecryptBySupplier'
|
||||
}
|
||||
return request(url,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(url, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
@ -61,44 +61,44 @@ export async function jieMi(params?: any) {
|
||||
//解密进度
|
||||
export async function jmRate(params?: any) {
|
||||
let url = '/api/biz-service-ebtp-resps/v1/tfile/getDecryptProgress';
|
||||
if(getSessionRoleData().roleCode === 'ebtp-supplier'){
|
||||
if (getSessionRoleData().roleCode === 'ebtp-supplier') {
|
||||
url = '/api/biz-service-ebtp-resps/v1/tfile/getDecryptProgressBySupplier'
|
||||
}
|
||||
return request(url,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(url, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
}
|
||||
//设置解密时限
|
||||
export async function endTimeUp(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoc/updateTdocDecryptEndDate`,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoc/updateTdocDecryptEndDate`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
}
|
||||
//补录报价
|
||||
export async function updatePrice(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tfilecontentdata/insertPrice`,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tfilecontentdata/insertPrice`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
}
|
||||
//查看分项报价
|
||||
export async function queryFx(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tfile/getItemPriceByTendererId`,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tfile/getItemPriceByTendererId`, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
}
|
||||
//供应商确认报价
|
||||
export async function confirmOffer(reviewTurnId?: any,tdocId?: any) {
|
||||
export async function confirmOffer(reviewTurnId?: any, tdocId?: any) {
|
||||
return request(`/api/biz-service-ebtp-tender/v1/supplier_register/update/sign/${reviewTurnId}?tdocId=${tdocId}`);
|
||||
}
|
@ -5,29 +5,29 @@ import request from '@/utils/request';
|
||||
* @param params
|
||||
*/
|
||||
export async function getPackageDividedList(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection/getPage",{
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
basePageRequest:{
|
||||
"pageNum":params.current,
|
||||
"pageSize":params.pageSize
|
||||
}
|
||||
},
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection/getPage", {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
basePageRequest: {
|
||||
"pageNum": params.current,
|
||||
"pageSize": params.pageSize
|
||||
}
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改标段信息
|
||||
* @method PUT
|
||||
* @method POST
|
||||
* @param params
|
||||
*/
|
||||
export async function updateForm(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection",{
|
||||
method: 'PUT',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection/update", {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
@ -44,10 +44,10 @@ export async function getDictList() {
|
||||
* @param params
|
||||
*/
|
||||
export async function getChooseProcess(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/dictchooseprocess/getList",{
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
return request("/api/biz-service-ebtp-project/v1/dictchooseprocess/getList", {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
},
|
||||
})
|
||||
}
|
@ -1,44 +1,44 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
/**
|
||||
* 查询开始评审时间
|
||||
* @method POST
|
||||
*/
|
||||
/**
|
||||
* 查询开始评审时间
|
||||
* @method POST
|
||||
*/
|
||||
export async function getStartReviewTime(params: any) {
|
||||
return request("/api/biz-service-ebtp-process/v1/bizassessroom/query/maxsortbysids", {
|
||||
method:"POST",
|
||||
params: params
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 查询资审开标时间&开标时间
|
||||
* @method POST
|
||||
*/
|
||||
return request("/api/biz-service-ebtp-process/v1/bizassessroom/query/maxsortbysids", {
|
||||
method: "POST",
|
||||
params: params
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 查询资审开标时间&开标时间
|
||||
* @method POST
|
||||
*/
|
||||
export async function getBidOpenTime(params: any) {
|
||||
return request("/api/biz-service-ebtp-opening/v1/bizbidopenroom/selectOpenTimeByBsIds", {
|
||||
method:"POST",
|
||||
data: params
|
||||
method: "POST",
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询标段列表数据
|
||||
* @method POST
|
||||
*/
|
||||
/**
|
||||
* 查询标段列表数据
|
||||
* @method POST
|
||||
*/
|
||||
export async function getSectionList(params: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectSection/getPage', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
basePageRequest: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize,
|
||||
},
|
||||
return request('/api/biz-service-ebtp-project/v1/projectSection/getPage', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params,
|
||||
basePageRequest: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize,
|
||||
},
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询重新评标列表
|
||||
@ -46,14 +46,14 @@ export async function getSectionList(params: any) {
|
||||
*/
|
||||
export async function getAfreshList(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/getPage", {
|
||||
method:"POST",
|
||||
data: {
|
||||
...params,
|
||||
basePageRequest: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize,
|
||||
},
|
||||
method: "POST",
|
||||
data: {
|
||||
...params,
|
||||
basePageRequest: {
|
||||
pageNo: params.current,
|
||||
pageSize: params.pageSize,
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
@ -63,8 +63,8 @@ export async function getAfreshList(params: any) {
|
||||
*/
|
||||
export async function addAfresh(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation", {
|
||||
method:"POST",
|
||||
data: params
|
||||
method: "POST",
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
@ -73,9 +73,9 @@ 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",
|
||||
data: params
|
||||
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",
|
||||
})
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ export async function deleteAfresh(params: any) {
|
||||
*/
|
||||
export async function checkedAddAfresh(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/checkIsAdd/" + params, {
|
||||
method:"GET",
|
||||
method: "GET",
|
||||
})
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ export async function checkedAddAfresh(params: any) {
|
||||
*/
|
||||
export async function submitApproval(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/submitForApproval/" + params, {
|
||||
method:"POST",
|
||||
method: "POST",
|
||||
})
|
||||
}
|
||||
|
||||
@ -113,9 +113,9 @@ export async function submitApproval(params: any) {
|
||||
* 重新评标生效
|
||||
* @method POST
|
||||
*/
|
||||
export async function handleTakeEffect(params: any) {
|
||||
export async function handleTakeEffect(params: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectReEvaluation/achieve/" + params, {
|
||||
method:"GET",
|
||||
method: "GET",
|
||||
})
|
||||
}
|
||||
|
||||
@ -134,10 +134,9 @@ export async function getViewData(params: any) {
|
||||
* 跳转外部链接查询
|
||||
* @param params
|
||||
*/
|
||||
export async function getCheckApproval(params: any) {
|
||||
export async function getCheckApproval(params: any) {
|
||||
return request(`/api/biz-service-ebtp-project/v1/projectReEvaluation/findTraceDetail/${params}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -4,9 +4,9 @@ import request from '@/utils/request';
|
||||
* @param params
|
||||
*/
|
||||
export async function getPage(params?: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/getPage',{
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/getPage', {
|
||||
method: 'POST',
|
||||
data:params,
|
||||
data: params,
|
||||
|
||||
});
|
||||
}
|
||||
@ -14,14 +14,14 @@ export async function getPage(params?: any) {
|
||||
/**
|
||||
* 查询所有字典
|
||||
*/
|
||||
export async function getAllDict(){
|
||||
export async function getAllDict() {
|
||||
return request('/api/biz-service-ebtp-project/v1/dictProject/refreshDictCache');
|
||||
}
|
||||
/**
|
||||
* 根据id查询项目信息
|
||||
* @param id
|
||||
*/
|
||||
export function getProjectById(id:any){
|
||||
export function getProjectById(id: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/' + id);
|
||||
}
|
||||
|
||||
@ -31,9 +31,9 @@ export function getProjectById(id:any){
|
||||
* @param params
|
||||
*/
|
||||
export async function getExceptionList(params?: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException/getPage',{
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException/getPage', {
|
||||
method: 'POST',
|
||||
data:{
|
||||
data: {
|
||||
...params,
|
||||
"basePageRequest": {
|
||||
"pageNo": params.current,
|
||||
@ -48,9 +48,9 @@ export async function getExceptionList(params?: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function addException(params?: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException',{
|
||||
return request('/api/biz-service-ebtp-project/v1/projectException', {
|
||||
method: 'POST',
|
||||
data:{
|
||||
data: {
|
||||
...params
|
||||
},
|
||||
});
|
||||
@ -61,9 +61,9 @@ 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',
|
||||
data:{
|
||||
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'
|
||||
});
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@ export async function deleteException(params?: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function getExceptionSectionList(params?: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectSection/selectEditSection',{
|
||||
return request('/api/biz-service-ebtp-project/v1/projectSection/selectEditSection', {
|
||||
method: 'GET',
|
||||
params: params
|
||||
});
|
||||
@ -93,7 +93,7 @@ export async function getExceptionSectionList(params?: any) {
|
||||
* @param params
|
||||
*/
|
||||
export async function getDefId(proId?: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/projectconfig/querydefid/${proId}`,{
|
||||
return request(`/api/biz-service-ebtp-process/v1/projectconfig/querydefid/${proId}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ export async function exceptionTakeEffect(params: any) {
|
||||
export async function addFailAnno(params: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/anno`, {
|
||||
method: 'POST',
|
||||
data:params
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
@ -124,9 +124,9 @@ 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',
|
||||
data:params
|
||||
return request(`/api/biz-service-ebtp-bid/v1/anno/updateById`, {
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
@ -154,7 +154,7 @@ export async function failAnnoApprove(params: any) {
|
||||
* 失败公告发布
|
||||
* @param params
|
||||
*/
|
||||
export async function failAnnoRelease(params: any,id: any) {
|
||||
export async function failAnnoRelease(params: any, id: any) {
|
||||
return request(`/api/biz-service-ebtp-bid/v1/anno/publish/${params}/${id}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
@ -165,15 +165,15 @@ export async function failAnnoRelease(params: any,id: 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",
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 根据项目id查询标段信息
|
||||
* @param projectId
|
||||
*/
|
||||
export function selectListByProjectId (projectId:string) {
|
||||
export function selectListByProjectId(projectId: string) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectSection/selectListByProjectId/" + projectId);
|
||||
}
|
||||
|
@ -18,16 +18,16 @@ export async function getId(id?: any) {
|
||||
/**
|
||||
* 获取省份
|
||||
*/
|
||||
export async function getProvince(){
|
||||
return request('/api/biz-service-ebtp-project/v1/dictRegion/getChild',{
|
||||
params:{pId:0}
|
||||
export async function getProvince() {
|
||||
return request('/api/biz-service-ebtp-project/v1/dictRegion/getChild', {
|
||||
params: { pId: 0 }
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 根据id获取数据
|
||||
* @param id
|
||||
*/
|
||||
export async function getDictRegion(id:any){
|
||||
export async function getDictRegion(id: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/dictRegion/' + id);
|
||||
}
|
||||
|
||||
@ -35,32 +35,32 @@ export async function getDictRegion(id:any){
|
||||
* 获取省区
|
||||
* @param pId
|
||||
*/
|
||||
export async function getProvinces(pId:any){
|
||||
return request('/api/biz-service-ebtp-project/v1/dictRegion/getChild',{
|
||||
params:{pId:pId}
|
||||
export async function getProvinces(pId: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/dictRegion/getChild', {
|
||||
params: { pId: pId }
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询所有字典
|
||||
*/
|
||||
export async function getAllDict(){
|
||||
export async function getAllDict() {
|
||||
return request('/api/biz-service-ebtp-project/v1/dictProject/refreshDictCache');
|
||||
}
|
||||
/**
|
||||
* 修改数据
|
||||
* @param params
|
||||
*/
|
||||
export async function update(params:any){
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord', {
|
||||
method: 'PUT',
|
||||
data: params,
|
||||
})
|
||||
export async function update(params: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/update', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 建档完成 提交
|
||||
* @param id
|
||||
*/
|
||||
export async function submitProject(id:any){
|
||||
export async function submitProject(id: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/submitProject/' + id, {
|
||||
method: 'post',
|
||||
})
|
||||
@ -70,9 +70,9 @@ export async function submitProject(id:any){
|
||||
* 项目是否可以修改信息
|
||||
* @param id
|
||||
*/
|
||||
export async function getProjectIsUpdate(id:any){
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/getProjectIsUpdate/' + id,{
|
||||
method:'post'
|
||||
export async function getProjectIsUpdate(id: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/projectRecord/getProjectIsUpdate/' + id, {
|
||||
method: 'post'
|
||||
});
|
||||
}
|
||||
/**
|
||||
@ -85,7 +85,7 @@ export async function getId7(id?: any) {
|
||||
* 获取省份
|
||||
* @param provincesNumber
|
||||
*/
|
||||
export function getByProvincesNumber (provincesNumber:any) {
|
||||
export function getByProvincesNumber(provincesNumber: any) {
|
||||
return request('/api/biz-service-ebtp-project/v1/dictprovincescode/getByProvincesNumber/' + provincesNumber);
|
||||
}
|
||||
/**
|
||||
@ -93,6 +93,6 @@ export function getByProvincesNumber (provincesNumber:any) {
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function getBudgetAmountById (id:any) {
|
||||
export function getBudgetAmountById(id: any) {
|
||||
return request("/api/biz-service-ebtp-project/v1/projectRecord/getBudgetAmountById/" + id);
|
||||
}
|
@ -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'
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
});
|
||||
}
|
||||
@ -100,9 +100,9 @@ export function findPriceScoreRecord(params: any) {
|
||||
* 根据评审室id获取评审室信息
|
||||
* @param params
|
||||
*/
|
||||
export async function getRoomDataById(params: any) {
|
||||
export async function getRoomDataById(params: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/${params}`, {
|
||||
method: 'GET',
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
@ -100,19 +100,19 @@ export function findPriceScoreRecord(params: any) {
|
||||
* 公开比选多阶段(个人初审表)
|
||||
* @param params
|
||||
*/
|
||||
export function getFindScoreRecord (params:any) {
|
||||
export function getFindScoreRecord(params: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bxmulti/eval/record/findScoreRecord', {
|
||||
method:"post",
|
||||
data:params
|
||||
method: "post",
|
||||
data: params
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据评审室id获取评审室信息
|
||||
* @param params
|
||||
*/
|
||||
export async function getRoomDataById(params: any) {
|
||||
export async function getRoomDataById(params: any) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/${params}`, {
|
||||
method: 'GET',
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
@ -136,7 +136,7 @@ export async function getLastConf(params: any) {
|
||||
* 查询报价附件
|
||||
* @param params
|
||||
*/
|
||||
export async function getQuotationAttachment(params: any) {
|
||||
export async function getQuotationAttachment(params: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoc/getCatalogContent`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
@ -147,7 +147,7 @@ export async function getLastConf(params: any) {
|
||||
* 保存报价附件
|
||||
* @param params
|
||||
*/
|
||||
export async function saveQuotationAttachment(params: any) {
|
||||
export async function saveQuotationAttachment(params: any) {
|
||||
return request(`/api/biz-service-ebtp-resps/v1/tdoc/insertQuoteFile`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
@ -158,8 +158,8 @@ 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',
|
||||
export async function deleteMenuList(params: any) {
|
||||
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',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -11,20 +11,20 @@ import request from "@/utils/request";
|
||||
/**
|
||||
* 保存
|
||||
*/
|
||||
export function singingPricePreservation (data:any) {
|
||||
export function singingPricePreservation(data: any) {
|
||||
return request('/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/saveSingConfigure', {
|
||||
method:'put',
|
||||
data:data
|
||||
method: 'POST',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
export function getConfigure (turnId:any) {
|
||||
export function getConfigure(turnId: any) {
|
||||
return request('/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/getProcessConfigure', {
|
||||
method:'post',
|
||||
data:{
|
||||
turnId:turnId
|
||||
method: 'post',
|
||||
data: {
|
||||
turnId: turnId
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -32,9 +32,9 @@ export function getConfigure (turnId:any) {
|
||||
* 继承上次唱价配置
|
||||
* @param data
|
||||
*/
|
||||
export function inheritSingConfigure (data:any) {
|
||||
export function inheritSingConfigure(data: any) {
|
||||
return request("/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/inheritSingConfigure", {
|
||||
method:'post',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
@ -45,6 +45,6 @@ export function inheritSingConfigure (data:any) {
|
||||
* @param turnSort
|
||||
* @returns
|
||||
*/
|
||||
export function getIsInherit (assessRoomId: string, turnSort: number) {
|
||||
export function getIsInherit(assessRoomId: string, turnSort: number) {
|
||||
return request('/api/biz-service-ebtp-opening/v1/bizbidsingconfigure/getIsInherit?assessRoomId=' + assessRoomId + '&turnSort=' + turnSort);
|
||||
}
|
||||
|
@ -4,12 +4,12 @@ import { getSessionRoleData } from '@/utils/session';
|
||||
//获取列表
|
||||
export async function getList(params?: any) {
|
||||
let url = '/api/biz-service-ebtp-resps/v1/tfile/getOpenTenderList';
|
||||
if(getSessionRoleData().roleCode === 'ebtp-supplier'){//ebtp-agency-project-manager 代理 ebtp-supplier 供应商
|
||||
if (getSessionRoleData().roleCode === 'ebtp-supplier') {//ebtp-agency-project-manager 代理 ebtp-supplier 供应商
|
||||
url = '/api/biz-service-ebtp-resps/v1/tfile/getOpenTenderListBySupplier'
|
||||
}
|
||||
return request(url,{
|
||||
method:'POST',
|
||||
data:{
|
||||
return request(url, {
|
||||
method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}
|
||||
});
|
||||
@ -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
|
||||
}
|
||||
@ -86,6 +86,6 @@ export async function queryFx(params?: any) {
|
||||
});
|
||||
}
|
||||
//供应商确认报价
|
||||
export async function confirmOffer(reviewTurnId?: any,tdocId?: any) {
|
||||
export async function confirmOffer(reviewTurnId?: any, tdocId?: any) {
|
||||
return request(`/api/biz-service-ebtp-tender/v1/supplier_register/update/sign/${reviewTurnId}?tdocId=${tdocId}`);
|
||||
}
|
@ -13,8 +13,8 @@ export async function GetNoticeList(params?: any) {
|
||||
}
|
||||
|
||||
/*当前公告可用包请求*/
|
||||
export async function GetNoticeUsablePackage(params?: any,annoId?:any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/anno/tobs/' + params+"?roomType=1&annoId="+annoId)
|
||||
export async function GetNoticeUsablePackage(params?: any, annoId?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/anno/tobs/' + params + "?roomType=1&annoId=" + annoId)
|
||||
}
|
||||
|
||||
/*公告信息查询*/
|
||||
@ -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 正常发布*/
|
||||
@ -91,8 +91,8 @@ export async function GetfileList(params?: any) {
|
||||
})
|
||||
}
|
||||
|
||||
export async function GetfileUsablePackage(params?: any,annoId?:any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/tobs/getSectionList/' + params+"?roomType=1&documentId="+annoId)
|
||||
export async function GetfileUsablePackage(params?: any, annoId?: any) {
|
||||
return request('/api/biz-service-ebtp-bid/v1/document/tobs/getSectionList/' + params + "?roomType=1&documentId=" + annoId)
|
||||
}
|
||||
|
||||
export async function GetfileMsg(params?: any) {
|
||||
@ -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,14 +112,14 @@ 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 })
|
||||
}
|
||||
|
||||
/*开标大厅选择*/
|
||||
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 })
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
@ -165,8 +165,8 @@ export async function updateSupplierUser(id?: any, userId?: any, 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",
|
||||
})
|
||||
}
|
@ -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",
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
@ -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",
|
||||
})
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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',
|
||||
});
|
||||
}
|
||||
//查是否开启评标
|
||||
|
@ -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 = () => {
|
||||
|
@ -68,10 +68,10 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
const header = {
|
||||
clientId: REACT_APP_CLIENT_KEY,
|
||||
}
|
||||
await refreshTokenApi(params,header).then(res => {
|
||||
if(res?.success == true) {
|
||||
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');
|
||||
}
|
||||
@ -79,21 +79,21 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
}
|
||||
|
||||
const handleSubmit = async (values: any) => {
|
||||
if(START_ENV == 'sim' || START_ENV == 'PROD'){
|
||||
if (START_ENV == 'sim' || START_ENV == 'PROD') {
|
||||
let code = {
|
||||
code: values.userCode
|
||||
}
|
||||
await getPassword ({...code}).then((res: any) => {
|
||||
await getPassword({ ...code }).then((res: any) => {
|
||||
if (res?.data) {
|
||||
|
||||
disSet(true);
|
||||
CloudfakeAccountLogin({ ...values, tmpToken }).then((res) => {
|
||||
if (res?.success) {
|
||||
if(moment(res?.data?.expiration).diff(moment(),'hours') < remainingTime) {
|
||||
if (moment(res?.data?.expiration).diff(moment(), 'hours') < remainingTime) {
|
||||
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');
|
||||
}
|
||||
@ -110,11 +110,11 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
disSet(true);
|
||||
await CloudfakeAccountLogin({ ...values, tmpToken }).then((res) => {
|
||||
if (res?.success) {
|
||||
if(moment(res?.data?.expiration).diff(moment(),'hours') < remainingTime) {
|
||||
if (moment(res?.data?.expiration).diff(moment(), 'hours') < remainingTime) {
|
||||
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');
|
||||
}
|
||||
@ -138,13 +138,13 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
)}
|
||||
{
|
||||
START_ENV == 'sim' || START_ENV == 'PROD' ?
|
||||
<Row>
|
||||
<Col span={24}>
|
||||
<Form.Item name="userCode" rules={[{ required: true, message: '请输入口令' }]}>
|
||||
<Input size='large' placeholder="请输入口令" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
</Row> : null
|
||||
<Row>
|
||||
<Col span={24}>
|
||||
<Form.Item name="userCode" rules={[{ required: true, message: '请输入口令' }]}>
|
||||
<Input size='large' placeholder="请输入口令" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
</Row> : null
|
||||
}
|
||||
<UserName
|
||||
name="userName"
|
||||
@ -172,8 +172,8 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
<Input size='large' placeholder="验证码" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12} style={{lineHeight: '33.11px'}}>
|
||||
<Image src={imgUrl} preview={false} onClick={() => changeCaptcha()}/>
|
||||
<Col span={12} style={{ lineHeight: '33.11px' }}>
|
||||
<Image src={imgUrl} preview={false} onClick={() => changeCaptcha()} />
|
||||
</Col>
|
||||
</Row>
|
||||
</Tab>
|
||||
|
@ -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');
|
||||
}
|
||||
|
@ -68,10 +68,10 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
const header = {
|
||||
clientId: REACT_APP_CLIENT_KEY,
|
||||
}
|
||||
await refreshTokenApi(params,header).then(res => {
|
||||
if(res?.success == true) {
|
||||
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');
|
||||
}
|
||||
@ -79,21 +79,21 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
}
|
||||
|
||||
const handleSubmit = async (values: any) => {
|
||||
if(START_ENV == 'sim' || START_ENV == 'PROD'){
|
||||
if (START_ENV == 'sim' || START_ENV == 'PROD') {
|
||||
let code = {
|
||||
code: values.userCode
|
||||
}
|
||||
await getPassword ({...code}).then((res) => {
|
||||
await getPassword({ ...code }).then((res) => {
|
||||
if (res?.data) {
|
||||
|
||||
disSet(true);
|
||||
ZjfakeAccountLogin({ ...values, tmpToken }).then((res) => {
|
||||
if (res?.success) {
|
||||
if(moment(res?.data?.expiration).diff(moment(),'hours') < remainingTime) {
|
||||
if (moment(res?.data?.expiration).diff(moment(), 'hours') < remainingTime) {
|
||||
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');
|
||||
}
|
||||
@ -110,11 +110,11 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
disSet(true);
|
||||
await ZjfakeAccountLogin({ ...values, tmpToken }).then((res) => {
|
||||
if (res?.success) {
|
||||
if(moment(res?.data?.expiration).diff(moment(),'hours') < remainingTime) {
|
||||
if (moment(res?.data?.expiration).diff(moment(), 'hours') < remainingTime) {
|
||||
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');
|
||||
}
|
||||
@ -142,13 +142,13 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
)}
|
||||
{
|
||||
START_ENV == 'sim' || START_ENV == 'PROD' ?
|
||||
<Row>
|
||||
<Col span={24}>
|
||||
<Form.Item name="userCode" rules={[{ required: true, message: '请输入口令' }]}>
|
||||
<Input size='large' placeholder="请输入口令" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
</Row> : null
|
||||
<Row>
|
||||
<Col span={24}>
|
||||
<Form.Item name="userCode" rules={[{ required: true, message: '请输入口令' }]}>
|
||||
<Input size='large' placeholder="请输入口令" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
</Row> : null
|
||||
}
|
||||
<UserName
|
||||
name="userName"
|
||||
@ -177,8 +177,8 @@ const Login: React.FC<LoginProps> = (props) => {
|
||||
<Input size='large' placeholder="验证码" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12} style={{lineHeight: '33.11px'}}>
|
||||
<Image src={imgUrl} preview={false} onClick={() => changeCaptcha()}/>
|
||||
<Col span={12} style={{ lineHeight: '33.11px' }}>
|
||||
<Image src={imgUrl} preview={false} onClick={() => changeCaptcha()} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Submit loading={submitting} disabled={dis}>
|
||||
|
@ -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');
|
||||
}
|
||||
@ -180,7 +180,7 @@ const Index: React.FC<{}> = () => {
|
||||
<Form.Item>
|
||||
<Button type="primary" className="w100" htmlType="submit">
|
||||
登 录
|
||||
</Button>
|
||||
</Button>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</div>
|
||||
|
@ -3,22 +3,22 @@ import { stringify } from 'qs';
|
||||
// 查询项目经理评审室列表
|
||||
export async function fetchManagerList(params) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/manager/list`,
|
||||
{ method: 'POST', data: {...params} });
|
||||
{ method: 'POST', data: { ...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) {
|
||||
return request(`/api/biz-service-ebtp-process/v1/bizassessroom/update/captcha/${params.id}`,
|
||||
{method: 'post'});
|
||||
{ method: 'post' });
|
||||
}
|
||||
|
||||
export async function fetchJuryList(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) {
|
||||
@ -48,14 +48,16 @@ export async function fetchbidslist(params) {
|
||||
}
|
||||
|
||||
export async function pushRedirectRe(params) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/confirm`,{method:'post', data:params});
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/jury/member/confirm`, { method: 'post', data: params });
|
||||
}
|
||||
// 查询初审汇总表
|
||||
export async function fetchPreList(params) {
|
||||
return request(`/api/biz-service-ebtp-rsms/v1/bid/eval/summary/findEarlySummary`,{method: 'POST',
|
||||
data: {
|
||||
...params
|
||||
}});
|
||||
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',
|
||||
data: {
|
||||
...params
|
||||
}});
|
||||
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',
|
||||
data: {
|
||||
...params
|
||||
}});
|
||||
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,15 +75,15 @@ 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 = {
|
||||
...options.headers,
|
||||
};
|
||||
url.startsWith('/api/api/mall-prox') ||
|
||||
url.startsWith('/api/api/mall-expe') ||
|
||||
url == '/api/biz-service-ebtp-extend/v1/userpassword/validatePassword'
|
||||
url.startsWith('/api/api/mall-expe') ||
|
||||
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword'
|
||||
? (options.credentials = 'omit')
|
||||
: null;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user