From 87a028a42029a3d784d29ad7ef6d15a49cd5f920 Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 31 Dec 2024 09:14:06 +0800 Subject: [PATCH] md --- src/api/monitor/cache.js | 66 ++++++++ src/views/emis/emisSettlePayRecord/index.vue | 144 +++++++++++++++--- .../panel/WarehouseInPanel.vue | 39 +---- .../emisWarehouseInBatch/WarehouseStockIn.vue | 112 +++++++------- .../emisWarehouseInBatch/WsInBatchList.vue | 66 +++++--- 5 files changed, 290 insertions(+), 137 deletions(-) diff --git a/src/api/monitor/cache.js b/src/api/monitor/cache.js index 59d3505a..b17b9f69 100644 --- a/src/api/monitor/cache.js +++ b/src/api/monitor/cache.js @@ -7,3 +7,69 @@ export function getCache() { method: 'get' }) } + + +export function getCacheInfo() { + return request({ + url: '/monitor/cache/getCacheInfo', + method: 'get', + }) +} + + +/** + * 获取Redis指定的key,如不指定,则获取所有 + */ +export function getCacheKeys(data) { + return request({ + url: '/monitor/cache/getCacheKeys', + method: 'POST', + data: data + }) +} + +/** + * 获取key的个数 + */ +export function getKeysCount() { + return request({ + url: '/monitor/cache/getKeysCount', + method: 'get', + }) +} + + +/** + * 根据key获取value信息 + */ +export function getValueByKey(data) { + return request({ + url: '/monitor/cache/getValueByKey', + method: 'POST', + data: data + }) +} + + +/** + * 根据key删除缓存信息 + */ +export function delKey(data) { + return request({ + url: '/monitor/cache/delKey', + method: 'POST', + data: data + }) +} + +/** + * 删除所有缓存 + */ +export function delKeys(data) { + return request({ + url: '/monitor/cache/delKeys', + method: 'POST', + data: data + }) +} + diff --git a/src/views/emis/emisSettlePayRecord/index.vue b/src/views/emis/emisSettlePayRecord/index.vue index d26636ca..ccd5f971 100644 --- a/src/views/emis/emisSettlePayRecord/index.vue +++ b/src/views/emis/emisSettlePayRecord/index.vue @@ -1,8 +1,95 @@