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
2e330ad4
authored
2021-02-01 19:42:49 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表宽度调整
1 parent
343af95f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/views/zrz/index.vue
src/views/zrz/lpb/bjlp/index.vue
src/views/zrz/index.vue
View file @
2e330ad
<
template
>
<div
ref=
"lpb"
class=
"content_box"
>
<el-tabs
v-model=
"activeName"
class=
"tabs"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"自然幢信息"
name=
"zrzxx"
><zrzxx></zrzxx></el-tab-pane>
<el-tab-pane
label=
"业主共有"
name=
"yzgy"
><yzgy
v-if=
"yzgyLoad"
:is-disabled=
"isDisabled"
></yzgy></el-tab-pane>
...
...
@@ -10,6 +11,7 @@
<lcgz
ref=
"lcgz"
></lcgz>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
...
...
@@ -65,7 +67,9 @@ export default {
},
created
()
{},
mounted
()
{
// this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
// this.$nextTick(()=>{
this
.
$store
.
state
.
contentWidth
=
this
.
$refs
.
lpb
.
offsetWidth
-
44
;
// })
},
computed
:
{},
watch
:
{},
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
2e330ad
...
...
@@ -481,7 +481,6 @@ export default {
this
.
getDyztBsmList
();
//获取房屋用途统计数据
this
.
getLpbFwytAndQlxz
();
this
.
getLpbQsxtj
();
// 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6
setTimeout
(()
=>
{
this
.
lpbContentwidth
=
this
.
$store
.
state
.
contentWidth
-
34
-
6
;
...
...
@@ -642,7 +641,6 @@ export default {
//获取图例数据
this
.
getDyztBsmList
();
this
.
getLpbFwytAndQlxz
();
this
.
getLpbQsxtj
();
//重新渲染楼盘表
this
.
$refs
.
lpbContent
.
dataChange
();
},
...
...
@@ -768,7 +766,6 @@ export default {
this
.
$refs
.
lpbContent
.
loadingData
(
this
.
$store
.
state
.
zrzbsm
,
this
.
scyclx
);
this
.
getDyztBsmList
();
this
.
getLpbFwytAndQlxz
();
this
.
getLpbQsxtj
();
//改变楼盘表子组件的key值,重新渲染
// this.time = new Date().getTime();
},
...
...
Please
register
or
sign in
to post a comment