From 6a7257f9d8f659c508cf826726126c0fa4363eef Mon Sep 17 00:00:00 2001 From: YangYuGang <1378265336@qq.com> Date: 星期一, 14 四月 2025 17:04:39 +0800 Subject: [PATCH] 盘点单没有数据时一直加载中 --- src/views/tigerprojects/system/lowcode/composition/index.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/composition/index.vue b/src/views/tigerprojects/system/lowcode/composition/index.vue index 4724e35..58504c3 100644 --- a/src/views/tigerprojects/system/lowcode/composition/index.vue +++ b/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 17:50:50 + * @LastEditTime: 2024-10-21 23:03:27 --> <template> <PageWrapper - :dense="dense" contentFullHeight - fixedHeight contentClass="flex" :title="pageTitle" :content="pageContent" @@ -85,10 +83,9 @@ import GeneralModal from '/@/views/components/GeneralModal.vue'; import CarGridNav from './CarGridNav.vue'; import Config from './Config.vue'; - import LeftTree from './LeftTree.vue'; import CustModal from '/@/views/components/CustModal.vue'; import { OpenCustModal, initRoute } from '../data'; - import { Ref, VNode, onMounted, provide, ref, unref } from 'vue'; + import { Ref, VNode, defineAsyncComponent, onMounted, provide, ref, unref } from 'vue'; import { FlowChartView } from '/@/components/FlowChart'; import { useRoute } from 'vue-router'; import { BasicForm, useForm } from '/@/components/Form/index'; @@ -98,8 +95,9 @@ import { useMessage } from '/@/hooks/web/useMessage'; import LogicFlow from '@logicflow/core'; - defineOptions({ name: 'DeptManagement' }); + defineOptions({ name: '宸ュ崟宸ヨ壓缁戝畾' }); + const LeftTree = defineAsyncComponent(() => import('./LeftTree.vue')); const { notification, createErrorModal } = useMessage(); const go = useGo(); const route = useRoute(); @@ -133,7 +131,7 @@ edges: [], }); const custImport = ref<any>(null); - const [registerCust, { openModal: openCustomModal, closeModal }] = useModal(); + const [registerCust] = useModal(); provide<Ref<any>>('objParams', objParams); provide<Ref<any>>('selectedNodes', nodes); setTitle(objParams.value.Title); //璁剧疆鏍囩椤垫爣棰� @@ -146,7 +144,7 @@ if (!isNullOrUnDef(custImport.value)) { const [{ GetHomeUrl }] = custImport.value['default'](); // 鏈緥鐨勬晥鏋滄椂鐐瑰嚮杩斿洖濮嬬粓璺宠浆鍒拌处鍙峰垪琛ㄩ〉锛屽疄闄呭簲鐢ㄦ椂鍙繑鍥炰笂涓�椤� - go(GetHomeUrl({ colSlots: colSlots.value })); + go(GetHomeUrl({ colSlots: colSlots.value, sName:objParams.value.firstSessionName })); } } @@ -268,3 +266,8 @@ ); //[openRvModal], selectVals.value['ID']杩欐槸鑷畾涔夊弬鏁帮紝鎸夊疄闄呴渶姹� } </script> +<style lang="less"> +.vben-page-wrapper .vben-page-wrapper-content { + margin: 1px; +} +</style> -- Gitblit v1.9.3