This commit is contained in:
yanran200730
2022-01-25 17:35:53 +08:00
parent 99b451ac8e
commit e7b02865fc
2 changed files with 12 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
<script>
import RenderElement from '../designer/components/RenderElement'
// import AppGridDV from '../../../project/dv/apps/AppGridDV'
// import AppGridDV from '../../../project/dv/apps/AppGridDV'
export default {
name: 'AppGigscreenViewer',

View File

@@ -17,7 +17,7 @@
</el-tree>
</div>
</div>
<div class="middle" ref="container" v-loading="isLoading" element-loading-background="rgba(0, 0, 0, 0.5)">
<div class="middle" :class="[girdLevel === '2' ? 'middle-active' : '']" ref="container" v-loading="isLoading" element-loading-background="rgba(0, 0, 0, 0.5)">
<div
ref="middleTree"
id="tree"
@@ -293,7 +293,7 @@
display: v.girdLevel === '2' ? 'block' : 'none',
fontSize: v.girdLevel === '2' ? '12px' : ''
}
}, v.checkType ? (v.girdLevel === '2' ? '网格员' : '网格长') :'-')])
}, v.checkType ? (v.checkType === '1' ? '网格员' : '网格长') :'-')])
})), h('div', {
style: {
display: node.data.label === '子节点' ? 'none' : 'block',
@@ -796,6 +796,15 @@
// max-width: 500px;
}
}
&.middle-active {
::v-deep .org-chart-container {
.org-chart-node {
// max-width: 500px;
float:initial;
}
}
}
}
.left {