// import request from '@/utils/request'; import { useHttp } from '@crami/http'; export interface ExpRule { companyId: string; connect: string; filter: [ { andOrFlag: string; field: string; operation: string; value: string; }, ]; lang: string; objectType: string; page: number; pageNo: number; pageSize: number; data: any; } export async function ExpDataAPI(data: ExpRule) { return await useHttp({ url: '/exportservice/export/exportGridData', method: 'post', data, }); }