[update] 修改一般检索联调

This commit is contained in:
lideqin
2023-11-16 14:24:27 +08:00
parent 72635ea410
commit 585784aa60
3 changed files with 183 additions and 32 deletions
+7 -1
View File
@@ -1,6 +1,10 @@
import { getAction } from './manage'
import { getAction, postAction } from './manage'
// 获取检索历史数据
const getSearchHistoryData = (params) => getAction('/home/lawsHomeNormalSearchHistory/page', params)
// 根据id删除检索历史
const deleteSearchHistoryById = (params) => postAction('/home/lawsHomeNormalSearchHistory/delete', params)
// 批量删除检索历史
const batchDeleteSearchHistory = (params) => postAction('/home/lawsHomeNormalSearchHistory/deleteBatch', params)
// 一般检索(标题)——资源类型改变获取下面筛选项统计数据
const getSearchParamNum = (params) => getAction('/home/lawsHomeSearch/getNormalSearchTitleCount', params)
// 一般检索(标题)—— 查询
@@ -26,6 +30,8 @@ const getEnterStandardList = (params) => getAction('/laws/standard/enterprise/ge
export {
getSearchHistoryData,
deleteSearchHistoryById,
batchDeleteSearchHistory,
getSearchParamNum,
generalSearchTitleSearch,
getSearchParamNumFullText,