6.20 前端put和delete请求类型修改为post
This commit is contained in:
@ -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}`);
|
||||
}
|
Reference in New Issue
Block a user