You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import request from '@/router/axios';
|
|
|
|
|
const prefix = '/api/blade-workflow/homePage'
|
|
|
|
|
// 查询
|
|
|
|
|
export const getAboutMy = () => {
|
|
|
|
|
return request({
|
|
|
|
|
url: `${prefix}/aboutMy`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 折线图
|
|
|
|
|
export const getFlowListMonth = () => {
|
|
|
|
|
return request({
|
|
|
|
|
url: `${prefix}/flowListMonth`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 任务耗时
|
|
|
|
|
export const getFlowTakeTime = () => {
|
|
|
|
|
return request({
|
|
|
|
|
url: `${prefix}/flowTakeTime`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 类型统计
|
|
|
|
|
export const getFlowListType = () => {
|
|
|
|
|
return request({
|
|
|
|
|
url: `${prefix}/flowListType`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
})
|
|
|
|
|
}
|