riku
2025-04-25 4a836815f12e8ba717702cc8ed431e1b4f96134c
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
30
31
32
33
34
35
36
37
import { $clue } from '../index';
 
export default {
  /**
   * 获取线索结论
   * @param {string} clueId 线索id
   */
  getConclusion(clueId, internal) {
    return $clue
      .get(`clue/conclusion/fetch`, {
        params: { clueId, internal }
      })
      .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);
  }
};