| | |
| | | * @version: |
| | | * @Date: 2024-06-18 23:30:30 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-08-04 00:14:39 |
| | | * @LastEditTime: 2024-08-04 17:50:50 |
| | | --> |
| | | <template> |
| | | <PageWrapper |
| | |
| | | </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"> |
| | |
| | | |
| | | 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); |
| | | } |
| | | |
| | | /** |
| | |
| | | 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); |
| | | } |
| | | } |
| | | |