From f46786f11c5c08ead7501a82e5a71430ad69b782 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期日, 27 四月 2025 17:39:24 +0800
Subject: [PATCH] 修复线索问题定位错误问题
---
services/clue/fetchClue.js | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/services/clue/fetchClue.js b/services/clue/fetchClue.js
index be15df5..6c6d3de 100644
--- a/services/clue/fetchClue.js
+++ b/services/clue/fetchClue.js
@@ -61,6 +61,42 @@
});
}
+/**
+ * 鏌ヨ绾跨储浠诲姟
+ * @param {object} options 鏌ヨ鏉′欢
+ * @param {Number} page 椤电爜
+ * @param {Number} per_page 鍗曢〉鏁版嵁閲�
+ * @returns
+ */
+function searchClueTask(options, page, per_page) {
+ return post(
+ {
+ url: `clue/task/search`,
+ params:{page, per_page},
+ data: options,
+ },
+ clueUrl,
+ ).then(res => {
+ return res.data;
+ });
+}
+
+/**
+ * 鏌ヨ绾跨储浠诲姟
+ * @param {object} options 鏌ヨ鏉′欢
+ * @returns
+ */
+function fetchClueTaskSummary(options) {
+ return post(
+ {
+ url: `clue/task/summary`,
+ data: options,
+ },
+ clueUrl,
+ ).then(res => {
+ return res.data;
+ });
+}
/******************************************************************************* */
/**
* 鑾峰彇绾跨储缁撹
@@ -195,6 +231,8 @@
fetchClue,
fetchClueInternal,
fetchClueTask,
+ searchClueTask,
+ fetchClueTaskSummary,
getConclusion,
uploadConclusion,
updateQuestion,
--
Gitblit v1.9.3