riku
2025-04-21 30748ea70f14c675743c7ea54e5c162d4a5e2839
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { $clue } from '../index';
 
export default {
  /**
   * 获取线索结论
   * @param {string} clueId 线索id
   */
  getConclusion(clueId) {
    return $clue.get(`clue/conclusion/fetch?clueId=${clueId}`).then((res) => res.data);
  },
 
  /**
   * 提交线索结论
   * @param {object} conclusion 线索
   * @returns 
   */
  uploadConclusion(conclusion) {
    return $clue.post(`clue/conclusion/upload`, conclusion).then((res) => res.data);
  },
 
  /**
   * 推送线索结论至第三方
   * @param {Array} conclusionIdList 线索id集合
   * @returns 
   */
  pushConclusion(conclusionIdList) {
    return $clue.post(`clue/conclusion/push`, conclusionIdList).then((res) => res.data);
  }
};