multiple-list-item.vue 712 B

1234567891011121314151617181920212223242526272829
  1. <script>
  2. import AiListItem from "@/pages/ie/entry-ai-list/components/ai-list-item.vue";
  3. import {useInjectMajorTreeService} from "@/pages/ie/hooks/useMajorTreeInjection";
  4. import {useTransfer} from "@/hooks/useTransfer";
  5. export default {
  6. name: "multiple-list-item",
  7. extends: AiListItem,
  8. setup() {
  9. const {majorTree} = useInjectMajorTreeService()
  10. const {transferTo} = useTransfer()
  11. return {
  12. majorTree,
  13. transferTo
  14. }
  15. },
  16. methods: {
  17. goDetail() {
  18. const path = '/pages/ie/entry-analysis/analysis-result-voluntary'
  19. this.transferTo(path, this.item, null, true)
  20. }
  21. }
  22. }
  23. </script>
  24. <style scoped>
  25. </style>