<template>
  <div class="clue-import-sea">
    <CardTitle :data="filter_data" :need_user="true" />
  </div>
</template>

<script>
import useGetEmployeeUrl from "@RecordCard/hooks/useGetEmployeeUrl";
import CardTitle from "@RecordCard/components/Common/CardTitle/index.vue";
export default {
  name: "ClueImportSea",
  components: { CardTitle },
  props: {
    data: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  computed: {
    filter_data() {
      const { user_id = "" } = this.data?.user_info;
      return {
        ...this.data,
        user_info: {
          ...this.data?.user_info,
          href: useGetEmployeeUrl(user_id),
        },
      };
    },
  },
};
</script>

<style lang="scss" scoped>
.clue-import-sea {
  width: 100%;
}
</style>
