wangting
2024-04-16 91ac3d84e2066da4fec64f02364f64b2afe3d6b7
Source/ProjectWeb/src/components/dynamic-components/dynamic-TreeTable.vue
@@ -115,80 +115,10 @@
            prop: 'comment'
          }
        ],
        rowKey: 'id',
        rowParentKey: 'parentId',
        rowKey: this.componentVO.treeTableDefineVO.treeCurrentField || 'oid',
        rowParentKey: this.componentVO.treeTableDefineVO.treeParentField || 'parentOid',
      },
      TreeData: [
        {
          id: 10,
          event: '事件1',
          timeLine: 50,
          comment: '无'
        },
        {
          id: 1,
          event: '事件1',
          timeLine: 100,
          comment: '无',
          children: [
            {
              parentId: 1,
              id: 2,
              event: '事件2',
              timeLine: 10,
              comment: '无'
            },
            {
              parentId: 1,
              id: 3,
              event: '事件3',
              timeLine: 90,
              comment: '无',
              children: [
                {
                  parentId: 3,
                  id: 4,
                  event: '事件4',
                  timeLine: 5,
                  comment: '无'
                },
                {
                  parentId: 3,
                  id: 5,
                  event: '事件5',
                  timeLine: 10,
                  comment: '无'
                }
              ]
            }
          ]
        },
        {
          id: 10,
          event: '事件3',
          timeLine: 50,
          comment: '无'
        },
        {
          id: 10,
          event: '事件4',
          timeLine: 50,
          comment: '无'
        },
        {
          id: 10,
          event: '事件5',
          timeLine: 50,
          comment: '无'
        },
        {
          id: 10,
          event: '事件6',
          timeLine: 50,
          comment: '无'
        },
      ],
      TreeData: [],
      TreeSelectList: [],
      // 表单数据
      formList: [