|
@@ -1,27 +1,13 @@
|
|
|
<template>
|
|
|
- <div class="hc-layout-box">
|
|
|
- <div :style="`width:${leftWidth}px;`" class="hc-layout-left-box bg-white">
|
|
|
- <div class="hc-project-box">
|
|
|
- <div class="hc-project-icon-box">
|
|
|
- <HcIcon name="stack" />
|
|
|
- </div>
|
|
|
- <div class="project-name-box ml-2">
|
|
|
- <span class="project-alias">{{ projectInfo.projectName }}</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="hc-tree-box">
|
|
|
- <el-scrollbar>
|
|
|
- <HcLazyTree :auto-expand-keys="treeAutoExpandKeys" is-type @load="treeLoadNode" @node-tap="wbsElTreeClick" />
|
|
|
- <!-- WbsTree :autoExpandKeys="treeAutoExpandKeys" :classifyType="classifyType" :contractId="contractId"
|
|
|
- :projectId="projectId" @nodeTap="wbsElTreeClick"/ -->
|
|
|
- </el-scrollbar>
|
|
|
- </div>
|
|
|
- <!-- 左右拖动 -->
|
|
|
- <div class="horizontal-drag-line" @mousedown="onmousedown" />
|
|
|
- </div>
|
|
|
- <div v-loading="isLoading" class="hc-chart-content-box">
|
|
|
- <BarChart ref="barChartRef" :datas="barChartDatas" />
|
|
|
- </div>
|
|
|
+ <div class="write-page-box">
|
|
|
+ <hc-page-split :project-nmae="projectInfo.projectName">
|
|
|
+ <template #tree>
|
|
|
+ <HcLazyTree :auto-expand-keys="treeAutoExpandKeys" is-type @load="treeLoadNode" @node-tap="wbsElTreeClick" />
|
|
|
+ </template>
|
|
|
+ <hc-card v-loading="isLoading">
|
|
|
+ <BarChart ref="barChartRef" :datas="barChartDatas" />
|
|
|
+ </hc-card>
|
|
|
+ </hc-page-split>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -130,5 +116,7 @@ const onmousedown = () => {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-@import '../../styles/schedule/write.scss';
|
|
|
+.write-page-box{
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
</style>
|