Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e67e004c
authored
2020-12-17 10:11:07 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表逻辑幢下没有幢单元且有独立层户时的宽度
1 parent
427538c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
e67e004
...
...
@@ -197,6 +197,7 @@
<!--
<template
>
-->
<div
class=
"zdy column-reverse"
ref=
"zrzDlch"
:style=
"
{ 'min-height': cHeight + 'px' }"
>
<table
...
...
@@ -466,6 +467,7 @@ export default {
},
//自然幢下元素高度宽度计算
dataChange
()
{
debugger
//计算逻辑幢宽度 20为marginRight值
this
.
ljzWidth
=
20
;
if
(
this
.
$refs
.
ljzzdy
!=
undefined
)
{
...
...
@@ -506,10 +508,8 @@ export default {
}
}
else
{
//有且仅有独立层户
if
(
this
.
$refs
.
hBsm
!=
undefined
)
{
this
.
$refs
.
hBsm
.
forEach
((
item
)
=>
{
this
.
zdyWidth
+=
item
.
offsetWidth
+
21
;
});
if
(
this
.
$refs
.
zrzDlch
!=
undefined
)
{
this
.
zdyWidth
=
this
.
$refs
.
zrzDlch
.
offsetWidth
+
20
;
}
}
...
...
@@ -544,7 +544,7 @@ export default {
});
}
}
else
{
// this.zdyWidth = 124;
}
},
//户单击事件
...
...
Please
register
or
sign in
to post a comment