<template>
  <div class="feed-summary-container">
    <div class="feed-summary-inner">
      <div class="left-side-menu">
        <project-side-menu :menuTree="menuTreeList" :unique-opened="false" :default-active="defaultActive"></project-side-menu>
      </div>
    </div>
  </div>
</template>
<script>
import ProjectSideMenu from "@/views/projectCostLedger/detail/components/ProjectSideMenu";
export default {
  name: "feedSummary",
  components: {
    ProjectSideMenu
  },
  data() {
    return {
      defaultActive: "",
      menuTreeList: [
        {
          nodeName: "房建类成本科目",
          id: "1",
          children: [
            {
              nodeName: "劳务分包工程",
              id: "1-1",
              children: [
                {
                  nodeName: "主体工程-结构劳务",
                  id: "1-1-1",
                  children: [
                    {
                      nodeName: "结构劳务分包",
                      id: "1-1-1-1",
                    }
                  ]
                },
                {
                  nodeName: "二次结构及粗装修劳务",
                  id: "1-2-1",
                  children: [
                    {
                      nodeName: "二次机构及粗装修劳务",
                      id: "1-2-1",
                    }
                  ]
                },
                {
                  nodeName: "拆除、修缮、清理、改造劳...",
                  id: "1-3-1",
                  children: [
                    {
                      nodeName: "拆除、修缮、清理、改造劳...",
                      id: "1-3-1",
                    }
                  ]
                }
              ]
            },
            {
              nodeName: "专业分包工程",
              id: "2",
            },
            {
              nodeName: "实体工程材料（土建）",
              id: "3",
            },
            {
              nodeName: "其他直接费成本",
              id: "4",
            },
          ]
        },
        {
          nodeName: "未归类项目",
          id: "2",
          children: []
        }
      ]
    };
  },
  //可访问data属性
  created() {

  },
  //计算集
  computed: {

  },
  //方法集
  methods: {

  },
}
</script>
<style lang="scss" scoped>
.feed-summary-container {
  width: 100%;
  height: 100%;

  .feed-summary-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;

    .left-side-menu {
      width: 220px;
      min-width: 220px;
      height: 100%;
    }
  }
}
</style>
