import { paramOV, reQueryOV } from '@/api/report/types';

import { AxiosPromise } from 'axios';
import request from '@/utils/request';

/**
 * 查询流程分类列表
 * @param query
 * @returns {*}
 */

export const listCategory = (query?: reQueryOV): AxiosPromise<[]> => {
  return request({
    url: '/ums/feedback/page',
    method: 'post',
    data: query
  });
};
export const posthandle = (query?: paramOV): AxiosPromise<[]> => {
  return request({
    url: '/ums/feedback/handle/handle',
    method: 'post',
    data: query
  });
};
