import request, { download, downloadFile } from '@/utils/request';
import { AxiosPromise } from 'axios';
// 查询企业标准申请列表
export const DeclarationRecordList = (query?: any): AxiosPromise => {
    return request({
        url: '/dgtmedicine/cpyStandard/list',
        method: 'get',
        params: query
    });
};
// 获取企业标准申请详细信息
export const DeclarationDetail = (id: any): AxiosPromise => {
    return request({
        url: `/dgtmedicine/cpyStandard/getInfo/${id}`,
        method: 'get'
    });
};
// 企业标准审批
export const DeclaraapprovalStandard = (data: any): AxiosPromise => {
    return request({
        url: `/dgtmedicine/cpyStandard/approvalStandard`,
        method: 'Post',
        data
    });
};
// 企业标准审批统计
export const queryDeclarationRecordCount = (query?: any): AxiosPromise => {
    return request({
        url: '/dgtmedicine/cpyStandard/cpyStandardCount',
        method: 'get',
        params: query
    });
};
