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
427538c4
authored
2020-12-17 10:02:08 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表下没有幢单元只有独立层户的逻辑幢宽度计算
1 parent
3d827e8c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
427538c
...
...
@@ -84,6 +84,7 @@
<!-- 循环逻辑幢下的层户 -->
<div
class=
"ljz-ch"
ref=
"ljzDlch"
:style=
"
{ height: 'auto' }"
v-if="ljzs.cs.length > 0"
>
...
...
@@ -472,6 +473,11 @@ export default {
this
.
ljzWidth
+=
item
.
offsetWidth
+
20
;
});
}
else
{
if
(
this
.
$refs
.
ljzDlch
!=
undefined
)
{
this
.
$refs
.
ljzDlch
.
forEach
((
item
)
=>
{
this
.
ljzWidth
+=
item
.
offsetWidth
+
20
;
});
}
}
//计算独立幢单元和独立层户宽度
//考虑this.$refs.zdy的length为0的情况,即自然幢下没有独立幢单元
...
...
Please
register
or
sign in
to post a comment