<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>
|