【修改bug】修改高度自适应
This commit is contained in:
@@ -49,3 +49,17 @@
|
|||||||
width: 160px !important;
|
width: 160px !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
/* 自定义滚动条的样式 */
|
||||||
|
.scroll-wrap {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-view::-webkit-scrollbar {
|
||||||
|
width: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-view::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
+486
-459
File diff suppressed because it is too large
Load Diff
@@ -45,6 +45,7 @@
|
|||||||
<el-col :span="4" class="treeList">
|
<el-col :span="4" class="treeList">
|
||||||
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
|
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
|
||||||
</el-input>
|
</el-input>
|
||||||
|
<el-scrollbar wrap-class="scroll-wrap" view-class="scroll-view">
|
||||||
<el-tree
|
<el-tree
|
||||||
class="filter-tree"
|
class="filter-tree"
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
@@ -64,6 +65,7 @@
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-tree>
|
</el-tree>
|
||||||
|
</el-scrollbar>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="19 ">
|
<el-col :span="19 ">
|
||||||
<div class="table">
|
<div class="table">
|
||||||
@@ -157,6 +159,7 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
<el-button type="primary" class="btn" @click="add">新增</el-button>
|
<el-button type="primary" class="btn" @click="add">新增</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
<el-scrollbar wrap-class="scroll-wrap" view-class="scroll-view">
|
||||||
<div class="tree">
|
<div class="tree">
|
||||||
<el-tree class="filter-tree" :data="treeData" default-expand-all :filter-node-method="filterNode" ref="tree">
|
<el-tree class="filter-tree" :data="treeData" default-expand-all :filter-node-method="filterNode" ref="tree">
|
||||||
<span class="custom-tree-node" slot-scope="{ node,data}">
|
<span class="custom-tree-node" slot-scope="{ node,data}">
|
||||||
@@ -171,6 +174,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</el-tree>
|
</el-tree>
|
||||||
</div>
|
</div>
|
||||||
|
</el-scrollbar>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<labelModalVue ref="labelModalVue" @updateList="updateList"></labelModalVue>
|
<labelModalVue ref="labelModalVue" @updateList="updateList"></labelModalVue>
|
||||||
<!--报告上传-->
|
<!--报告上传-->
|
||||||
@@ -946,15 +950,14 @@ export default {
|
|||||||
.filter-tree{
|
.filter-tree{
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
height: calc(100vh - 320px);
|
height: calc(100vh - 320px);
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.tree{
|
.tree{
|
||||||
height: 500px;
|
height: 400px;
|
||||||
overflow: auto;
|
margin: 20px 0;
|
||||||
.filter-tree{
|
.filter-tree{
|
||||||
margin-top: 20px;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -207,5 +207,8 @@ export default {
|
|||||||
line-height: 40px !important;
|
line-height: 40px !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-popper .el-cascader-menu .el-cascader-node__label{
|
||||||
|
width: 160px !important;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -201,13 +201,17 @@ export default {
|
|||||||
// }
|
// }
|
||||||
this.handleReset()
|
this.handleReset()
|
||||||
}
|
}
|
||||||
if (this.$store.getters.handleProcess.taskDefinitionKey == 'aid4') {
|
// 如果是从草稿进入的
|
||||||
|
// if (this.$route.query.isDraft) {
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
if (this.$store.getters.handleProcess.taskDefinitionKey == 'aid4' || this.$route.query.isDraft) {
|
||||||
this.taskId = this.$store.getters.handleProcess.taskId
|
this.taskId = this.$store.getters.handleProcess.taskId
|
||||||
this.prcNum = this.$store.getters.handleProcess.prcNum
|
this.prcNum = this.$store.getters.handleProcess.prcNum
|
||||||
this.prcId = this.$store.getters.handleProcess.prcId
|
this.prcId = this.$store.getters.handleProcess.prcId
|
||||||
this.prcName = this.$store.getters.handleProcess.prcName
|
this.prcName = this.$store.getters.handleProcess.prcName
|
||||||
this.initShow = true
|
this.initShow = true
|
||||||
this.formControlname = true
|
// this.formControlname = true
|
||||||
|
|
||||||
this.getProcessDetail().then(res => {
|
this.getProcessDetail().then(res => {
|
||||||
//基础信息
|
//基础信息
|
||||||
|
|||||||
Reference in New Issue
Block a user