You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import axios from '@/utils/request';
|
|
|
|
|
|
|
|
export const imageUploadUrl = `${import.meta.env.VITE_BASE_API}/backend/image-upload`;
|
|
|
|
export const getProcess = async (): Promise<any> => (await axios.post('/judgment/judgment/stRecord/getProcess?systemId=19')).data;
|
|
|
|
export const getProcessInformationBasedOnRoles = async (id: number): Promise<any> =>
|
|
|
|
(await axios.post(`/judgment/judgment/stRecord/getProcessInformationBasedOnRoles?systemId=19&parentId=${id}`)).data;
|
|
|
|
export const addOperation = async (data: Record<string, any>): Promise<any> => (await axios.post('/product/product/bank/operation/addOperation', data)).data;
|
|
|
|
export const checkPointList = async (projectId: number): Promise<any> => (await axios.post(`/judgment/judgment/stRecord/checkPointList?projectId=${projectId}`)).data;
|
|
|
|
export const deleteCache = async (projectId: number, checkpoint: number): Promise<any> =>
|
|
|
|
(await axios.get(`/product/product/bank/operation/deleteCache?projectId=${projectId}&checkpoint=${checkpoint}`)).data;
|