fix: m
parent
89f7726b45
commit
40d690697a
|
@ -27,7 +27,7 @@ function getDatesFormatted() {
|
||||||
// 单位机时统计
|
// 单位机时统计
|
||||||
export const getDepartDuration = () =>
|
export const getDepartDuration = () =>
|
||||||
axios
|
axios
|
||||||
.post(`/screen_server/hpc/findTopByOrg?startDate=${getDatesFormatted().today}&endDate=${getDatesFormatted().ninetyDaysAgo}`)
|
.post(`/screen_server/hpc/findTopByOrg?startDate=${getDatesFormatted().ninetyDaysAgo}&endDate=${getDatesFormatted().today}`)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
return response.data
|
return response.data
|
||||||
})
|
})
|
||||||
|
@ -38,7 +38,7 @@ export const getDepartDuration = () =>
|
||||||
// 软件机时统计
|
// 软件机时统计
|
||||||
export const getSoftwareDuration = () =>
|
export const getSoftwareDuration = () =>
|
||||||
axios
|
axios
|
||||||
.post(`/screen_server/hpc/findTopBySoft?startDate=${getDatesFormatted().today}&endDate=${getDatesFormatted().ninetyDaysAgo}`)
|
.post(`/screen_server/hpc/findTopBySoft?startDate=${getDatesFormatted().ninetyDaysAgo}&endDate=${getDatesFormatted().today}`)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
return response.data
|
return response.data
|
||||||
})
|
})
|
||||||
|
@ -49,7 +49,7 @@ export const getSoftwareDuration = () =>
|
||||||
// 当前在用软件
|
// 当前在用软件
|
||||||
export const getInUseSoftware = () =>
|
export const getInUseSoftware = () =>
|
||||||
axios
|
axios
|
||||||
.post(`/screen_server/hpc/findTopSoftList?startDate=${getDatesFormatted().today}&endDate=${getDatesFormatted().ninetyDaysAgo}`)
|
.post(`/screen_server/hpc/findTopSoftList?startDate=${getDatesFormatted().ninetyDaysAgo}&endDate=${getDatesFormatted().today}`)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
return response.data
|
return response.data
|
||||||
})
|
})
|
||||||
|
@ -60,7 +60,7 @@ export const getInUseSoftware = () =>
|
||||||
// 用户机时用量
|
// 用户机时用量
|
||||||
export const getUserUseTrend = () =>
|
export const getUserUseTrend = () =>
|
||||||
axios
|
axios
|
||||||
.post(`/screen_server/hpc/findTopByUser?startDate=${getDatesFormatted().today}&endDate=${getDatesFormatted().ninetyDaysAgo}`)
|
.post(`/screen_server/hpc/findTopByUser?startDate=${getDatesFormatted().ninetyDaysAgo}&endDate=${getDatesFormatted().today}`)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
return response.data
|
return response.data
|
||||||
})
|
})
|
||||||
|
@ -70,7 +70,7 @@ export const getUserUseTrend = () =>
|
||||||
// 软件集成数量
|
// 软件集成数量
|
||||||
export const getSoftwareIntegrate = () =>
|
export const getSoftwareIntegrate = () =>
|
||||||
axios
|
axios
|
||||||
.post(`/screen_server/hpc/findSoftCount?startDate=${getDatesFormatted().today}&endDate=${getDatesFormatted().ninetyDaysAgo}`)
|
.post(`/screen_server/hpc/findSoftCount?startDate=${getDatesFormatted().ninetyDaysAgo}&endDate=${getDatesFormatted().today}`)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
return response.data
|
return response.data
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue