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
30
31
32
33
<template>
  <el-row class="fy-overlay-container" justify="space-between">
    <el-col :span="6">
      <ClueManage @itemSelected="selectClue"></ClueManage>
    </el-col>
    <el-col :span="6">
      <ClueReport
        v-model:show="show"
        :clueData="selectedClue"
        @pushed="(e) => (selectedClue.cuploaded = e)"
      ></ClueReport>
    </el-col>
  </el-row>
</template>
 
<script setup>
import ClueManage from './list/ClueManage.vue';
import ClueReport from './report/ClueReport.vue';
import { ref } from 'vue';
 
const selectedClue = ref();
const show = ref(false);
 
/**
 * 选择线索事件
 */
const selectClue = function (clue) {
  show.value = true;
  selectedClue.value = clue;
};
</script>
 
<style scoped></style>