import axios from '@/utils/request'; export const imageUploadUrl = `${import.meta.env.VITE_BASE_API}/backend/image-upload`; export const cropImage = async (data: Record): Promise => (await axios.post('/backend/image-crop', data)).data; export const getProcess = async (): Promise => (await axios.post('/judgment/judgment/stRecord/getProcess?systemId=19')).data; export const getProcessInformationBasedOnRoles = async (id: number): Promise => (await axios.post(`/judgment/judgment/stRecord/getProcessInformationBasedOnRoles?systemId=19&parentId=${id}`)).data; export const getAllBusiness = async (): Promise => (await axios.post('/judgment/judgment/stRecord/getAllBusiness?systemId=19')).data;