Merge branch '20220613-将PUT和DELETE请求更改成POST请求' into 'release_20220923'
9.23 1、将PUT和DELETE请求更改成POST请求 2、重评点击保存一直转圈 See merge request eshop/fe_service_ebtp_frontend!4
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user