59a60999 by 杨威

默认不加载历史回溯模块,获取画布区域宽度

1 parent f5913113
......@@ -6,7 +6,7 @@
<el-tab-pane label="界址点" name="jzd"><jzd></jzd></el-tab-pane>
<el-tab-pane label="界址线" name="jzx"><jzx></jzx></el-tab-pane>
<el-tab-pane label="登记簿" name="djb"><djb></djb></el-tab-pane>
<el-tab-pane label="历史回溯" name="lshs"><lshs></lshs></el-tab-pane>
<el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible"></lshs></el-tab-pane>
<el-tab-pane label="附件材料" name="fjcl"><fjcl></fjcl></el-tab-pane>
</el-tabs>
</div>
......@@ -29,11 +29,15 @@ export default {
data() {
return {
activeName: "djdcb",
lshsVisible:false,
};
},
methods: {
handleClick(tab, event) {
// console.log(tab, event);
if (tab.name == 'lshs') {
this.lshsVisible = true;
}
},
},
created() {},
......
......@@ -291,10 +291,11 @@ export default {
.lshs-content{
width: 100%;
height: 100%;
}
#mountNode{
margin-left: 200px;
height: calc(100% - 68px);
}
.slot{
......