duy 8 months ago
parent
commit
c148526f4d
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/project/list/wbs-tree.vue

+ 5 - 5
src/views/project/list/wbs-tree.vue

@@ -25,7 +25,7 @@
                 </div>
                 </div>
             </div>
             </div>
             <div class="body">
             <div class="body">
-                <hc-body padding="8px" split>
+                <hc-body padding="8px" split :options="splitOptions">
                     <template #left>
                     <template #left>
                         <hc-card v-loading="isTreeLoading" class="is-tree" scrollbar title="工程节点信息">
                         <hc-card v-loading="isTreeLoading" class="is-tree" scrollbar title="工程节点信息">
                             <template #search>
                             <template #search>
@@ -218,10 +218,10 @@ const props = defineProps({
         default: () => ({}),
         default: () => ({}),
     },
     },
 })
 })
-
 //事件
 //事件
 const emit = defineEmits(['change', 'close'])
 const emit = defineEmits(['change', 'close'])
-
+//页面分割
+const splitOptions = { sizes: [25, 75], snapOffset: 0, minSize: [300, 300] }
 //双向绑定
 //双向绑定
 // eslint-disable-next-line no-undef
 // eslint-disable-next-line no-undef
 const isShow = defineModel('modelValue', {
 const isShow = defineModel('modelValue', {
@@ -706,7 +706,7 @@ const infoTableColumn1 = ref([
     {
     {
         key: 'action',
         key: 'action',
         name: '操作',
         name: '操作',
-        width: 490,
+       
         align: 'center',
         align: 'center',
         fixed: 'right',
         fixed: 'right',
     },
     },
@@ -1089,7 +1089,7 @@ const linkNodeClick = (row) => {
         position: relative;
         position: relative;
         .body-top {
         .body-top {
             position: relative;
             position: relative;
-            height: 119.5px;
+            height: 129.5px;
         }
         }
         .body-content {
         .body-content {
             position: relative;
             position: relative;