Ben Lin
2024-09-11 08f1b081e006f0f3b83bcbdf47f4ef494e18450b
src/views/tigerprojects/system/lowcode/composition/index.vue
@@ -4,13 +4,11 @@
 * @version: 
 * @Date: 2024-06-18 23:30:30
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-08-04 00:14:39
 * @LastEditTime: 2024-08-06 10:04:20
-->
<template>
  <PageWrapper
    :dense="dense"
    contentFullHeight
    fixedHeight
    contentClass="flex"
    :title="pageTitle"
    :content="pageContent"
@@ -29,7 +27,12 @@
            </div>
          </template>
        </CarGridNav>
        <Config v-if="showConfig" :configType="configType" :OtherTableName="OtherTableName" @success="configSuccess" />
        <Config
          v-if="showConfig"
          :configType="configType"
          :OtherTableName="OtherTableName"
          @success="configSuccess"
        />
      </div>
    </Suspense>
    <!-- <BasicTable class="w-3/4 xl:w-4/5" @register="registerTable">
@@ -165,12 +168,12 @@
  const currlf = ref(null) as Ref<LogicFlow | null>;
  /**
   * @description: 工艺路线初始化
   * @description: 工艺路线初始化,特殊页面自定义内容
   * @param {*} lf
   * @return {*}
   */
  async function init(lf, rotId) {
    initRoute(lf, rotId, routeData, currlf);
    initRoute(lf, rotId, routeData, currlf, objParams.value.rotType);
  }
  /**
@@ -189,8 +192,13 @@
      nodes: [],
      edges: [],
    };
    /* 自定义内容,只有显示工艺路线的组合页面会进来 */
    if (e.nodes[0].type == 'Route') {
      initRoute(currlf, e.nodes[0].code, routeData, currlf);
      let _rotId = e.nodes[0].code;
      if (objParams.value.rotType == 'Wo') {
        _rotId = e.nodes[0].wo;
      }
      initRoute(currlf, _rotId, routeData, currlf, objParams.value.rotType);
    }
  }
@@ -258,3 +266,8 @@
    ); //[openRvModal], selectVals.value['ID']这是自定义参数,按实际需求
  }
</script>
<style lang="less">
.vben-page-wrapper .vben-page-wrapper-content {
    margin: 1px;
}
</style>