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

432 lines
11 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
*/
2023-02-06 08:58:35 +08:00
export async function getThreeDayNoEndAPI(data: any) {
2022-12-26 09:01:17 +08:00
return request('/api/biz-service-ebtp-statistics/api/evaluation/exception/threedaynoend', {
2023-02-06 08:58:35 +08:00
method: 'POST',
data: { ...data },
2022-12-26 09:01:17 +08:00
});
}
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
/**
2023-02-06 08:58:35 +08:00
* -
2022-12-26 09:01:17 +08:00
*/
2023-02-06 08:58:35 +08:00
export async function getDecryptExceptionListAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/getDecryptExceptionList', {
method: 'POST',
data: { ...data }
});
}
/**
* -mac地址相同列表mac地址相同数量
*/
export async function getMacSameListAPI(data: any) {
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/getMacSameList', {
method: 'POST',
data: { ...data }
2022-12-26 09:01:17 +08:00
});
}
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
*/
2023-02-06 08:58:35 +08:00
export async function getThreeDaysUnSendAnnoListAPI(data: any) {
2022-12-28 17:29:12 +08:00
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/threeDaysUnSendAnnoList', {
2023-02-06 08:58:35 +08:00
method: 'POST',
data: { ...data }
2022-12-28 17:29:12 +08:00
});
}
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
*/
2023-02-07 15:34:20 +08:00
export async function getUnopenTenAPI(data: any) {
2022-12-30 15:27:59 +08:00
return request('/api/biz-service-ebtp-statistics/api/evaluation/today/unopen/ten', {
2023-02-07 15:34:20 +08:00
method: 'POST',
data: { ...data },
2022-12-30 15:27:59 +08:00
});
}
/**
* -6
*/
2023-02-07 15:34:20 +08:00
export async function getUnopenSixAPI(data: any) {
2022-12-30 15:27:59 +08:00
return request('/api/biz-service-ebtp-statistics/api/evaluation/today/unopen/six', {
2023-02-07 15:34:20 +08:00
method: 'POST',
data: { ...data },
2022-12-30 15:27:59 +08:00
});
}
2022-12-26 09:01:17 +08:00
/**
* -
*/
2023-02-07 15:34:20 +08:00
export async function getDecryptSuccessRateTodayAPI(data: any) {
2022-12-26 09:01:17 +08:00
return request('/api/biz-service-ebtp-statistics/exceptionMonitor/getDecryptSuccessRateToday', {
2023-02-07 15:34:20 +08:00
method: 'POST',
data: { ...data }
2022-12-26 09:01:17 +08:00
});
}
/**
* -
*/
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,
});
2023-01-19 15:27:34 +08:00
}
/**
* -
* @param data
* @returns
*/
export async function getMonitorList(data: any) {
return request('/api/biz-service-ebtp-evaluation/v1/screen/getReviewRoomList', {
method: 'POST',
data: data,
});
2023-02-01 16:56:28 +08:00
}
/**
* -
* @param id
* @returns
*/
export async function getBidRoomData(id: any) {
return request('/api/biz-service-ebtp-evaluation/v1/screen/getReviewRoom/' + id, {
method: 'GET',
});
}
/**
* -
* @param params
* @returns
*/
export async function getCameraList(params: any) {
return request('/api/biz-service-ebtp-evaluation/v1/screen/queryAreaCamera', {
method: 'GET',
params: params,
});
}
2023-05-19 22:03:00 +08:00
/**
* - new
* @param data
* @returns
*/
export async function getCameraListNew(data: any) {
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/jovision/getDevicePage', {
method: 'POST',
data: data,
});
}
/**
* -
* @param data
* @returns
*/
export async function getLiveStream(data: any) {
console.log(data);
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/jovision/getLiveStream', {
method: 'POST',
data: data,
});
}
/**
* -()
* @param data
* @returns
*/
export async function getRecordPlaybackTime(data: any) {
console.log(data);
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/jovision/getRecordPlaybackTime', {
method: 'POST',
data: data,
});
}
/**
* -
* @param data
* @returns
*/
export async function getAlarmMetadata1(data: any) {
data["sourceCode"]="strangerAlarm";
return getAlarmMetadata(data);
}
/**
* -
* @param data
* @returns
*/
export async function getAlarmMetadata2(data: any) {
data["sourceCode"]="HighPersonDensityAlarm";
return getAlarmMetadata(data);
}
/**
*
* @param data
* @returns
*/
export async function getAlarmMetadata(data: any) {
console.log(data);
2023-06-20 10:33:32 +08:00
data["pageNum"]="1";
data["pageSize"]="6";
2023-05-19 22:03:00 +08:00
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/jovision/getAlarmMetadata', {
method: 'POST',
data: data,
});
}
2023-02-01 16:56:28 +08:00
/**
* -
* @param data
* @returns
*/
export async function getExpertReports(data: any) {
return request('/api/biz-service-ebtp-evaluation/v1/screen/queryReportUser', {
method: 'POST',
data: data,
});
}
/**
* -
* @param params
* @returns
*/
export async function getLookBackList(params: any) {
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/alarm/screamOfAlarm/back', {
method: 'POST',
params: params
});
}
// /**
// * 评标室监控详情-设备列表(回看)
// * @param id
// * @returns
// */
// export async function getCaremaBackList(id: any) {
// return request('/api/biz-service-ebtp-evaluation/v1/eval/room/reserve/' + id, {
// 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
});
}
/**
* -
* @param params
* @returns
*/
export async function getWarnData(params?: any) {
return request('/api/biz-service-ebtp-evaluation/v1/eval/room/alarm/screamOfAlarm', {
method: 'GET',
params: { ...params },
});
2022-12-26 09:01:17 +08:00
}