|
@@ -2,14 +2,14 @@ import { http } from '@/utils/http/axios';
|
|
|
|
|
|
|
|
import type { PersonOverview, VehicleOverview, RegulationItem } from '@/views/security-confidentiality/overview/types';
|
|
import type { PersonOverview, VehicleOverview, RegulationItem } from '@/views/security-confidentiality/overview/types';
|
|
|
|
|
|
|
|
-export async function getPersonOverview() {
|
|
|
|
|
|
|
+export function getPersonOverview() {
|
|
|
return http.request<PersonOverview>({
|
|
return http.request<PersonOverview>({
|
|
|
url: '/overview/queryOverviewVisitorStatistics',
|
|
url: '/overview/queryOverviewVisitorStatistics',
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export async function getVehicleOverview() {
|
|
|
|
|
|
|
+export function getVehicleOverview() {
|
|
|
return http.request<VehicleOverview>({
|
|
return http.request<VehicleOverview>({
|
|
|
url: '/overview/queryVehicleEntryRecordOverview',
|
|
url: '/overview/queryVehicleEntryRecordOverview',
|
|
|
method: 'get',
|
|
method: 'get',
|
|
@@ -17,7 +17,7 @@ export async function getVehicleOverview() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 查询保卫规定与通知列表总览
|
|
// 查询保卫规定与通知列表总览
|
|
|
-export async function getSecurityOverview() {
|
|
|
|
|
|
|
+export function getSecurityOverview() {
|
|
|
return http.request<RegulationItem[]>({
|
|
return http.request<RegulationItem[]>({
|
|
|
url: '/overview/queryDefenseRuleNoticeInfoOverview',
|
|
url: '/overview/queryDefenseRuleNoticeInfoOverview',
|
|
|
method: 'get',
|
|
method: 'get',
|
|
@@ -25,7 +25,7 @@ export async function getSecurityOverview() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 查询保密规定与通知列表总览
|
|
// 查询保密规定与通知列表总览
|
|
|
-export async function getConfidentialityOverview() {
|
|
|
|
|
|
|
+export function getConfidentialityOverview() {
|
|
|
return http.request<RegulationItem[]>({
|
|
return http.request<RegulationItem[]>({
|
|
|
url: '/overview/querySecrecyRuleNoticeInfoOverview',
|
|
url: '/overview/querySecrecyRuleNoticeInfoOverview',
|
|
|
method: 'get',
|
|
method: 'get',
|