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
a29457b8
authored
2020-12-10 17:31:07 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
批量户操作保存之后更新楼盘表数据
1 parent
5ca2f22f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/zrz/lpb/bjlp/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/lpb/bjlp/index.vue
View file @
a29457b
...
...
@@ -561,6 +561,7 @@ export default {
});
}
else
{
//单击 TO DO
this
.
bsms
=
data
;
}
},
//获取选中层bsmlist
...
...
@@ -587,9 +588,9 @@ export default {
},
//调用楼盘表信息查询接口
getlpbData
()
{
this
.
$refs
.
lpbContent
.
getLpb
(
this
.
$store
.
state
.
zrzbsm
);
this
.
$refs
.
lpbContent
.
loadingData
(
this
.
$store
.
state
.
zrzbsm
,
this
.
scyclx
);
//改变楼盘表子组件的key值,重新渲染
this
.
time
=
new
Date
().
getTime
();
//
this.time = new Date().getTime();
},
//实预测装换
plScYcChange
()
{
...
...
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
a29457b
...
...
@@ -294,7 +294,7 @@
@
close=
"moveHClose"
:move-hvisible=
"moveHvisible"
:type=
"scyclx"
@
loading=
"loadingData"
@
loading=
"loadingData
($store.state.zrzbsm,$parent.scyclx)
"
></move-h>
</div>
</template>
...
...
@@ -363,11 +363,11 @@ export default {
},
200
);
},
methods
:
{
loadingData
()
{
this
.
getLpb
(
this
.
$store
.
state
.
zrzbsm
,
this
.
$parent
.
scyclx
);
loadingData
(
zrzbsm
,
scyclx
)
{
this
.
getLpb
(
zrzbsm
,
scyclx
,
true
);
},
//获取楼盘表数据
getLpb
(
zrzbsm
,
scyclx
)
{
getLpb
(
zrzbsm
,
scyclx
,
actual
)
{
getLpb
(
zrzbsm
,
scyclx
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
loading
=
false
;
...
...
@@ -382,6 +382,9 @@ export default {
}
else
{
this
.
sclpbData
=
res
.
result
==
null
?
this
.
sclpbData
:
res
.
result
;
}
if
(
actual
){
this
.
lpbData
=
res
.
result
==
null
?
this
.
yclpbData
:
res
.
result
;
}
this
.
$nextTick
(()
=>
{
//渲染楼盘表
this
.
dataChange
();
...
...
Please
register
or
sign in
to post a comment