|
@@ -55,7 +55,11 @@
|
|
|
<el-col :span="6"> 合同数量:{{ orderInfo.contractNum }} </el-col>
|
|
<el-col :span="6"> 合同数量:{{ orderInfo.contractNum }} </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</div> -->
|
|
</div> -->
|
|
|
- <div v-show="leftShow" :style="{ width: leftWidth }">
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="left_tree"
|
|
|
|
|
+ v-show="leftShow"
|
|
|
|
|
+ :style="{ width: leftWidth }"
|
|
|
|
|
+ >
|
|
|
<el-tree
|
|
<el-tree
|
|
|
ref="treeRef"
|
|
ref="treeRef"
|
|
|
:expand-on-click-node="false"
|
|
:expand-on-click-node="false"
|
|
@@ -393,7 +397,7 @@
|
|
|
leftShow(newVal, oldVal) {
|
|
leftShow(newVal, oldVal) {
|
|
|
if (newVal) {
|
|
if (newVal) {
|
|
|
this.leftWidth = '250px';
|
|
this.leftWidth = '250px';
|
|
|
- this.rightWidth = 'calc(100% - 250px)';
|
|
|
|
|
|
|
+ this.rightWidth = 'calc(100% - 260px)';
|
|
|
} else {
|
|
} else {
|
|
|
this.leftWidth = '0';
|
|
this.leftWidth = '0';
|
|
|
this.rightWidth = '100%';
|
|
this.rightWidth = '100%';
|
|
@@ -617,4 +621,13 @@
|
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .left_tree {
|
|
|
|
|
+ width: 250px;
|
|
|
|
|
+ max-height: 600px;
|
|
|
|
|
+ min-height: 300px;
|
|
|
|
|
+ overflow: auto;
|
|
|
|
|
+ border: 1px solid #ccc;
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|