diff --git a/src/api/judgment.ts b/src/api/judgment.ts index 962ea0a..1c3b1fb 100644 --- a/src/api/judgment.ts +++ b/src/api/judgment.ts @@ -14,4 +14,6 @@ export const deleteCache = async (data: Record): Promise => ) ).data; export const getOperation = async (params?: Record): Promise => (await axios.get('/product/product/bank/operation/getOperation', { params })).data; -export const queryCache = async (params?: Record): Promise => (await axios.get('/product/product/bank/operation/queryCache', { params })).data; +export const getSandTableLastCache = async (data: Record): Promise => + (await axios.post(`/product/product/bank/operation/getSandTableLastCache?cid=${data.cid}&projectId=${data.projectId}`)).data; +export const deleteOperationData = async (data: Record): Promise => (await axios.post('/product/product/bank/operation/deleteOperationData', data)).data; diff --git a/src/components/Panel/index.vue b/src/components/Panel/index.vue index 981908e..11fa25e 100644 --- a/src/components/Panel/index.vue +++ b/src/components/Panel/index.vue @@ -224,7 +224,7 @@