Ben Lin
2024-06-27 226ad601bb8326814c3e94efd6f476014f6a9e66
src/views/tigerprojects/system/lowcode/composition/index.vue
@@ -1,3 +1,11 @@
<!--
 * @Description: 通用组合页面,左边是树,右边是配置
 * @Author: Ben Lin
 * @version:
 * @Date: 2024-06-18 23:30:30
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-06-27 22:31:13
-->
<template>
  <PageWrapper
    :dense="dense"
@@ -14,7 +22,7 @@
    <Suspense>
      <div class="w-3/4 xl:w-4/5 p-5">
        <CarGridNav v-if="showNav" />
        <Config v-if="showConfig" />
        <Config v-if="showConfig" :configType="configType" @success="configSuccess"/>
      </div>
    </Suspense>
    <!-- <BasicTable class="w-3/4 xl:w-4/5" @register="registerTable">
@@ -71,9 +79,11 @@
  import { useTabs } from '/@/hooks/web/useTabs';
  import { isNullOrUnDef } from '/@/utils/is';
  import { useGo } from '/@/hooks/web/usePage';
  import { useMessage } from '/@/hooks/web/useMessage';
  defineOptions({ name: 'DeptManagement' });
  const { notification, createErrorModal } = useMessage();
  const go = useGo();
  const route = useRoute();
  const { setTitle } = useTabs();
@@ -92,6 +102,7 @@
  const isMounted = ref(false);
  const showNav = ref(false);
  const showConfig = ref(false);
  const configType = ref('');
  const custImport = ref<any>(null);
  const [registerCust, { openModal: openCustomModal, closeModal }] = useModal();
  provide<Ref<string>>('nodeType', nodeType);
@@ -132,6 +143,15 @@
  function NodeSelect(e) {
    showConfig.value = e.showConfig;
    showNav.value = e.showNav;
    configType.value = e.type
  }
  /**
   * @description: 保存配置成功返回方法
   * @return {*}
   */
  function configSuccess() {
    notification.success({ message: '成功保存行为配置数据' });
  }
  /**