| | |
| | | }) |
| | | } |
| | | |
| | | export function getProjects(params) { |
| | | return request({ |
| | | url: 'api/task/projects', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | export function getNames(params) { |
| | | return request({ |
| | | url: 'api/task/names', |
| | |
| | | }) |
| | | } |
| | | |
| | | export default { getAll, getTags, getNames, getChildren, add, edit, del, divide, getPartake } |
| | | export function getProjectTotal(params) { |
| | | return request({ |
| | | url: 'api/task/total', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | export default { getAll, getTags, getNames, getProjects, getChildren, add, edit, del, divide, getPartake, getProjectTotal } |