Files
fe_service_ebtp_frontend/src/pages/ElecEvaluation/Monitor/service.ts

258 lines
6.5 KiB
TypeScript
Raw Normal View History

2022-12-26 09:01:17 +08:00
import request from '@/utils/request';
/**
* -
* @param data
*/
export async function getTodayOpeningAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/opening/getTodayOpening', {
method: 'POST',
data: { ...data },
});
}
/**
* -
* @param data
*/
export async function getReviewDistributionAPI() {
return request('/api/biz-service-ebtp-statistics/opening/getProvincesList', {
method: 'GET',
});
}
/**
* -
* @param data
*/
export async function getOpeningListAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/opening/openList', {
method: 'POST',
data: { ...data },
});
}
/**
* -
* @param data
*/
2023-01-05 17:26:37 +08:00
export async function getAnnualAndTenderAgentAPI(year: any) {
return request(`/api/biz-service-ebtp-statistics/indexMonitor/getProjectData/${year}`, {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
}
/**
* -
* @param data
*/
2023-01-05 17:26:37 +08:00
export async function getActiveSupplierAPI(params: any) {
return request(`/api/biz-service-ebtp-statistics/indexMonitor/indexQuerySupplier/${params}`, {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
}
2022-12-28 17:29:12 +08:00
/**
* -
*/
export async function getSupplierCountAPI(params: any) {
2023-01-06 13:46:42 +08:00
return request(`/api/biz-service-ebtp-statistics/v1/tenderMonitor/supplierCount`, {
2022-12-28 17:29:12 +08:00
method: 'GET',
2023-01-06 13:46:42 +08:00
params: params
2022-12-28 17:29:12 +08:00
});
}
/**
* -
*/
export async function getAnnoCountAPI(params: any) {
2023-01-05 17:26:37 +08:00
return request(`/api/biz-service-ebtp-statistics/indexMonitor/annoCount/${params}`, {
2022-12-28 17:29:12 +08:00
method: 'GET',
});
}
/**
* -
*/
export async function getExpertNumberAPI(params: any) {
return request(`/api/biz-service-ebtp-statistics/api/evaluation/monitor/expertNumber/${params}`, {
method: 'GET',
});
}
2022-12-26 09:01:17 +08:00
/**
* -1
2022-12-30 15:27:59 +08:00
* @param data
2022-12-26 09:01:17 +08:00
*/
2022-12-30 15:27:59 +08:00
export async function getNoOpenNumberAPI(data: any) {
2022-12-26 09:01:17 +08:00
return request('/api/biz-service-ebtp-statistics/opening/noOpenNumber', {
method: 'POST',
2022-12-30 15:27:59 +08:00
data: { ...data },
2022-12-26 09:01:17 +08:00
});
}
/**
* -3
*/
export async function getThreeDayNoEndAPI() {
return request('/api/biz-service-ebtp-statistics/api/evaluation/exception/threedaynoend', {
method: 'GET',
});
}
2022-12-30 15:27:59 +08:00
/**
* -3-
*/
export async function getThreeDayNoEndCountAPI() {
return request('/api/biz-service-ebtp-statistics/api/evaluation/exception/threedaynoend/count', {
method: 'GET',
});
}
2022-12-26 09:01:17 +08:00
/**
* -1-
* @param data
*/
export async function getNoOpenListAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/opening/noOpenList', {
method: 'POST',
data: { ...data },
});
}
/**
* -6-
* @param data
*/
export async function getNoOpenAssessListAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/opening/noOpenAssessList', {
method: 'POST',
data: { ...data },
});
}
2023-01-05 17:26:37 +08:00
/**
* -6-
* @param data
*/
export async function getNoOpenAssessNumberAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/opening/noOpenAssessNumber', {
method: 'POST',
data: { ...data },
});
}
2022-12-26 09:01:17 +08:00
/**
* -mac地址相同及相关项目列表
*/
export async function getDecryptDataAPI() {
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/getDecryptDataNow', {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
}
2022-12-28 17:29:12 +08:00
/**
* -3
*/
export async function getThreeDaysUnSendAnnoCountAPI() {
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/threeDaysUnSendAnnoCount', {
method: 'GET',
});
}
/**
* -3
*/
export async function getThreeDaysUnSendAnnoListAPI() {
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/threeDaysUnSendAnnoList', {
method: 'GET',
});
}
2022-12-26 09:01:17 +08:00
/**
* -
*/
export async function getTodayInfoAPI() {
return request('/api/biz-service-ebtp-statistics/api/evaluation/today/info', {
method: 'GET',
});
}
2022-12-30 15:27:59 +08:00
/**
* -10
*/
export async function getUnopenTenAPI() {
return request('/api/biz-service-ebtp-statistics/api/evaluation/today/unopen/ten', {
method: 'GET',
});
}
/**
* -6
*/
export async function getUnopenSixAPI() {
return request('/api/biz-service-ebtp-statistics/api/evaluation/today/unopen/six', {
method: 'GET',
});
}
2022-12-26 09:01:17 +08:00
/**
* -
*/
export async function getDecryptSuccessRateTodayAPI() {
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/getDecryptSuccessRateToday', {
method: 'GET',
});
}
/**
* -
*/
2023-01-05 17:26:37 +08:00
export async function getSupplierInfoAPI(params: any) {
return request(`/api/biz-service-ebtp-statistics/v1/tenderMonitor/supplierInfo/${params}`, {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
}
/**
* -
*/
2023-01-05 17:26:37 +08:00
export async function getActiveSupplierRankAPI(params: any) {
return request(`/api/biz-service-ebtp-statistics/v1/tenderMonitor/activeSupplierRank/${params}`, {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
}
/**
* -
*/
2023-01-05 17:26:37 +08:00
export async function getProvinceActiveSupplierInfoAPI(params: any) {
return request(`/api/biz-service-ebtp-statistics/v1/tenderMonitor/provinceActiveSupplierInfo/${params}`, {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
}
/**
2022-12-28 17:29:12 +08:00
* -
2022-12-26 09:01:17 +08:00
*/
2023-01-05 17:26:37 +08:00
export async function getTenderAgentDataAPI(year: string) {
return request('/api/biz-service-ebtp-statistics/tenderAgent/getTenderAgentData/' + year, {
2022-12-28 17:29:12 +08:00
method: 'GET',
});
}
/**
* -
*/
2023-01-05 17:26:37 +08:00
export async function getProvinceByAgencyAPI(agencyId: any, year: any) {
return request(`/api/biz-service-ebtp-statistics/tenderAgent/getProvinceByAgency/${agencyId}/${year}`, {
2022-12-26 09:01:17 +08:00
method: 'GET',
});
2022-12-30 15:27:59 +08:00
}
/**
* -
* @param data
* @returns
*/
export async function getMonitorListAPI(data: any) {
return request('/api/biz-service-ebtp-evaluation/v1/screen/getReviewRoomList', {
method: 'POST',
data: data,
});
2022-12-26 09:01:17 +08:00
}