Ben Lin
2024-08-13 ea7ed4e30392e7f23925c0085d40df29fc1aac2b
src/views/tigerprojects/system/lowcode/composition/CarGridNav.vue
@@ -4,7 +4,7 @@
 * @version: 
 * @Date: 2024-06-20 12:13:27
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-07-03 20:31:07
 * @LastEditTime: 2024-08-13 20:29:17
-->
<template>
  <Card :title="GetTitle(props.configType)['navTitle']">
@@ -12,7 +12,13 @@
      v-for="item in GetNavItems(props.configType)"
      :key="item.title"
      @click="
        navChangeItem(item.action, useModalData[item.action][1].openModal, openRvModal, selectedNodes)
        navChangeItem(
          item.action,
          useModalData[item.action][1].openModal,
          openRvModal,
          selectedNodes,
          keyCode
        )
      "
    >
      <span class="flex flex-col items-center">
@@ -54,6 +60,7 @@
  import { useTabs } from '/@/hooks/web/useTabs';
  import { EntityCustFunctionType } from '/@/api/tigerapi/model/basModel';
  import { useModal } from '/@/components/Modal';
  import { CustModalParams } from '/@/api/tigerapi/model/systemModel';
  const ACard = Card;
  const objParams = inject('objParams') as Ref<any>;
@@ -62,6 +69,7 @@
    configType: { type: String },
    nodes: { type: Array as PropType<any[]> },
  });
  const keyCode = ref(objParams.value['CODE']);
  const custImport = ref<any[]>([]);
  const EntityCustFunction = ref([
    {
@@ -72,7 +80,7 @@
      GetBaseCards(type: string | undefined) {},
      GetSelectSuccess(d, u, ...args) {},
      GenerateHtml(ype: string | null) {},
      CustFunc(type: string | undefined, ...args) {},
      CustFunc(param: CustModalParams) {},
    } as EntityCustFunctionType,
  ]);
  /* 动态import实体名.ts的自定义方法 */