默认不加载历史回溯模块,获取画布区域宽度
Showing
2 changed files
with
7 additions
and
2 deletions
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | <el-tab-pane label="界址点" name="jzd"><jzd></jzd></el-tab-pane> | 6 | <el-tab-pane label="界址点" name="jzd"><jzd></jzd></el-tab-pane> |
7 | <el-tab-pane label="界址线" name="jzx"><jzx></jzx></el-tab-pane> | 7 | <el-tab-pane label="界址线" name="jzx"><jzx></jzx></el-tab-pane> |
8 | <el-tab-pane label="登记簿" name="djb"><djb></djb></el-tab-pane> | 8 | <el-tab-pane label="登记簿" name="djb"><djb></djb></el-tab-pane> |
9 | <el-tab-pane label="历史回溯" name="lshs"><lshs></lshs></el-tab-pane> | 9 | <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible"></lshs></el-tab-pane> |
10 | <el-tab-pane label="附件材料" name="fjcl"><fjcl></fjcl></el-tab-pane> | 10 | <el-tab-pane label="附件材料" name="fjcl"><fjcl></fjcl></el-tab-pane> |
11 | </el-tabs> | 11 | </el-tabs> |
12 | </div> | 12 | </div> |
... | @@ -29,11 +29,15 @@ export default { | ... | @@ -29,11 +29,15 @@ export default { |
29 | data() { | 29 | data() { |
30 | return { | 30 | return { |
31 | activeName: "djdcb", | 31 | activeName: "djdcb", |
32 | lshsVisible:false, | ||
32 | }; | 33 | }; |
33 | }, | 34 | }, |
34 | methods: { | 35 | methods: { |
35 | handleClick(tab, event) { | 36 | handleClick(tab, event) { |
36 | // console.log(tab, event); | 37 | // console.log(tab, event); |
38 | if (tab.name == 'lshs') { | ||
39 | this.lshsVisible = true; | ||
40 | } | ||
37 | }, | 41 | }, |
38 | }, | 42 | }, |
39 | created() {}, | 43 | created() {}, | ... | ... |
... | @@ -291,10 +291,11 @@ export default { | ... | @@ -291,10 +291,11 @@ export default { |
291 | 291 | ||
292 | .lshs-content{ | 292 | .lshs-content{ |
293 | width: 100%; | 293 | width: 100%; |
294 | height: 100%; | ||
294 | } | 295 | } |
295 | 296 | ||
296 | #mountNode{ | 297 | #mountNode{ |
297 | margin-left: 200px; | 298 | height: calc(100% - 68px); |
298 | } | 299 | } |
299 | 300 | ||
300 | .slot{ | 301 | .slot{ | ... | ... |
-
Please register or sign in to post a comment