|
|
@@ -42,7 +42,9 @@ enum Api {
|
|
|
//(13)获取接口非结构化存储文件个数,文件总容量
|
|
|
GetDataStoreData = '/interface-center/monitor/getDataStoreData',
|
|
|
//(14)分组统计文件资源大小(GB)
|
|
|
- getDRResourceFileSize = '/datasearch-center/space/getDRResourceFileSize'
|
|
|
+ getDRResourceFileSize = '/datasearch-center/space/getDRResourceFileSize',
|
|
|
+ //(15)空间分析统计次数
|
|
|
+ GetSpatialTimes = '/xldanalysis-center/xldanalyst/BusinessStatistics',
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -374,3 +376,18 @@ export function QueryDRResourceFileSize(params) {
|
|
|
}
|
|
|
|
|
|
|
|
|
+/**
|
|
|
+ * @description 空间分析统计次数
|
|
|
+*/
|
|
|
+export function querySpatialTimes(params) {
|
|
|
+ return new Promise<void>((resolve) => {
|
|
|
+ defHttp.get({ url: Api.GetSpatialTimes, params })
|
|
|
+ .then((r) => {
|
|
|
+ if (r.resp_code === 1 && r.datas && r.datas.length) {
|
|
|
+ resolve(r.datas);
|
|
|
+ } else {
|
|
|
+ resolve([]);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+}
|