riku
2025-04-22 45be153eaef9e1c1a3fe21515e9cbd785fba8e1f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { getClueStatistic } from '../../../model/clue/clueTask';
 
/**
 * 线索任务统计相关信息获取逻辑
 */
export const useStatistic = Behavior({
  data: {
    clueCountRes: [],
  },
  methods: {
    /**
     * 计算线索巡查完成情况
     */
    calClueCount() {
      this.setData({
        clueCountRes: getClueStatistic(this.data.clueTaskList),
      });
    },
  },
});